Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[sis190] Fix building with GCC 6
Signed-off-by: Michael Brown <mcb30@ipxe.org>
  • Loading branch information
mcb30 committed May 4, 2016
1 parent e2f14c2 commit 65b32a0
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 13 deletions.
6 changes: 0 additions & 6 deletions src/drivers/net/sis190.c
Expand Up @@ -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;
Expand Down
7 changes: 0 additions & 7 deletions src/drivers/net/sis190.h
Expand Up @@ -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);
Expand Down

0 comments on commit 65b32a0

Please sign in to comment.