View | Details | Raw Unified | Return to bug 34552 | Differences between
and this patch

Collapse All | Expand All

(-)sis190.c (-1 / +11 lines)
Lines 1798-1803 Link Here
1798
		generic_mii_ioctl(&tp->mii_if, if_mii(ifr), cmd, NULL);
1798
		generic_mii_ioctl(&tp->mii_if, if_mii(ifr), cmd, NULL);
1799
}
1799
}
1800
1800
1801
static int sis190_mac_addr(struct net_device  *dev, void *p)
1802
{
1803
	int rc;
1804
1805
	rc = eth_mac_addr(dev, p);
1806
	if (rc == 0)
1807
		sis190_init_rxfilter(dev);
1808
	return rc;
1809
}
1810
1801
static const struct net_device_ops sis190_netdev_ops = {
1811
static const struct net_device_ops sis190_netdev_ops = {
1802
	.ndo_open		= sis190_open,
1812
	.ndo_open		= sis190_open,
1803
	.ndo_stop		= sis190_close,
1813
	.ndo_stop		= sis190_close,
Lines 1806-1812 Link Here
1806
	.ndo_tx_timeout		= sis190_tx_timeout,
1816
	.ndo_tx_timeout		= sis190_tx_timeout,
1807
	.ndo_set_multicast_list = sis190_set_rx_mode,
1817
	.ndo_set_multicast_list = sis190_set_rx_mode,
1808
	.ndo_change_mtu		= eth_change_mtu,
1818
	.ndo_change_mtu		= eth_change_mtu,
1809
	.ndo_set_mac_address 	= eth_mac_addr,
1819
	.ndo_set_mac_address 	= sis190_mac_addr,
1810
	.ndo_validate_addr	= eth_validate_addr,
1820
	.ndo_validate_addr	= eth_validate_addr,
1811
#ifdef CONFIG_NET_POLL_CONTROLLER
1821
#ifdef CONFIG_NET_POLL_CONTROLLER
1812
	.ndo_poll_controller	 = sis190_netpoll,
1822
	.ndo_poll_controller	 = sis190_netpoll,

Return to bug 34552