Messages in this thread Patch in this message | | | Date | Mon, 15 Oct 2001 19:59:34 +0200 | From | christophe barbe <> | Subject | [PATCH] export pci_table in aic7xxx for Hotplug |
| |
Attached to this mail is a patch (against 2.4.12) that export the PCI table for the hotplug code (via modules.pcimaps).
I use it succesfully with my Adaptec APA1480A cardbus and the hotplug code.
Christophe Barbé
-- Christophe Barbé <christophe.barbe@online.fr> GnuPG FingerPrint: E0F6 FADF 2A5C F072 6AF8 F67A 8F45 2F1E D72C B41E --- linux/drivers/scsi/aic7xxx/aic7xxx_linux_pci.c Mon Sep 24 20:30:34 2001 +++ linux/drivers/scsi/aic7xxx/aic7xxx_linux_pci.c Fri Oct 12 19:34:05 2001 @@ -33,6 +33,9 @@ #include "aic7xxx_osm.h" +#define __NO_VERSION__ +#include <linux/module.h> + #if LINUX_VERSION_CODE < KERNEL_VERSION(2,4,0) struct pci_device_id { @@ -56,6 +59,8 @@ }, { 0 } }; + +MODULE_DEVICE_TABLE(pci, ahc_linux_pci_id_table); struct pci_driver aic7xxx_pci_driver = { name: "aic7xxx", | |