[PATCH] toshoboe pci enable

Marcus Meissner (Marcus.Meissner@caldera.de)
Wed, 18 Apr 2001 18:20:12 +0200


Hi,

Enable PCI for toshoboe IRDA adapters.

Ciao, Marcus

Index: drivers/net/irda/toshoboe.c
===================================================================
RCS file: /build/mm/work/repository/linux-mm/drivers/net/irda/toshoboe.c,v
retrieving revision 1.12
diff -u -r1.12 toshoboe.c
--- drivers/net/irda/toshoboe.c 2001/04/17 17:26:03 1.12
+++ drivers/net/irda/toshoboe.c 2001/04/18 16:18:24
@@ -722,6 +722,9 @@
return -ENOMEM;
}

+ if ((err=pci_enable_device(pci_dev)))
+ return err;
+
self = kmalloc (sizeof (struct toshoboe_cb), GFP_KERNEL);

if (self == NULL)
-
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/