AMD sb600: Fix PCI ID error
Broken since February 2008, looking for incorrect PCI VENDOR. Change-Id: I6935683a8a7428ca9b2e90bcc0a090c3865ffd33 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/17513 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Edward O'Callaghan <edward.ocallaghan@koparo.com> Reviewed-by: Marshall Dawson <marshalldawson3rd@gmail.com>
This commit is contained in:
parent
76a6586eef
commit
4596a64a61
|
@ -271,9 +271,7 @@ static void hda_init(struct device *dev)
|
|||
pm_iowrite(0x59, 0xB);
|
||||
|
||||
/* Find the SMBus */
|
||||
/* FIXME: Need to find out why the call below crashes. */
|
||||
/*sm_dev = dev_find_device(PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_ATI_SB600_SM, 0);*/
|
||||
sm_dev = dev_find_slot(0, PCI_DEVFN(0x14, 0));
|
||||
sm_dev = dev_find_device(PCI_VENDOR_ID_ATI, PCI_DEVICE_ID_ATI_SB600_SM, 0);
|
||||
|
||||
/* Set routing pin - SMBus ExtFunc (0xf8/0xfc) */
|
||||
pci_write_config32(sm_dev, 0xf8, 0x00);
|
||||
|
|
Loading…
Reference in New Issue