mirror of
https://github.com/ipxe/ipxe
synced 2025-12-16 09:32:33 +03:00
[ethernet] Move struct mii_if_info to mii.h
Signed-off-by: Michael Brown <mcb30@etherboot.org>
This commit is contained in:
committed by
Michael Brown
parent
3c06277bbb
commit
005fce0258
@@ -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
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user