All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] toshoboe pci enable
@ 2001-04-18 16:20 Marcus Meissner
  0 siblings, 0 replies; only message in thread
From: Marcus Meissner @ 2001-04-18 16:20 UTC (permalink / raw)
  To: linux-kernel, Alan Cox

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)

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-04-18 16:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-04-18 16:20 [PATCH] toshoboe pci enable Marcus Meissner

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.