Skip to contentSkip to conversation

forcedeth: dma access

PATCH Applied Ayaz Abdulla 1 participant 1 message Jan 9, 2007

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/12 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.

drivers/net/forcedeth.c +2 -2
@@ -304,8 +304,8 @@
 #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,