mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 11:46:19 +00:00
[ixj] Add pci dev table for module auto loading.
Signed-off-by: Ben Collins <bcollins@ubuntu.com>
This commit is contained in:
parent
0128873278
commit
d77f09e51f
1 changed files with 10 additions and 1 deletions
|
@ -284,6 +284,14 @@ static int samplerate = 100;
|
||||||
|
|
||||||
module_param(ixjdebug, int, 0);
|
module_param(ixjdebug, int, 0);
|
||||||
|
|
||||||
|
static struct pci_device_id ixj_pci_tbl[] __devinitdata = {
|
||||||
|
{ PCI_VENDOR_ID_QUICKNET, PCI_DEVICE_ID_QUICKNET_XJ,
|
||||||
|
PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0},
|
||||||
|
{ }
|
||||||
|
};
|
||||||
|
|
||||||
|
MODULE_DEVICE_TABLE(pci, ixj_pci_tbl);
|
||||||
|
|
||||||
/************************************************************************
|
/************************************************************************
|
||||||
*
|
*
|
||||||
* ixjdebug meanings are now bit mapped instead of level based
|
* ixjdebug meanings are now bit mapped instead of level based
|
||||||
|
@ -7683,7 +7691,8 @@ static int __init ixj_probe_pci(int *cnt)
|
||||||
IXJ *j = NULL;
|
IXJ *j = NULL;
|
||||||
|
|
||||||
for (i = 0; i < IXJMAX - *cnt; i++) {
|
for (i = 0; i < IXJMAX - *cnt; i++) {
|
||||||
pci = pci_find_device(0x15E2, 0x0500, pci);
|
pci = pci_find_device(PCI_VENDOR_ID_QUICKNET,
|
||||||
|
PCI_DEVICE_ID_QUICKNET_XJ, pci);
|
||||||
if (!pci)
|
if (!pci)
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue