Messages in this thread Patch in this message | | | Date | Tue, 10 Aug 1999 18:00:22 +0300 (EEST) | From | Vladimir Chernyshov <> | Subject | parport_pc patch and question |
| |
Hello people
When rmmod'ing parport_pc.o (kernel 2.3.13), that have been working in non-EPP modes, kernel reports this message: "Trying to free nonexistent resource <037b-037a>" Here is a small fix to solve the problem:
--- parport_pc_old.c Tue Aug 10 09:46:10 1999 +++ parport_pc.c Tue Aug 10 15:23:03 1999 @@ -1879,7 +1879,7 @@ if (p->irq != PARPORT_IRQ_NONE) free_irq(p->irq, p); release_region(p->base, 3); - if (p->size > 3); + if (p->size > 3) release_region(p->base + 3, p->size - 3); if (p->modes & PARPORT_MODE_ECP) release_region(p->base_hi, 3); BTW, in recent development kernels parport_pc.o has stopped to detect EPP modes of parralel port if I set it up in CMOS-setup as "EPP+ECP". In 2.2.10 it correctly detects all combinations of EPP. Is it a bug or a feature? (my mainboard is based on Intel's VX chipset)
Vladimir P.S. please CC replies to me
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |