summaryrefslogtreecommitdiffstats
path: root/drivers/net/forcedeth.c
diff options
context:
space:
mode:
authorAyaz Abdulla <aabdulla@nvidia.com>2007-01-09 13:30:02 -0500
committerJeff Garzik <jeff@garzik.org>2007-02-05 16:58:46 -0500
commitd2f7841277d8613a780ab28d04d8f31a31816153 (patch)
tree84aa4d7b67a6ea84a19f838e6df2d70cb3746d92 /drivers/net/forcedeth.c
parent95f48a71a254fa81ae4be1307ce3bb8361521a7d (diff)
downloadop-kernel-dev-d2f7841277d8613a780ab28d04d8f31a31816153.zip
op-kernel-dev-d2f7841277d8613a780ab28d04d8f31a31816153.tar.gz
forcedeth: dma access
This patch allows the hardware to fetch the tx and rx ring descriptors with 64 bytes per access instead of 32 bytes. Signed-Off-By: Ayaz Abdulla <aabdulla@nvidia.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/forcedeth.c')
-rw-r--r--drivers/net/forcedeth.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/forcedeth.c b/drivers/net/forcedeth.c
index 60441e5..3ef1aec 100644
--- a/drivers/net/forcedeth.c
+++ b/drivers/net/forcedeth.c
@@ -304,8 +304,8 @@ enum {
#define NVREG_TXRXCTL_RESET 0x0010
#define NVREG_TXRXCTL_RXCHECK 0x0400
#define NVREG_TXRXCTL_DESC_1 0
-#define NVREG_TXRXCTL_DESC_2 0x02100
-#define NVREG_TXRXCTL_DESC_3 0x02200
+#define NVREG_TXRXCTL_DESC_2 0x002100
+#define NVREG_TXRXCTL_DESC_3 0xc02200
#define NVREG_TXRXCTL_VLANSTRIP 0x00040
#define NVREG_TXRXCTL_VLANINS 0x00080
NvRegTxRingPhysAddrHigh = 0x148,
OpenPOWER on IntegriCloud