path: root/gfxnvidia.c
diff options
authorCarl-Daniel Hailfinger <>2011-03-07 01:08:09 +0000
committerCarl-Daniel Hailfinger <>2011-03-07 01:08:09 +0000
commit40446eef1b52599a14b19552f5843302f38c1212 (patch)
tree381d046fea47f794966eae15695917e0f19c0eba /gfxnvidia.c
parentc6f71462c90cce60ad9e94d865865acbb12b75bd (diff)
Remove vendorid parameter from pcidev_init()
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. Corresponding to flashrom svn r1274. Signed-off-by: Carl-Daniel Hailfinger <> Acked-by: Michael Karcher <>
Diffstat (limited to 'gfxnvidia.c')
1 files changed, 1 insertions, 2 deletions
diff --git a/gfxnvidia.c b/gfxnvidia.c
index b6dc5f4..60498b1 100644
--- a/gfxnvidia.c
+++ b/gfxnvidia.c
@@ -66,8 +66,7 @@ int gfxnvidia_init(void)
- io_base_addr = pcidev_init(PCI_VENDOR_ID_NVIDIA, PCI_BASE_ADDRESS_0,
- gfx_nvidia);
+ io_base_addr = pcidev_init(PCI_BASE_ADDRESS_0, gfx_nvidia);
io_base_addr += 0x300000;
msg_pinfo("Detected NVIDIA I/O base address: 0x%x.\n", io_base_addr);
OpenPOWER on IntegriCloud