lkml.org 
[lkml]   [2002]   [Jan]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    SubjectRe: linux-2.5.3-pre4/drivers/acenic.c: pci_unmap_addr_set not defined for x86
    From
       From: "Adam J. Richter" <adam@yggdrasil.com>
    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 DECLARE_PCI_UNMAP_ADDR(ADDR_NAME)
    #define DECLARE_PCI_UNMAP_LEN(LEN_NAME)
    #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 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/
    \
     
     \ /
      Last update: 2005-03-22 13:15    [W:0.023 / U:0.604 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site