aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/silicom/bypasslib/bplibk.h
blob: c5c75c4fe055bf87f44875e1fcd36d0ee6e525ac (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
/******************************************************************************/
/*                                                                            */
/* bypass library, Copyright (c) 2004 Silicom, Ltd                            */
/*                                                                            */
/* This program is free software; you can redistribute it and/or modify       */
/* it under the terms of the GNU General Public License as published by       */
/* the Free Software Foundation, located in the file LICENSE.                 */
/*                                                                            */
/*                                                                            */
/* bplib.h                                                                    */
/*                                                                            */
/******************************************************************************/
#ifndef BYPASS_H
#define BYPASS_H

#include "bp_ioctl.h"
#include "libbp_sd.h"

#define IF_NAME            "eth"
#define SILICOM_VID        0x1374
#define SILICOM_BP_PID_MIN 0x24
#define SILICOM_BP_PID_MAX 0x5f
#define INTEL_PEG4BPII_PID  0x10a0
#define INTEL_PEG4BPFII_PID 0x10a1

#define PEGII_IF_SERIES(vid, pid) \
	((vid == 0x8086) && \
	 ((pid == INTEL_PEG4BPII_PID) ||   \
	  (pid == INTEL_PEG4BPFII_PID)))

#ifdef BP_VENDOR_SUPPORT
char *bp_desc_array[] = { "e1000bp", "e1000bpe", "slcm5700",
			"bnx2xbp", "ixgbp", "ixgbpe", NULL };
#endif

#endif