dl2k endianness fixes (.24 fodder?)
authorAl Viro <viro@ftp.linux.org.uk>
Sat, 22 Dec 2007 18:11:18 +0000 (18:11 +0000)
committerJeff Garzik <jeff@garzik.org>
Sun, 23 Dec 2007 03:53:06 +0000 (22:53 -0500)
commit78ce8d3d1c75c22ae593ad4ccaffa19ee0e2576d
tree32cdc1cbe9389ddd5addfccfac5bc9d00197b2f9
parente5a314210087558f21617255754e7687e9a7f81d
dl2k endianness fixes (.24 fodder?)

* 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: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/dl2k.c
drivers/net/dl2k.h