public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: christophe barbe <christophe.barbe.ml@online.fr>
To: linux-kernel@vger.kernel.org
Cc: gibbs@plutotech.com
Subject: [PATCH] export pci_table in aic7xxx for Hotplug
Date: Mon, 15 Oct 2001 19:59:34 +0200	[thread overview]
Message-ID: <20011015195934.C2665@turing> (raw)

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

             reply	other threads:[~2001-10-15 17:59 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-10-15 17:59 christophe barbe [this message]
2001-10-15 19:02 ` [PATCH] export pci_table in aic7xxx for Hotplug 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20011015195934.C2665@turing \
    --to=christophe.barbe.ml@online.fr \
    --cc=gibbs@plutotech.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox