aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/net/pasemi_mac.c6
-rw-r--r--drivers/net/pasemi_mac.h12
2 files changed, 8 insertions, 10 deletions
diff --git a/drivers/net/pasemi_mac.c b/drivers/net/pasemi_mac.c
index 216bb4a2c633..f18fd07973b1 100644
--- a/drivers/net/pasemi_mac.c
+++ b/drivers/net/pasemi_mac.c
@@ -61,12 +61,6 @@
61 61
62#define BUF_SIZE 1646 /* 1500 MTU + ETH_HLEN + VLAN_HLEN + 2 64B cachelines */ 62#define BUF_SIZE 1646 /* 1500 MTU + ETH_HLEN + VLAN_HLEN + 2 64B cachelines */
63 63
64/* XXXOJN these should come out of the device tree some day */
65#define PAS_DMA_CAP_BASE 0xe00d0040
66#define PAS_DMA_CAP_SIZE 0x100
67#define PAS_DMA_COM_BASE 0xe00d0100
68#define PAS_DMA_COM_SIZE 0x100
69
70static struct pasdma_status *dma_status; 64static struct pasdma_status *dma_status;
71 65
72static int pasemi_get_mac_addr(struct pasemi_mac *mac) 66static int pasemi_get_mac_addr(struct pasemi_mac *mac)
diff --git a/drivers/net/pasemi_mac.h b/drivers/net/pasemi_mac.h
index 88edaa51c661..3dcc1f288adf 100644
--- a/drivers/net/pasemi_mac.h
+++ b/drivers/net/pasemi_mac.h
@@ -195,11 +195,15 @@ enum {
195#define PAS_DMA_RXINT_RCMDSTA(i) (0x200+(i)*_PAS_DMA_RXINT_STRIDE) 195#define PAS_DMA_RXINT_RCMDSTA(i) (0x200+(i)*_PAS_DMA_RXINT_STRIDE)
196#define PAS_DMA_RXINT_RCMDSTA_EN 0x00000001 196#define PAS_DMA_RXINT_RCMDSTA_EN 0x00000001
197#define PAS_DMA_RXINT_RCMDSTA_ST 0x00000002 197#define PAS_DMA_RXINT_RCMDSTA_ST 0x00000002
198#define PAS_DMA_RXINT_RCMDSTA_OO 0x00000100 198#define PAS_DMA_RXINT_RCMDSTA_MBT 0x00000008
199#define PAS_DMA_RXINT_RCMDSTA_BP 0x00000200 199#define PAS_DMA_RXINT_RCMDSTA_MDR 0x00000010
200#define PAS_DMA_RXINT_RCMDSTA_DR 0x00000400 200#define PAS_DMA_RXINT_RCMDSTA_MOO 0x00000020
201#define PAS_DMA_RXINT_RCMDSTA_MBP 0x00000040
201#define PAS_DMA_RXINT_RCMDSTA_BT 0x00000800 202#define PAS_DMA_RXINT_RCMDSTA_BT 0x00000800
202#define PAS_DMA_RXINT_RCMDSTA_TB 0x00001000 203#define PAS_DMA_RXINT_RCMDSTA_DR 0x00001000
204#define PAS_DMA_RXINT_RCMDSTA_OO 0x00002000
205#define PAS_DMA_RXINT_RCMDSTA_BP 0x00004000
206#define PAS_DMA_RXINT_RCMDSTA_TB 0x00008000
203#define PAS_DMA_RXINT_RCMDSTA_ACT 0x00010000 207#define PAS_DMA_RXINT_RCMDSTA_ACT 0x00010000
204#define PAS_DMA_RXINT_RCMDSTA_DROPS_M 0xfffe0000 208#define PAS_DMA_RXINT_RCMDSTA_DROPS_M 0xfffe0000
205#define PAS_DMA_RXINT_RCMDSTA_DROPS_S 17 209#define PAS_DMA_RXINT_RCMDSTA_DROPS_S 17