device_cfg.h 1.8 KB

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