public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] export pci_table in aic7xxx for Hotplug
@ 2001-10-15 17:59 christophe barbe
  2001-10-15 19:02 ` Justin T. Gibbs
  0 siblings, 1 reply; 11+ messages in thread
From: christophe barbe @ 2001-10-15 17:59 UTC (permalink / raw)
  To: linux-kernel; +Cc: gibbs

[-- Attachment #1: Type: text/plain, Size: 337 bytes --]

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

[-- Attachment #2: aic7xxx-k2412-bis.patch --]
[-- Type: text/x-patch, Size: 478 bytes --]

--- 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",

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2001-10-16 21:19 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-10-15 17:59 [PATCH] export pci_table in aic7xxx for Hotplug christophe barbe
2001-10-15 19:02 ` Justin T. Gibbs
2001-10-15 20:23   ` christophe barbe
2001-10-15 20:31     ` Justin T. Gibbs
2001-10-15 20:45       ` christophe barbe
2001-10-16  4:41       ` Keith Owens
2001-10-16 16:17       ` christophe barbe
2001-10-16 20:16         ` christophe barbé
2001-10-16 20:50           ` christophe barbé
2001-10-16 20:59             ` christophe barbe
2001-10-16 21:18             ` Justin T. Gibbs

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox