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

From: Jan Kasprzak (kas@informatics.muni.cz)
Date: Tue May 16 2000 - 06:36:09 EST


Linus Torvalds wrote:
: Ok, this is due to a rather buggy pcibios_align_resource() in
: arch/i386/kernel/pci-i386.c. It refuses to allocate any IO ports at
: anything but 1024-byte aligned addresses, which makes it quite hard
: (read: impossible) to sanely sub-divide the IO window that we have
: allocated for CardBus cards..
:
: Can you try to replace the current one with this one instead, and see if
: it works for you?
:
        Works, thank you. This is the first time I have fully working
2.3 kernel on my laptop (I had to patch the yenta.c to force the
voltage detection, but other than that, it works).

        One minor issue, though: I think the IRQs should be allocated
in a more clever way. Currently almost everything in my computer
is given an IRQ 11 (in 2.2 each device had its own IRQ, so different
wiring is definitely possible):

           CPU0
  0: 124409 XT-PIC timer
  1: 5 XT-PIC keyboard
  2: 0 XT-PIC cascade
  9: 0 XT-PIC acpi
 11: 23749 XT-PIC Texas Instruments PCI1450, Texas Instruments PCI1450 (#2), ESS Maestro 2E, eth0, serial
 12: 2 XT-PIC PS/2 Mouse
 13: 1 XT-PIC fpu
 14: 3982 XT-PIC ide0
NMI: 0
ERR: 0

-Yenya

-- 
\ Jan "Yenya" Kasprzak <kas at fi.muni.cz>       http://www.fi.muni.cz/~kas/
\\ PGP: finger kas at aisa.fi.muni.cz   0D99A7FB206605D7 8B35FCDE05B18A5E //
\\\             Czech Linux Homepage:  http://www.linux.cz/              ///
/// Vite jak Microsoft vyrabi nezavirovana CD? ... ... ... Pouziva UNIX! \\\
//     http://support.microsoft.com/support/kb/articles/Q80/5/20.ASP      \\

- 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 : Tue May 23 2000 - 21:00:10 EST