diff options
author | Al Viro <viro@ftp.linux.org.uk> | 2008-01-13 15:18:25 +0100 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2008-01-18 20:44:33 +0100 |
commit | 0ca5f319f4bef00d31a21614345ecd5ea0ca8afd (patch) | |
tree | 0879b13591e3d07d799ef8ba5239c441e3e6cf76 /drivers/net/dl2k.c | |
parent | dl2k: MSCR, MSSR, ESR, PHY_SCR fixes (diff) | |
download | linux-0ca5f319f4bef00d31a21614345ecd5ea0ca8afd.tar.xz linux-0ca5f319f4bef00d31a21614345ecd5ea0ca8afd.zip |
dl2k: the rest
remove an unused union-with-bitfield of the same sort,
add missing conversions in debugging printk
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/dl2k.c')
-rw-r--r-- | drivers/net/dl2k.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/net/dl2k.c b/drivers/net/dl2k.c index 2e13eaad1708..e233d04a2132 100644 --- a/drivers/net/dl2k.c +++ b/drivers/net/dl2k.c @@ -1316,9 +1316,10 @@ rio_ioctl (struct net_device *dev, struct ifreq *rq, int cmd) ("%02x:cur:%08x next:%08x status:%08x frag1:%08x frag0:%08x", i, (u32) (np->tx_ring_dma + i * sizeof (*desc)), - (u32) desc->next_desc, - (u32) desc->status, (u32) (desc->fraginfo >> 32), - (u32) desc->fraginfo); + (u32)le64_to_cpu(desc->next_desc), + (u32)le64_to_cpu(desc->status), + (u32)(le64_to_cpu(desc->fraginfo) >> 32), + (u32)le64_to_cpu(desc->fraginfo)); printk ("\n"); } printk ("\n"); |