Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 184012
b: refs/heads/master
c: e254f6e
h: refs/heads/master
v: v3
  • Loading branch information
Ajit Khaparde authored and David S. Miller committed Feb 12, 2010
1 parent b179b70 commit d867064
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 830a8a976ff2236ebc383e9a06f7872ed9243bfb
refs/heads/master: e254f6ecaeb4e7c0588e739bf4641df0e8c22bba
6 changes: 2 additions & 4 deletions trunk/drivers/net/benet/be.h
Original file line number Diff line number Diff line change
Expand Up @@ -44,16 +44,14 @@
#define BE_DEVICE_ID1 0x211
#define BE_DEVICE_ID2 0x221
#define OC_DEVICE_ID1 0x700
#define OC_DEVICE_ID2 0x701
#define OC_DEVICE_ID3 0x710
#define OC_DEVICE_ID2 0x710

static inline char *nic_name(struct pci_dev *pdev)
{
switch (pdev->device) {
case OC_DEVICE_ID1:
case OC_DEVICE_ID2:
return OC_NAME;
case OC_DEVICE_ID3:
case OC_DEVICE_ID2:
return OC_NAME1;
case BE_DEVICE_ID2:
return BE3_NAME;
Expand Down
1 change: 0 additions & 1 deletion trunk/drivers/net/benet/be_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ static DEFINE_PCI_DEVICE_TABLE(be_dev_ids) = {
{ PCI_DEVICE(BE_VENDOR_ID, BE_DEVICE_ID2) },
{ PCI_DEVICE(BE_VENDOR_ID, OC_DEVICE_ID1) },
{ PCI_DEVICE(BE_VENDOR_ID, OC_DEVICE_ID2) },
{ PCI_DEVICE(BE_VENDOR_ID, OC_DEVICE_ID3) },
{ 0 }
};
MODULE_DEVICE_TABLE(pci, be_dev_ids);
Expand Down

0 comments on commit d867064

Please sign in to comment.