Merge tag 'dt-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc
[cascardo/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 #ifdef BP_VENDOR_SUPPORT
32 char *bp_desc_array[] = { "e1000bp", "e1000bpe", "slcm5700",
33                         "bnx2xbp", "ixgbp", "ixgbpe", NULL };
34 #endif
35
36 #endif