diff options
Diffstat (limited to 'drivers/net/dm9000.h')
-rw-r--r-- | drivers/net/dm9000.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/drivers/net/dm9000.h b/drivers/net/dm9000.h index ba25cf541420..80817c2edfb3 100644 --- a/drivers/net/dm9000.h +++ b/drivers/net/dm9000.h | |||
@@ -45,6 +45,10 @@ | |||
45 | #define DM9000_CHIPR 0x2C | 45 | #define DM9000_CHIPR 0x2C |
46 | #define DM9000_SMCR 0x2F | 46 | #define DM9000_SMCR 0x2F |
47 | 47 | ||
48 | #define DM9000_ETXCSR 0x30 | ||
49 | #define DM9000_TCCR 0x31 | ||
50 | #define DM9000_RCSR 0x32 | ||
51 | |||
48 | #define CHIPR_DM9000A 0x19 | 52 | #define CHIPR_DM9000A 0x19 |
49 | #define CHIPR_DM9000B 0x1B | 53 | #define CHIPR_DM9000B 0x1B |
50 | 54 | ||
@@ -131,7 +135,21 @@ | |||
131 | 135 | ||
132 | #define GPCR_GEP_CNTL (1<<0) | 136 | #define GPCR_GEP_CNTL (1<<0) |
133 | 137 | ||
138 | #define TCCR_IP (1<<0) | ||
139 | #define TCCR_TCP (1<<1) | ||
140 | #define TCCR_UDP (1<<2) | ||
141 | |||
142 | #define RCSR_UDP_BAD (1<<7) | ||
143 | #define RCSR_TCP_BAD (1<<6) | ||
144 | #define RCSR_IP_BAD (1<<5) | ||
145 | #define RCSR_UDP (1<<4) | ||
146 | #define RCSR_TCP (1<<3) | ||
147 | #define RCSR_IP (1<<2) | ||
148 | #define RCSR_CSUM (1<<1) | ||
149 | #define RCSR_DISCARD (1<<0) | ||
150 | |||
134 | #define DM9000_PKT_RDY 0x01 /* Packet ready to receive */ | 151 | #define DM9000_PKT_RDY 0x01 /* Packet ready to receive */ |
152 | #define DM9000_PKT_ERR 0x02 | ||
135 | #define DM9000_PKT_MAX 1536 /* Received packet max size */ | 153 | #define DM9000_PKT_MAX 1536 /* Received packet max size */ |
136 | 154 | ||
137 | /* DM9000A / DM9000B definitions */ | 155 | /* DM9000A / DM9000B definitions */ |