lkml.org 
[lkml]   [1999]   [Aug]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subjectparport_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/

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