f88db4ac1031c5bab0e0d965141246b060f1c3c6
[deliverable/linux.git] / drivers / staging / silicom / bypasslib / bplibk.h
1 /******************************************************************************/
2 /* */
3 /* bypass library, Copyright (c) 2004 Silicom, Ltd */
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, located in the file LICENSE. */
8 /* */
9 /* */
10 /* bplib.h */
11 /* */
12 /******************************************************************************/
13 #ifndef BYPASS_H
14 #define BYPASS_H
15
16 #include "bp_ioctl.h"
17 #include "libbp_sd.h"
18
19 #define IF_NAME "eth"
20 #define SILICOM_VID 0x1374
21 #define SILICOM_BP_PID_MIN 0x24
22 #define SILICOM_BP_PID_MAX 0x5f
23 #define INTEL_PEG4BPII_PID 0x10a0
24 #define INTEL_PEG4BPFII_PID 0x10a1
25
26 #define PEGII_IF_SERIES(vid, pid) \
27 ((vid == 0x8086) && \
28 ((pid == INTEL_PEG4BPII_PID) || \
29 (pid == INTEL_PEG4BPFII_PID)))
30
31 #define EXPORT_SYMBOL_NOVERS EXPORT_SYMBOL
32
33 #ifdef BP_VENDOR_SUPPORT
34 char *bp_desc_array[] =
35 { "e1000bp", "e1000bpe", "slcm5700", "bnx2xbp", "ixgbp", "ixgbpe", NULL };
36 #endif
37
38 #endif
This page took 0.039768 seconds and 4 git commands to generate.