• Al Viro's avatar
    dl2k endianness fixes (.24 fodder?) · 78ce8d3d
    Al Viro authored
    * shift before cpu_to_le64(), not after it
    * writel() converts to l-e itself
    * misc missing conversions
    * in set_multicast() hash_table[] is host-endian; we feed it to card
      via writel() and populate it as host-endian, so we'd better put the
      first element into it also in host-endian
    * pci_unmap_single() et.al. expect host-endian, not little-endian
    Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
    Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
    78ce8d3d
dl2k.c 47.8 KB