Browse Source

[sis190] Fix building with GCC 6

Signed-off-by: Michael Brown <mcb30@ipxe.org>
tags/v1.20.1
Michael Brown 8 years ago
parent
commit
65b32a0b70
2 changed files with 0 additions and 13 deletions
  1. 0
    6
      src/drivers/net/sis190.c
  2. 0
    7
      src/drivers/net/sis190.h

+ 0
- 6
src/drivers/net/sis190.c View File

@@ -72,12 +72,6 @@ struct pci_driver sis190_isa_bridge_driver __pci_driver = {
72 72
 static const u32 sis190_intr_mask =
73 73
 	RxQEmpty | RxQInt | TxQ1Int | TxQ0Int | RxHalt | TxHalt | LinkChange;
74 74
 
75
-/*
76
- * Maximum number of multicast addresses to filter (vs. Rx-all-multicast).
77
- * The chips use a 64 element hash table based on the Ethernet CRC.
78
- */
79
-static const int multicast_filter_limit = 32;
80
-
81 75
 static void __mdio_cmd(void *ioaddr, u32 ctl)
82 76
 {
83 77
 	unsigned int i;

+ 0
- 7
src/drivers/net/sis190.h View File

@@ -297,13 +297,6 @@ static struct mii_chip_info {
297 297
 	{ NULL, { 0x00, 0x00 }, 0, 0 }
298 298
 };
299 299
 
300
-static const struct {
301
-	const char *name;
302
-} sis_chip_info[] = {
303
-	{ "SiS 190 PCI Fast Ethernet adapter" },
304
-	{ "SiS 191 PCI Gigabit Ethernet adapter" },
305
-};
306
-
307 300
 static void sis190_phy_task(struct sis190_private *tp);
308 301
 static void sis190_free(struct net_device *dev);
309 302
 static inline void sis190_init_rxfilter(struct net_device *dev);

Loading…
Cancel
Save