sis190_set_rgmii(tp, reg);  
static int __devinit sis190_get_mac_addr_from_apc(struct pci_dev *pdev,						  struct net_device *dev){	struct sis190_private *tp = netdev_priv(dev);	struct pci_dev *isa_bridge;	u8 reg, tmp8;	int i;	net_probe(tp, KERN_INFO "%s: Read MAC address from APC.\n",		  pci_name(pdev));	isa_bridge = pci_get_device(PCI_VENDOR_ID_SI, 0x0965, NULL);	if (!isa_bridge) {		net_probe(tp, KERN_INFO "%s: Can not find ISA bridge.\n",			  pci_name(pdev));		return -EIO;	}	/* Enable port 78h & 79h to access APC Registers. */	pci_read_config_byte(isa_bridge, 0x48, &tmp8);	reg = (tmp8 & ~0x02);	pci_write_config_byte(isa_bridge, 0x48, reg);	udelay(50);	pci_read_config_byte(isa_bridge, 0x48, &reg);        for (i = 0; i < MAC_ADDR_LEN; i++) {                outb(0x9 + i, 0x78);                dev->dev_addr[i] = inb(0x79);        }	outb(0x12, 0x78);	reg = inb(0x79);	/* Restore the value to ISA Bridge */	pci_write_config_byte(isa_bridge, 0x48, tmp8);	pci_dev_put(isa_bridge);	return 0;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/900eb9d69252cf91d42f6a87fc80b1c5518dbff1/sis190.c/buggy/drivers/net/sis190.c