lkml.org 
[lkml]   [2003]   [Jun]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
SubjectRe: [PATCH] Yet more PCI fixes for 2.5.70
From
Date
ChangeSet 1.1339, 2003/06/09 15:50:05-07:00, greg@kroah.com

PCI: remove pci_present() from drivers/net/hp100.c


drivers/net/hp100.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)


diff -Nru a/drivers/net/hp100.c b/drivers/net/hp100.c
--- a/drivers/net/hp100.c Tue Jun 10 11:20:54 2003
+++ b/drivers/net/hp100.c Tue Jun 10 11:20:54 2003
@@ -405,7 +405,7 @@
/* First: scan PCI bus(es) */

#ifdef CONFIG_PCI
- if (pci_present()) {
+ {
int pci_index;
struct pci_dev *pci_dev = NULL;
int pci_id_index;
@@ -2973,8 +2973,10 @@
{
int i, cards;

- if (hp100_port == 0 && !EISA_bus && !pci_present())
+#ifndef CONFIG_PCI
+ if (hp100_port == 0 && !EISA_bus)
printk("hp100: You should not use auto-probing with insmod!\n");
+#endif

/* Loop on all possible base addresses */
i = -1;
-
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/

\
 
 \ /
  Last update: 2005-03-22 13:36    [W:0.044 / U:0.536 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site