diff options
| author | Daniel Verkamp | 2008-12-10 08:11:50 +0100 |
|---|---|---|
| committer | Michael Brown | 2009-05-26 12:27:55 +0200 |
| commit | 005fce0258b318b8b95a5891b4aedf437d843dec (patch) | |
| tree | 130c3437706899553ad63d1e524d2df04e17a998 /src/drivers/net | |
| parent | [settings] Allow for arbitrarily-named settings (diff) | |
| download | ipxe-005fce0258b318b8b95a5891b4aedf437d843dec.tar.gz ipxe-005fce0258b318b8b95a5891b4aedf437d843dec.tar.xz ipxe-005fce0258b318b8b95a5891b4aedf437d843dec.zip | |
[ethernet] Move struct mii_if_info to mii.h
Signed-off-by: Michael Brown <mcb30@etherboot.org>
Diffstat (limited to 'src/drivers/net')
| -rw-r--r-- | src/drivers/net/pcnet32.c | 6 | ||||
| -rw-r--r-- | src/drivers/net/sundance.c | 7 |
2 files changed, 0 insertions, 13 deletions
diff --git a/src/drivers/net/pcnet32.c b/src/drivers/net/pcnet32.c index 2ceccbc11..223bc1e2b 100644 --- a/src/drivers/net/pcnet32.c +++ b/src/drivers/net/pcnet32.c @@ -222,12 +222,6 @@ struct { unsigned char rxb[RX_RING_SIZE][PKT_BUF_SZ]; } pcnet32_bufs __shared; -/* May need to be moved to mii.h */ -struct mii_if_info { - int phy_id; - int advertising; - unsigned int full_duplex:1; /* is full duplex? */ -}; /* * The first three fields of pcnet32_private are read by the ethernet device diff --git a/src/drivers/net/sundance.c b/src/drivers/net/sundance.c index a5552cfc7..c446ac08d 100644 --- a/src/drivers/net/sundance.c +++ b/src/drivers/net/sundance.c @@ -59,13 +59,6 @@ FILE_LICENCE ( GPL2_OR_LATER ); #define virt_to_le32desc(addr) cpu_to_le32(virt_to_bus(addr)) #define le32desc_to_virt(addr) bus_to_virt(le32_to_cpu(addr)) -/* May need to be moved to mii.h */ -struct mii_if_info { - int phy_id; - int advertising; - unsigned int full_duplex:1; /* is full duplex? */ -}; - /* Set the mtu */ static int mtu = 1514; |
