* fix for pci_enable_device in 2.4.19ac3
@ 2002-08-05 5:32 Jeremy Fitzhardinge
0 siblings, 0 replies; only message in thread
From: Jeremy Fitzhardinge @ 2002-08-05 5:32 UTC (permalink / raw)
To: Alan Cox; +Cc: Linux Kernel List
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 @@
int
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).
J
[ sorry about the resend; forgot to turn off HTML ]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-08-05 5:28 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-08-05 5:32 fix for pci_enable_device in 2.4.19ac3 Jeremy Fitzhardinge
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox