Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 59167
b: refs/heads/master
c: 1d0ed38
h: refs/heads/master
i:
  59165: 6501124
  59163: 1679cc3
  59159: 5874469
  59151: 70c8642
  59135: be5a00a
v: v3
  • Loading branch information
Jiri Slaby authored and Greg Kroah-Hartman committed Jul 11, 2007
1 parent 4cc9a4f commit de7f806
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 13 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: 44c10138fd4bbc4b6d6bff0873c24902f2a9da65
refs/heads/master: 1d0ed384c1f2582b6f7408642c77a78a0c410122
14 changes: 4 additions & 10 deletions trunk/drivers/atm/lanai.c
Original file line number Diff line number Diff line change
Expand Up @@ -246,8 +246,8 @@ struct lanai_vcc {
};

enum lanai_type {
lanai2 = PCI_VENDOR_ID_EF_ATM_LANAI2,
lanaihb = PCI_VENDOR_ID_EF_ATM_LANAIHB
lanai2 = PCI_DEVICE_ID_EF_ATM_LANAI2,
lanaihb = PCI_DEVICE_ID_EF_ATM_LANAIHB
};

struct lanai_dev_stats {
Expand Down Expand Up @@ -2622,14 +2622,8 @@ static int __devinit lanai_init_one(struct pci_dev *pci,
}

static struct pci_device_id lanai_pci_tbl[] = {
{
PCI_VENDOR_ID_EF, PCI_VENDOR_ID_EF_ATM_LANAI2,
PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0
},
{
PCI_VENDOR_ID_EF, PCI_VENDOR_ID_EF_ATM_LANAIHB,
PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0
},
{ PCI_VDEVICE(EF, PCI_DEVICE_ID_EF_ATM_LANAI2) },
{ PCI_VDEVICE(EF, PCI_DEVICE_ID_EF_ATM_LANAIHB) },
{ 0, } /* terminal entry */
};
MODULE_DEVICE_TABLE(pci, lanai_pci_tbl);
Expand Down
4 changes: 2 additions & 2 deletions trunk/include/linux/pci_ids.h
Original file line number Diff line number Diff line change
Expand Up @@ -1383,8 +1383,8 @@
#define PCI_VENDOR_ID_EF 0x111a
#define PCI_DEVICE_ID_EF_ATM_FPGA 0x0000
#define PCI_DEVICE_ID_EF_ATM_ASIC 0x0002
#define PCI_VENDOR_ID_EF_ATM_LANAI2 0x0003
#define PCI_VENDOR_ID_EF_ATM_LANAIHB 0x0005
#define PCI_DEVICE_ID_EF_ATM_LANAI2 0x0003
#define PCI_DEVICE_ID_EF_ATM_LANAIHB 0x0005

#define PCI_VENDOR_ID_IDT 0x111d
#define PCI_DEVICE_ID_IDT_IDT77201 0x0001
Expand Down

0 comments on commit de7f806

Please sign in to comment.