mdio_write(ioaddr, MII_BMCR, 
mdio_write(ioaddr, phy_id, MII_BMCR, 
static void sis190_set_speed_auto(struct net_device *dev){	struct sis190_private *tp = netdev_priv(dev);	void __iomem *ioaddr = tp->mmio_addr;	int val;	net_link(tp, KERN_INFO "%s: Enabling Auto-negotiation.\n", dev->name);	val = mdio_read(ioaddr, MII_ADVERTISE);	// Enable 10/100 Full/Half Mode, leave MII_ADVERTISE bit4:0	// unchanged.	mdio_write(ioaddr, MII_ADVERTISE, (val & ADVERTISE_SLCT) |		   ADVERTISE_100FULL | ADVERTISE_10FULL |		   ADVERTISE_100HALF | ADVERTISE_10HALF);	// Enable 1000 Full Mode.	mdio_write(ioaddr, MII_CTRL1000, ADVERTISE_1000FULL);	// Enable auto-negotiation and restart auto-negotiation.	mdio_write(ioaddr, MII_BMCR,		   BMCR_ANENABLE | BMCR_ANRESTART | BMCR_RESET);}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/9ede109bbe93d5bbe4271e346106847fbfea95a1/sis190.c/clean/drivers/net/sis190.c