Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 237492
b: refs/heads/master
c: eaaa3a7
h: refs/heads/master
v: v3
  • Loading branch information
Sergei Shtylyov authored and David S. Miller committed Feb 28, 2011
1 parent f6b70d7 commit d66d36c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 696ea472e19c6d1fa843bb1abce73b9c3a414391
refs/heads/master: eaaa3a7c4da2bdc48e536bb750860253150cb931
4 changes: 2 additions & 2 deletions trunk/drivers/net/sis900.c
Original file line number Diff line number Diff line change
Expand Up @@ -495,7 +495,7 @@ static int __devinit sis900_probe(struct pci_dev *pci_dev,
sis_priv->mii_info.reg_num_mask = 0x1f;

/* Get Mac address according to the chip revision */
pci_read_config_byte(pci_dev, PCI_CLASS_REVISION, &(sis_priv->chipset_rev));
sis_priv->chipset_rev = pci_dev->revision;
if(netif_msg_probe(sis_priv))
printk(KERN_DEBUG "%s: detected revision %2.2x, "
"trying to get MAC address...\n",
Expand Down Expand Up @@ -532,7 +532,7 @@ static int __devinit sis900_probe(struct pci_dev *pci_dev,
/* save our host bridge revision */
dev = pci_get_device(PCI_VENDOR_ID_SI, PCI_DEVICE_ID_SI_630, NULL);
if (dev) {
pci_read_config_byte(dev, PCI_CLASS_REVISION, &sis_priv->host_bridge_rev);
sis_priv->host_bridge_rev = dev->revision;
pci_dev_put(dev);
}

Expand Down

0 comments on commit d66d36c

Please sign in to comment.