]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blame - drivers/staging/vt6655/device_cfg.h
Merge branch 'overlayfs-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mszer...
[mirror_ubuntu-artful-kernel.git] / drivers / staging / vt6655 / device_cfg.h
CommitLineData
1cb648b3 1/*
612822f5
JL
2 * Copyright (c) 1996, 2003 VIA Networking Technologies, Inc.
3 * All rights reserved.
1cb648b3
FB
4 *
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.
9 *
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.
14 *
1cb648b3
FB
15 * File: device_cfg.h
16 *
17 * Purpose: Driver configuration header
18 * Author: Lyndon Chen
19 *
20 * Date: Dec 17, 2002
21 *
22 */
23#ifndef __DEVICE_CONFIG_H
24#define __DEVICE_CONFIG_H
25
1cb648b3
FB
26#include <linux/types.h>
27
1cb648b3
FB
28typedef
29struct _version {
74533af4
JP
30 unsigned char major;
31 unsigned char minor;
32 unsigned char build;
1cb648b3
FB
33} version_t, *pversion_t;
34
1cb648b3
FB
35#define VID_TABLE_SIZE 64
36#define MCAST_TABLE_SIZE 64
37#define MCAM_SIZE 32
38#define VCAM_SIZE 32
39#define TX_QUEUE_NO 8
40
e2ce5277 41#define DEVICE_NAME "vt6655"
1cb648b3
FB
42#define DEVICE_FULL_DRV_NAM "VIA Networking Solomon-A/B/G Wireless LAN Adapter Driver"
43
44#ifndef MAJOR_VERSION
45#define MAJOR_VERSION 1
46#endif
47
48#ifndef MINOR_VERSION
49#define MINOR_VERSION 17
50#endif
51
52#ifndef DEVICE_VERSION
53#define DEVICE_VERSION "1.19.12"
54#endif
612822f5 55
1cb648b3
FB
56#include <linux/fs.h>
57#include <linux/fcntl.h>
58#ifndef CONFIG_PATH
59#define CONFIG_PATH "/etc/vntconfiguration.dat"
60#endif
61
1cb648b3
FB
62#define PKT_BUF_SZ 2390
63
74533af4
JP
64typedef enum _chip_type {
65 VT3253 = 1
1cb648b3
FB
66} CHIP_TYPE, *PCHIP_TYPE;
67
1cb648b3 68#endif