aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/dl2k.h
diff options
context:
space:
mode:
authorAl Viro <viro@ftp.linux.org.uk>2008-01-13 09:18:25 -0500
committerJeff Garzik <jeff@garzik.org>2008-01-18 14:44:33 -0500
commit0ca5f319f4bef00d31a21614345ecd5ea0ca8afd (patch)
tree0879b13591e3d07d799ef8ba5239c441e3e6cf76 /drivers/net/dl2k.h
parent5b5119167b724f4c4d54e69f91f22a83b01207af (diff)
dl2k: the rest
remove an unused union-with-bitfield of the same sort, add missing conversions in debugging printk 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.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/drivers/net/dl2k.h b/drivers/net/dl2k.h
index 5f00ecb4a28..d66c605b407 100644
--- a/drivers/net/dl2k.h
+++ b/drivers/net/dl2k.h
@@ -364,18 +364,6 @@ enum _mii_anlpar {
364}; 364};
365 365
366/* Auto-Negotiation Expansion Register */ 366/* Auto-Negotiation Expansion Register */
367typedef union t_MII_ANER {
368 u16 image;
369 struct {
370 u16 lp_negotiable:1; // bit 0
371 u16 page_received:1; // bit 1
372 u16 nextpagable:1; // bit 2
373 u16 lp_nextpagable:1; // bit 3
374 u16 pdetect_fault:1; // bit 4
375 u16 _bit15_5:11; // bit 15:5
376 } bits;
377} ANER_t, *PANER_t;
378
379enum _mii_aner { 367enum _mii_aner {
380 MII_ANER_PAR_DETECT_FAULT = 0x0010, 368 MII_ANER_PAR_DETECT_FAULT = 0x0010,
381 MII_ANER_LP_NEXTPAGABLE = 0x0008, 369 MII_ANER_LP_NEXTPAGABLE = 0x0008,