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.1347, 2003/06/09 15:54:20-07:00, greg@kroah.com

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


drivers/net/wan/sdladrv.c | 8 +-------
1 files changed, 1 insertion(+), 7 deletions(-)


diff -Nru a/drivers/net/wan/sdladrv.c b/drivers/net/wan/sdladrv.c
--- a/drivers/net/wan/sdladrv.c Tue Jun 10 11:20:07 2003
+++ b/drivers/net/wan/sdladrv.c Tue Jun 10 11:20:07 2003
@@ -1905,13 +1905,7 @@
struct pci_dev *pci_dev;


-#ifdef CONFIG_PCI
- if(!pci_present())
- {
- printk(KERN_INFO "%s: PCI BIOS not present!\n", modname);
- return 0;
- }
-#else
+#ifndef CONFIG_PCI
printk(KERN_INFO "%s: Linux not compiled for PCI usage!\n", modname);
return 0;
#endif
-
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.033 / U:0.004 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site