Re: [PATCH] Yet more PCI fixes for 2.5.70

Greg KH (greg@kroah.com)
Tue, 10 Jun 2003 11:49:24 -0700


ChangeSet 1.1321, 2003/06/09 15:31:49-07:00, greg@kroah.com

PCI: remove pci_present() from drivers/char/epca.c

drivers/char/epca.c | 13 +++----------
1 files changed, 3 insertions(+), 10 deletions(-)

diff -Nru a/drivers/char/epca.c b/drivers/char/epca.c
--- a/drivers/char/epca.c Tue Jun 10 11:22:18 2003
+++ b/drivers/char/epca.c Tue Jun 10 11:22:18 2003
@@ -1639,16 +1639,9 @@
--------------------------------------------------------------------- */

pci_boards_found = 0;
- if (pci_present())
- {
- if(num_cards < MAXBOARDS)
- pci_boards_found += init_PCI();
- num_cards += pci_boards_found;
- }
- else
- {
- printk(KERN_ERR "<Error> - No PCI BIOS found\n");
- }
+ if(num_cards < MAXBOARDS)
+ pci_boards_found += init_PCI();
+ num_cards += pci_boards_found;

#endif /* ENABLE_PCI */

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/