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
 static const u32 sis190_intr_mask =
72
 static const u32 sis190_intr_mask =
73
 	RxQEmpty | RxQInt | TxQ1Int | TxQ0Int | RxHalt | TxHalt | LinkChange;
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
 static void __mdio_cmd(void *ioaddr, u32 ctl)
75
 static void __mdio_cmd(void *ioaddr, u32 ctl)
82
 {
76
 {
83
 	unsigned int i;
77
 	unsigned int i;

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

297
 	{ NULL, { 0x00, 0x00 }, 0, 0 }
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
 static void sis190_phy_task(struct sis190_private *tp);
300
 static void sis190_phy_task(struct sis190_private *tp);
308
 static void sis190_free(struct net_device *dev);
301
 static void sis190_free(struct net_device *dev);
309
 static inline void sis190_init_rxfilter(struct net_device *dev);
302
 static inline void sis190_init_rxfilter(struct net_device *dev);

Loading…
Cancel
Save