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.h | |
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.h')
-rw-r--r-- | drivers/net/pasemi_mac.h | 12 |
1 files changed, 8 insertions, 4 deletions
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 |