1 // SPDX-License-Identifier: GPL-2.0+
2 /*
3  * Copyright (c) 1996, 2003 VIA Networking Technologies, Inc.
4  * All rights reserved.
5  *
6  * File: device_cfg.h
7  *
8  * Purpose: Driver configuration header
9  * Author: Lyndon Chen
10  *
11  * Date: Dec 17, 2002
12  *
13  */
14 #ifndef __DEVICE_CONFIG_H
15 #define __DEVICE_CONFIG_H
16 
17 #include <linux/types.h>
18 
19 typedef
20 struct _version {
21 	unsigned char   major;
22 	unsigned char   minor;
23 	unsigned char   build;
24 } version_t, *pversion_t;
25 
26 #define VID_TABLE_SIZE      64
27 #define MCAST_TABLE_SIZE    64
28 #define MCAM_SIZE           32
29 #define VCAM_SIZE           32
30 #define TX_QUEUE_NO         8
31 
32 #define DEVICE_NAME         "vt6655"
33 #define DEVICE_FULL_DRV_NAM "VIA Networking Solomon-A/B/G Wireless LAN Adapter Driver"
34 
35 #ifndef MAJOR_VERSION
36 #define MAJOR_VERSION       1
37 #endif
38 
39 #ifndef MINOR_VERSION
40 #define MINOR_VERSION       17
41 #endif
42 
43 #ifndef DEVICE_VERSION
44 #define DEVICE_VERSION       "1.19.12"
45 #endif
46 
47 #include <linux/fs.h>
48 #include <linux/fcntl.h>
49 #ifndef CONFIG_PATH
50 #define CONFIG_PATH            "/etc/vntconfiguration.dat"
51 #endif
52 
53 #define PKT_BUF_SZ          2390
54 
55 typedef enum  _chip_type {
56 	VT3253 = 1
57 } CHIP_TYPE, *PCHIP_TYPE;
58 
59 #endif
60