lkml.org 
[lkml]   [2002]   [Aug]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Subjectfix for pci_enable_device in 2.4.19ac3
From
Date
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 ]

-
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/

\
 
 \ /
  Last update: 2005-03-22 13:27    [W:0.025 / U:0.136 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site