fix for pci_enable_device in 2.4.19ac3

From: Jeremy Fitzhardinge (
Date: Mon Aug 05 2002 - 00:32:13 EST

I found my tulip driver was complaining about not being able to enable
the device. Turns out this was the problem:

==== //depot/linux/2.4ac/drivers/pci/pci.c#3 - /home/jeremy/p4/linux/2.4ac/drivers/pci/pci.c ====
@@ -389,7 +389,7 @@
 pci_enable_device(struct pci_dev *dev)
- pci_enable_device_bars(dev, 0x3F);
+ return pci_enable_device_bars(dev, 0x3F);

I guess nobody else checks their error returns (or it just happened to
always return 0).


[ sorry about the resend; forgot to turn off HTML ]

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Wed Aug 07 2002 - 22:00:26 EST