]> git.ipfire.org Git - thirdparty/ipxe.git/commitdiff
[sis190] Fix building with GCC 6
authorMichael Brown <mcb30@ipxe.org>
Wed, 4 May 2016 14:53:52 +0000 (15:53 +0100)
committerMichael Brown <mcb30@ipxe.org>
Wed, 4 May 2016 15:01:32 +0000 (16:01 +0100)
Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/drivers/net/sis190.c
src/drivers/net/sis190.h

index 991c30f9ec457dbc41dfc0ded4ac18c83eb21711..81f3d9844879d73405101b402063b8e1ac8468d9 100644 (file)
@@ -72,12 +72,6 @@ struct pci_driver sis190_isa_bridge_driver __pci_driver = {
 static const u32 sis190_intr_mask =
        RxQEmpty | RxQInt | TxQ1Int | TxQ0Int | RxHalt | TxHalt | LinkChange;
 
-/*
- * Maximum number of multicast addresses to filter (vs. Rx-all-multicast).
- * The chips use a 64 element hash table based on the Ethernet CRC.
- */
-static const int multicast_filter_limit = 32;
-
 static void __mdio_cmd(void *ioaddr, u32 ctl)
 {
        unsigned int i;
index 0551333d50da4ccf66fba9752c79a7ab6d80537a..79f94d2d9bfe5fd3799b571e57d1fefe81d3a51b 100644 (file)
@@ -297,13 +297,6 @@ static struct mii_chip_info {
        { NULL, { 0x00, 0x00 }, 0, 0 }
 };
 
-static const struct {
-       const char *name;
-} sis_chip_info[] = {
-       { "SiS 190 PCI Fast Ethernet adapter" },
-       { "SiS 191 PCI Gigabit Ethernet adapter" },
-};
-
 static void sis190_phy_task(struct sis190_private *tp);
 static void sis190_free(struct net_device *dev);
 static inline void sis190_init_rxfilter(struct net_device *dev);