2001-04-18 16:20:40

by Marcus Meissner

[permalink] [raw]
Subject: [PATCH] toshoboe pci enable

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)