Re: Can't recognize Adaptec APA-1480 with 2.4.0-test1-ac4

From: Keith Owens (kaos@ocs.com.au)
Date: Thu Jun 01 2000 - 05:13:02 EST


On Wed, 31 May 2000 18:16:42 -0400,
Jeff Garzik <jgarzik@mandrakesoft.com> wrote:
>David Hinds wrote:
>>
>> On Wed, May 31, 2000 at 06:28:12PM -0700, Michael D. Crawford wrote:
>>
>> > May 31 18:14:56 kingofswing cardmgr[50]: no product info available
>>
>> This is the key, I think. I think the problem is that the 2.3 hot
>> plug PCI code does not enable the PCI expansion ROM... but the PCMCIA
>> drivers want to use this to identify the card.
>
>hmmm. I remember this being discussed, but I thought Martin fixed
>this. Xircom cards need the expansion ROM mapped during init and then
>unmapped, and Martin was talking about a fix for that.

I have sent this patch a couple of times with no response. Against
2.4.0-test1-ac7.

Index: 0-test1-ac7.1/arch/i386/kernel/pci-i386.c
--- 0-test1-ac7.1/arch/i386/kernel/pci-i386.c Fri, 26 May 2000 13:10:01 +1000 kaos (linux-2.4/z/c/28_pci-i386.c 1.1 644)
+++ 0-test1-ac7.1(w)/arch/i386/kernel/pci-i386.c Thu, 01 Jun 2000 20:11:35 +1000 kaos (linux-2.4/z/c/28_pci-i386.c 1.1 644)
@@ -106,6 +106,7 @@
                 reg = PCI_BASE_ADDRESS_0 + 4*resource;
         } else if (resource == PCI_ROM_RESOURCE) {
                 res->flags |= PCI_ROM_ADDRESS_ENABLE;
+ new |= PCI_ROM_ADDRESS_ENABLE;
                 reg = dev->rom_base_reg;
         } else {
                 /* Somebody might have asked allocation of a non-standard resource */

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Jun 07 2000 - 21:00:12 EST