diff options
Diffstat (limited to 'gpxe/src/drivers/net/sundance.c')
-rw-r--r-- | gpxe/src/drivers/net/sundance.c | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/gpxe/src/drivers/net/sundance.c b/gpxe/src/drivers/net/sundance.c index 119c9778..c446ac08 100644 --- a/gpxe/src/drivers/net/sundance.c +++ b/gpxe/src/drivers/net/sundance.c @@ -40,6 +40,8 @@ * ****************************************************************************/ +FILE_LICENCE ( GPL2_OR_LATER ); + /* to get some global routines like printf */ #include "etherboot.h" /* to get the interface to the body of the program */ @@ -57,13 +59,6 @@ #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; @@ -883,9 +878,9 @@ static void set_rx_mode(struct nic *nic __unused) } static struct pci_device_id sundance_nics[] = { - PCI_ROM(0x13f0, 0x0201, "sundance", "ST201 Sundance 'Alta' based Adaptor"), - PCI_ROM(0x1186, 0x1002, "dfe530txs", "D-Link DFE530TXS (Sundance ST201 Alta)"), - PCI_ROM(0x13f0, 0x0200, "ip100a", "IC+ IP100A"), + PCI_ROM(0x13f0, 0x0201, "sundance", "ST201 Sundance 'Alta' based Adaptor", 0), + PCI_ROM(0x1186, 0x1002, "dfe530txs", "D-Link DFE530TXS (Sundance ST201 Alta)", 0), + PCI_ROM(0x13f0, 0x0200, "ip100a", "IC+ IP100A", 0), }; PCI_DRIVER ( sundance_driver, sundance_nics, PCI_NO_CLASS ); |