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.1332, 2003/06/09 15:38:24-07:00, greg@kroah.com

PCI: remove pci_present() from drivers/isdn/eicon/Divas_mod.c


drivers/isdn/eicon/Divas_mod.c | 12 ++----------
1 files changed, 2 insertions(+), 10 deletions(-)


diff -Nru a/drivers/isdn/eicon/Divas_mod.c b/drivers/isdn/eicon/Divas_mod.c
--- a/drivers/isdn/eicon/Divas_mod.c Tue Jun 10 11:21:26 2003
+++ b/drivers/isdn/eicon/Divas_mod.c Tue Jun 10 11:21:26 2003
@@ -50,17 +50,9 @@

DivasInitDpc();

- if (pci_present())
+ if (DivasCardsDiscover() < 0)
{
- if (DivasCardsDiscover() < 0)
- {
- printk(KERN_WARNING "Divas: Not loaded\n");
- return -ENODEV;
- }
- }
- else
- {
- printk(KERN_WARNING "Divas: No PCI bus present\n");
+ printk(KERN_WARNING "Divas: Not loaded\n");
return -ENODEV;
}

-
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.023 / U:4.040 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site