sundance fixes
authorAl Viro <viro@ftp.linux.org.uk>
Sun, 9 Dec 2007 16:50:47 +0000 (16:50 +0000)
committerJeff Garzik <jeff@garzik.org>
Fri, 14 Dec 2007 20:26:00 +0000 (15:26 -0500)
commit14c9d9b03bb8ec63c77aebddea9a6f730f1b62d5
treeef70f59cd9cb97be5825c835d94331d3c3f8760f
parent798fdd07fcc131f396e521febb4a7d42559bf4b5
sundance fixes

* all places where we assign ->addr get cpu_to_le32(pci_map_single(....)), so
we ought to convert back to host-endian before doing pci_unmap_single() et.al.
* poisoning addresses in netdev_close() should be done _after_ unmapping them,
not before it...

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/sundance.c