dev->name, mii_if->phy_id); 
pci_name(tp->pci_dev), mii_if->phy_id); 
static u16 sis190_default_phy(struct net_device *dev){	struct sis190_phy *phy, *phy_home, *phy_default, *phy_lan;	struct sis190_private *tp = netdev_priv(dev);	struct mii_if_info *mii_if = &tp->mii_if;	void __iomem *ioaddr = tp->mmio_addr;	u16 status;	phy_home = phy_default = phy_lan = NULL;	list_for_each_entry(phy, &tp->first_phy, list) {		status = mdio_read_latched(ioaddr, phy->phy_id, MII_BMSR);		// Link ON & Not select default PHY & not ghost PHY.		if ((status & BMSR_LSTATUS) &&		    !phy_default &&		    (phy->type != UNKNOWN)) {			phy_default = phy;		} else {			status = mdio_read(ioaddr, phy->phy_id, MII_BMCR);			mdio_write(ioaddr, phy->phy_id, MII_BMCR,				   status | BMCR_ANENABLE | BMCR_ISOLATE);			if (phy->type == HOME)				phy_home = phy;			else if (phy->type == LAN)				phy_lan = phy;		}	}	if (!phy_default) {		if (phy_home)			phy_default = phy_home;		else if (phy_lan)			phy_default = phy_lan;		else			phy_default = list_entry(&tp->first_phy,						 struct sis190_phy, list);	}	if (mii_if->phy_id != phy_default->phy_id) {		mii_if->phy_id = phy_default->phy_id;		net_probe(tp, KERN_INFO		       "%s: Using transceiver at address %d as default.\n",		       dev->name, mii_if->phy_id);	}	status = mdio_read(ioaddr, mii_if->phy_id, MII_BMCR);	status &= (~BMCR_ISOLATE);	mdio_write(ioaddr, mii_if->phy_id, MII_BMCR, status);	status = mdio_read_latched(ioaddr, mii_if->phy_id, MII_BMSR);	return status;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/3690b6c124fbc7259634f3b80d92a6d9fe51ec79/sis190.c/clean/drivers/net/sis190.c