From: christophe barbe <christophe.barbe@online.fr>
To: linux-hotplug@vger.kernel.org
Subject: Re: Adaptec SlimSCSI 1480A
Date: Thu, 11 Oct 2001 19:55:49 +0000 [thread overview]
Message-ID: <marc-linux-hotplug-100283019711186@msgid-missing> (raw)
In-Reply-To: <marc-linux-hotplug-100274739225720@msgid-missing>
[-- Attachment #1: Type: text/plain, Size: 1709 bytes --]
I've tried your modifications with the 2.4.12 upgrade.
I've applied the attached patch.
The pcimaps file still doesn't include any reference to the aic7xxx modules
even if the module is there.
It works if I modprobe it.
What's the best tool to debug hotplug stuff (or my brain)?
Thank you,
Christophe
Le 2001.10.11 02:00:30 +0200, Greg KH a écrit :
> On Wed, Oct 10, 2001 at 11:28:22PM +0200, christophe barbe wrote:
> > After further investigation, it appears that :
> >
> > . My card is sometimes detected.
> > it looks like a mechanical problem. After 20 insertion, the
> card is
> > finally datected and I see:
> > cs: cb_alloc(bus 20): vendor 0x9004, device 0x6075
> > PCI: Enabling device 14:00.0 (0000 -> 0003)
> >
> > . The driver is not loaded automatically.
> > If I understand correctly it is because the aic7xxx is not define in
> the
> > /lib/modules/2.4.11/modules.pcimaps file.
> >
> > Why AIC7xxx is not define in modules.pcimaps ?
>
> Because the author of that driver has not included the proper chunk of
> code in the driver. Could you add the line:
>
> MODULE_DEVICE_TABLE(pci, ahc_linux_pci_id_table);
>
> at the end of aic7xxx_linux_pci.c, rebuild everything, reinstall the
> modules, and then see if the autoloading stuff works?
>
> thanks,
>
> greg k-h
>
> _______________________________________________
> Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
> Linux-hotplug-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
>
--
Christophe Barbé <christophe.barbe@online.fr>
GnuPG FingerPrint: E0F6 FADF 2A5C F072 6AF8 F67A 8F45 2F1E D72C B41E
[-- Attachment #2: aic7xxx-k2412.patch --]
[-- Type: text/x-patch, Size: 348 bytes --]
--- linux-2.4.11/drivers/scsi/aic7xxx/aic7xxx_linux_pci.c Mon Sep 24 20:30:34 2001
+++ linux-2.4.12/drivers/scsi/aic7xxx/aic7xxx_linux_pci.c Thu Oct 11 19:41:45 2001
@@ -57,6 +57,8 @@
{ 0 }
};
+MODULE_DEVICE_TABLE(pci, ahc_linux_pci_id_table);
+
struct pci_driver aic7xxx_pci_driver = {
name: "aic7xxx",
probe: ahc_linux_pci_dev_probe,
next prev parent reply other threads:[~2001-10-11 19:55 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-10-10 20:55 Adaptec SlimSCSI 1480A christophe barbe
2001-10-10 21:28 ` christophe barbe
2001-10-11 0:00 ` Greg KH
2001-10-11 6:31 ` David Brownell
2001-10-11 19:55 ` christophe barbe [this message]
2001-10-11 21:32 ` Greg KH
2001-10-12 6:15 ` christophe barbe
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=marc-linux-hotplug-100283019711186@msgid-missing \
--to=christophe.barbe@online.fr \
--cc=linux-hotplug@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;
as well as URLs for NNTP newsgroup(s).