/* Set receive filter address to our MAC address and enable packet filtering.  */
static void sis190_init_rxfilter(struct net_device *dev)
/* Set receive filter address to our MAC address and enable packet filtering.  */
static void sis190_init_rxfilter(struct net_device *dev)
{
	struct sis190_private *tp = netdev_priv(dev);
	void __iomem *ioaddr = tp->mmio_addr;
	u16 ctl;
	int i;
	ctl = SIS_R16(RxMacControl);
	SIS_W16(RxMacControl, ctl & ~0x0f00);
	for (i = 0; i < MAC_ADDR_LEN; i++)
		SIS_W8(RxMacAddr + i, dev->dev_addr[i]);
	SIS_W16(RxMacControl, ctl);
	SIS_PCI_COMMIT();
}