diff options
author | Al Viro <viro@ftp.linux.org.uk> | 2008-03-16 18:22:14 -0400 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2008-03-17 07:56:36 -0400 |
commit | 48f5fec5486286103c4423fc78fdf3a15530c3b9 (patch) | |
tree | c2ee781ff718a4cf946dd9093d6285c37f94c772 /drivers/net/ipg.c | |
parent | 3b5e26f7b07f5e537cef705de79174025ecd383c (diff) |
ipg fix
spurious cpu_to_le64()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/ipg.c')
-rw-r--r-- | drivers/net/ipg.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/drivers/net/ipg.c b/drivers/net/ipg.c index 5e5d9b527ed1..2fdbde772e90 100644 --- a/drivers/net/ipg.c +++ b/drivers/net/ipg.c | |||
@@ -1900,8 +1900,13 @@ static int ipg_nic_hard_start_xmit(struct sk_buff *skb, struct net_device *dev) | |||
1900 | 1900 | ||
1901 | /* Specify the TFC field within the TFD. */ | 1901 | /* Specify the TFC field within the TFD. */ |
1902 | txfd->tfc |= cpu_to_le64(IPG_TFC_WORDALIGNDISABLED | | 1902 | txfd->tfc |= cpu_to_le64(IPG_TFC_WORDALIGNDISABLED | |
1903 | (IPG_TFC_FRAMEID & cpu_to_le64(sp->tx_current)) | | 1903 | (IPG_TFC_FRAMEID & sp->tx_current) | |
1904 | (IPG_TFC_FRAGCOUNT & (1 << 24))); | 1904 | (IPG_TFC_FRAGCOUNT & (1 << 24))); |
1905 | /* | ||
1906 | * 16--17 (WordAlign) <- 3 (disable), | ||
1907 | * 0--15 (FrameId) <- sp->tx_current, | ||
1908 | * 24--27 (FragCount) <- 1 | ||
1909 | */ | ||
1905 | 1910 | ||
1906 | /* Request TxComplete interrupts at an interval defined | 1911 | /* Request TxComplete interrupts at an interval defined |
1907 | * by the constant IPG_FRAMESBETWEENTXCOMPLETES. | 1912 | * by the constant IPG_FRAMESBETWEENTXCOMPLETES. |