Selaa lähdekoodia

[fdomain] Add pci dev table for module auto loading.

Signed-off-by: Ben Collins <bcollins@ubuntu.com>
Ben Collins 18 vuotta sitten
vanhempi
commit
3985b97744
1 muutettua tiedostoa jossa 9 lisäystä ja 0 poistoa
  1. 9 0
      drivers/scsi/fdomain.c

+ 9 - 0
drivers/scsi/fdomain.c

@@ -1736,6 +1736,15 @@ struct scsi_host_template fdomain_driver_template = {
 };
 
 #ifndef PCMCIA
+
+static struct pci_device_id fdomain_pci_tbl[] __devinitdata = {
+	{ PCI_VENDOR_ID_FD, PCI_DEVICE_ID_FD_36C70,
+	  PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0UL },
+	{ }
+};
+MODULE_DEVICE_TABLE(pci, fdomain_pci_tbl);
+
 #define driver_template fdomain_driver_template
 #include "scsi_module.c"
+
 #endif