Re: [PATCH] hp100.c: add missing pci_enable_device()

From: Jeff Garzik
Date: Tue Aug 24 2004 - 19:48:38 EST


Linux Kernel Mailing List wrote:
diff -Nru a/drivers/net/hp100.c b/drivers/net/hp100.c
--- a/drivers/net/hp100.c 2004-08-24 15:25:16 -07:00
+++ b/drivers/net/hp100.c 2004-08-24 15:25:16 -07:00
@@ -2910,10 +2910,15 @@
int ioaddr = pci_resource_start(pdev, 0);
u_short pci_command;
int err;
-
+
if (!dev)
return -ENOMEM;
+ if (pci_enable_device(pdev)) {


_Obviously_ incomplete change. Look above, and see pci_resource_start()

Jeff


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