Re: Linux 2.5.44-ac3

From: Marco Roeland (marco.roeland@xs4all.nl)
Date: Fri Oct 25 2002 - 07:55:14 EST


> Linux 2.5.44-ac2
> o Rip out lots of the left over pcibios_ stuff (Greg Kroah-Hartmann)

Since -ac2 there's a pcibios_read_config_dword left in drivers/pcmcia/cist.c
preventing (CardBus) PCMCIA to compile.

The following makes it compile again, whether it _works_ I've absolutely no
idea, lacking amongst others any kernel knowledge or even a cardbus card.
Compiles for me (TM) ;-)

# This is a GNU diff generated patch for the following project:
# Project Name: Linux kernel tree
# -------------------------------------------------------------
 drivers/pcmcia/cistpl.c | 2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)
# -------------------------------------------------------------
#
--- linux-2.5.44-ac3/drivers/pcmcia/cistpl.c Tue Oct 8 14:34:46 2002
+++ linux-2.5.44-ac3-fix/drivers/pcmcia/cistpl.c Fri Oct 25 14:24:07 2002
@@ -429,7 +429,7 @@
 #ifdef CONFIG_CARDBUS
     if (s->state & SOCKET_CARDBUS) {
         u_int ptr;
- pcibios_read_config_dword(s->cap.cb_dev->subordinate->number, 0, 0x28, &ptr);
+ pci_read_config_dword(s->cap.cb_dev, 0x28, &ptr);
         tuple->CISOffset = ptr & ~7;
         SPACE(tuple->Flags) = (ptr & 7);
     } else

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



This archive was generated by hypermail 2b29 : Thu Oct 31 2002 - 22:00:27 EST