Yenta CardBus disables IRQ on insert

Martin Wolf webmaster at checkpoint-computer.de
Sun Feb 20 09:19:51 EST 2005


well i patched the kernel with patch -p1 < patch (the thing you mailed) 
and it did nothing
i just get the same errors again maybe i did something wrong with 
patching???

i made a file called patch and inserted this

diff -Nru a/drivers/pci/pci.c b/drivers/pci/pci.c
--- a/drivers/pci/pci.c	2005-02-20 02:07:04 -08:00
+++ b/drivers/pci/pci.c	2005-02-20 02:07:04 -08:00
@@ -268,7 +268,7 @@
 		return -EIO; 
 
 	pci_read_config_word(dev,pm + PCI_PM_PMC,&pmc);
-	if ((pmc & PCI_PM_CAP_VER_MASK) != 2) {
+	if ((pmc & PCI_PM_CAP_VER_MASK) > 2) {
 		printk(KERN_DEBUG
 		       "PCI: %s has unsupported PM cap regs version (%u)\n",
 		       dev->slot_name, pmc & PCI_PM_CAP_VER_MASK);


correct?

when patch was done it said something like patch stopped in the middle 
of the line.
but the lines are in the file now.


-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 266.1.0 - Release Date: 18.02.2005




More information about the linux-pcmcia mailing list