From 40446eef1b52599a14b19552f5843302f38c1212 Mon Sep 17 00:00:00 2001 From: Carl-Daniel Hailfinger Date: Mon, 7 Mar 2011 01:08:09 +0000 Subject: 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 --- print.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'print.c') diff --git a/print.c b/print.c index add2115..b939f67 100644 --- a/print.c +++ b/print.c @@ -249,9 +249,6 @@ void print_supported(void) printf("\nSupported devices for the %s programmer:\n", programmer_table[PROGRAMMER_NICREALTEK].name); print_supported_pcidevs(nics_realtek); - printf("\nSupported devices for the %s programmer:\n", - programmer_table[PROGRAMMER_NICREALTEK2].name); - print_supported_pcidevs(nics_realteksmc1211); #endif #if CONFIG_NICNATSEMI == 1 printf("\nSupported devices for the %s programmer:\n", -- cgit v1.1