diff options
author | Olof Johansson <olof@lixom.net> | 2007-05-08 01:47:41 -0400 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-05-08 01:47:54 -0400 |
commit | cfa8007d5cee58d2c2121b7d00077c6f10969cb7 (patch) | |
tree | db6562e302ddceb03ddbe7fce8ceb2e3270557f6 /drivers/net/pasemi_mac.c | |
parent | 9f05cfe250498791cd24707aea3b728b52d886d5 (diff) |
pasemi_mac: Minor cleanup / define fixes
* Remove some unused defines
* Fix a couple of wrong chip register defines, and add a few more fields
that might be used in the near future.
Signed-off-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/pasemi_mac.c')
-rw-r--r-- | drivers/net/pasemi_mac.c | 6 |
1 files changed, 0 insertions, 6 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 | |||
70 | static struct pasdma_status *dma_status; | 64 | static struct pasdma_status *dma_status; |
71 | 65 | ||
72 | static int pasemi_get_mac_addr(struct pasemi_mac *mac) | 66 | static int pasemi_get_mac_addr(struct pasemi_mac *mac) |