diff options
Diffstat (limited to 'drivers/ssb/scan.c')
| -rw-r--r-- | drivers/ssb/scan.c | 5 | 
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/ssb/scan.c b/drivers/ssb/scan.c index 45e5babd3961..3e844874631f 100644 --- a/drivers/ssb/scan.c +++ b/drivers/ssb/scan.c @@ -2,7 +2,7 @@   * Sonics Silicon Backplane   * Bus scanning   * - * Copyright (C) 2005-2007 Michael Buesch <[email protected]> + * Copyright (C) 2005-2007 Michael Buesch <[email protected]>   * Copyright (C) 2005 Martin Langer <[email protected]>   * Copyright (C) 2005 Stefano Brivio <[email protected]>   * Copyright (C) 2005 Danny van Dyk <[email protected]> @@ -310,8 +310,7 @@ int ssb_bus_scan(struct ssb_bus *bus,  	} else {  		if (bus->bustype == SSB_BUSTYPE_PCI) {  			bus->chip_id = pcidev_to_chipid(bus->host_pci); -			pci_read_config_byte(bus->host_pci, PCI_REVISION_ID, -					     &bus->chip_rev); +			bus->chip_rev = bus->host_pci->revision;  			bus->chip_package = 0;  		} else {  			bus->chip_id = 0x4710;  |