Re: PCI/cardbus resources (was Re: xircom_tulip_cb ...)

From: Alessandro Suardi (asuardi@uninetcom.it)
Date: Mon May 15 2000 - 17:44:22 EDT

  • Next message: Dan Hollis: "2.2 -> 2.3/2.4 changes?"

    Jan Kasprzak wrote:
    >
    > Keith Owens wrote:
    > : Try this patch to enable the expansion ROM. Against 2.3.99-pre8. I would like
    > : to see the dump_cis output after this patch.
    > :
    > : Index: 99-pre8.1/arch/i386/kernel/pci-i386.c
    > : - --- 99-pre8.1/arch/i386/kernel/pci-i386.c Fri, 05 May 2000 01:41:17 +1000 kaos (linux-2.3/h/c/14_pci-i386.c 1.7.1.5 644)
    > : +++ 99-pre8.1(w)/arch/i386/kernel/pci-i386.c Sat, 13 May 2000 22:01:42 +1000 kaos (linux-2.3/h/c/14_pci-i386.c 1.7.1.5 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 */
    > :
    > This works for me (Compaq armada M700, Xircom RBEM56G-100). I vote
    > for this patch to be applied to the mainstream kernel.

    Good, will try it myself tomorrow :)

    > Howewer, I haven't been able to make the modem part of this
    > card working under 2.3 (2.2 works fine). The problem seems to be that
    > the PCI allocation resource code fails to allocate the I/O ports resource
    > for the modem part. It seems it tries to allocate the I/O ports from
    > wrong resource root.

    [snip]

    > Has anybody got both the ethernet and the modem part of the
    > Xircom RBEM56G-100 card working under 2.3.99 kernels?

    Actually I don't recall being able to use the modem since 2.3.37 -- well for
     sure my last RBEM56G-100-CardBusmodem-working kernel was 2.3.35.

    --alessandro <asuardi@it.oracle.com> <asuardi@uninetcom.it>

    Linux: kernel 2.2.15/2.3.99-pre8 glibc-2.1.3-15 gcc-2.95.2 binutils-2.9.5.0.42
    Oracle: Oracle8i 8.1.6.1.0 Enterprise Edition for Linux

    -
    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 : Mon May 15 2000 - 18:22:06 EDT