[PATCH] toshoboe pci enable

From: Marcus Meissner (Marcus.Meissner@caldera.de)
Date: Wed Apr 18 2001 - 11:20:12 EST


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/



This archive was generated by hypermail 2b29 : Mon Apr 23 2001 - 21:00:27 EST