diff options
author | hailfinger <hailfinger@2b7e53f0-3cfb-0310-b3e9-8179ed1497e1> | 2011-03-07 01:08:09 +0000 |
---|---|---|
committer | hailfinger <hailfinger@2b7e53f0-3cfb-0310-b3e9-8179ed1497e1> | 2011-03-07 01:08:09 +0000 |
commit | ecd28131d7ba98c29438f6d78756e894f3177b7b (patch) | |
tree | 381d046fea47f794966eae15695917e0f19c0eba /satasii.c | |
parent | d451cad61905ab88d63fb35e89384f0b30c4b2b9 (diff) | |
download | flashrom-ecd28131d7ba98c29438f6d78756e894f3177b7b.tar.gz |
Simplify pcidev_init by killing the vendorid parameter which was pretty
useless anyway since it was present in the pcidevs parameter as well.
This also allows us to handle multiple programmers with different vendor
IDs in the same driver.
Fix compilation of flashrom with only the nicrealtek driver.
Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Acked-by: Michael Karcher <flashrom@mkarcher.dialup.fu-berlin.de>
git-svn-id: https://code.coreboot.org/svn/flashrom/trunk@1274 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'satasii.c')
-rw-r--r-- | satasii.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -47,7 +47,7 @@ int satasii_init(void) get_io_perms(); - pcidev_init(PCI_VENDOR_ID_SII, PCI_BASE_ADDRESS_0, satas_sii); + pcidev_init(PCI_BASE_ADDRESS_0, satas_sii); id = pcidev_dev->device_id; |