[lkml]   [2002]   [Jan]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Patch in this message
SubjectRe: linux-2.5.3-pre4/drivers/acenic.c: pci_unmap_addr_set not defined for x86
   From: "Adam J. Richter" <>
Date: Thu, 24 Jan 2002 02:01:55 -0800

linux-2.5.3-pre4/drivers/acenic.c uses pci_unmap_addr_set,
which is defined for most architectures in include/asm-*/pci.h, but
not for i386. For i386 this results in undefined references. I
imagine that this is the result of a missed file (include/asm-i386/pci.h?)
from an Acenic update patch.

No, just a dumb typo:

--- include/asm-i386/pci.h.~1~ Tue Jan 15 10:59:36 2002
+++ include/asm-i386/pci.h Thu Jan 24 05:32:28 2002
@@ -118,7 +118,7 @@
#define pci_unmap_addr(PTR, ADDR_NAME) (0)
-#define pci_unmap_addr_SET(PTR, ADDR_NAME, VAL) do { } while (0)
+#define pci_unmap_addr_set(PTR, ADDR_NAME, VAL) do { } while (0)
#define pci_unmap_len(PTR, LEN_NAME) (0)
#define pci_unmap_len_set(PTR, LEN_NAME, VAL) do { } while (0)

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at
 \ /
  Last update: 2005-03-22 13:15    [from the cache]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site