2 * Copyright (c) 1996, 2003 VIA Networking Technologies, Inc.
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or
8 * (at your option) any later version.
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
15 * You should have received a copy of the GNU General Public License along
16 * with this program; if not, write to the Free Software Foundation, Inc.,
17 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
21 * Purpose: Driver configuration header
27 #ifndef __DEVICE_CONFIG_H
28 #define __DEVICE_CONFIG_H
30 #include <linux/types.h>
37 } version_t, *pversion_t;
39 #define VID_TABLE_SIZE 64
40 #define MCAST_TABLE_SIZE 64
45 #define DEVICE_NAME "vt6655"
46 #define DEVICE_FULL_DRV_NAM "VIA Networking Solomon-A/B/G Wireless LAN Adapter Driver"
49 #define MAJOR_VERSION 1
53 #define MINOR_VERSION 17
56 #ifndef DEVICE_VERSION
57 #define DEVICE_VERSION "1.19.12"
61 #include <linux/fcntl.h>
63 #define CONFIG_PATH "/etc/vntconfiguration.dat"
66 #define PKT_BUF_SZ 2390
68 typedef enum _chip_type {
70 } CHIP_TYPE, *PCHIP_TYPE;
76 pr_err("assertion %s failed: file %s line %d\n", \
77 #x, __func__, __LINE__); \
81 #define DBG_PORT80(value) outb(value, 0x80)
84 #define DBG_PORT80(value)