aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/dl2k.h
diff options
context:
space:
mode:
authorAl Viro <viro@ftp.linux.org.uk>2008-01-13 09:18:05 -0500
committerJeff Garzik <jeff@garzik.org>2008-01-18 14:44:33 -0500
commit96d768517eef3c10d4a82bd121caa42f584082cb (patch)
tree73db62f409ef98bfedfcc209835d0c4a80320b31 /drivers/net/dl2k.h
parent21b645e4c2531631992dc127cf676631a70046c8 (diff)
dl2k: BMSR fixes
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/dl2k.h')
-rw-r--r--drivers/net/dl2k.h22
1 files changed, 0 insertions, 22 deletions
diff --git a/drivers/net/dl2k.h b/drivers/net/dl2k.h
index e6623085e834..c8aacf2ff8da 100644
--- a/drivers/net/dl2k.h
+++ b/drivers/net/dl2k.h
@@ -316,28 +316,6 @@ enum _mii_bmcr {
316}; 316};
317 317
318/* Basic Mode Status Register */ 318/* Basic Mode Status Register */
319typedef union t_MII_BMSR {
320 u16 image;
321 struct {
322 u16 ext_capability:1; // bit 0
323 u16 japper_detect:1; // bit 1
324 u16 link_status:1; // bit 2
325 u16 an_ability:1; // bit 3
326 u16 remote_fault:1; // bit 4
327 u16 an_complete:1; // bit 5
328 u16 preamble_supp:1; // bit 6
329 u16 _bit_7:1; // bit 7
330 u16 ext_status:1; // bit 8
331 u16 media_100BT2_HD:1; // bit 9
332 u16 media_100BT2_FD:1; // bit 10
333 u16 media_10BT_HD:1; // bit 11
334 u16 media_10BT_FD:1; // bit 12
335 u16 media_100BX_HD:1; // bit 13
336 u16 media_100BX_FD:1; // bit 14
337 u16 media_100BT4:1; // bit 15
338 } bits;
339} BMSR_t, *PBMSR_t;
340
341enum _mii_bmsr { 319enum _mii_bmsr {
342 MII_BMSR_100BT4 = 0x8000, 320 MII_BMSR_100BT4 = 0x8000,
343 MII_BMSR_100BX_FD = 0x4000, 321 MII_BMSR_100BX_FD = 0x4000,