lkml.org 
[lkml]   [1999]   [Oct]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectserial.c patch in 2.3.19
Hi Ted

Do you know who added the following patch in 2.3.19
and what its purpose is?

It's breaking systems and HOWTO's. It's getting difficult
to convince serial.c to give up its lock on the ioregion
if one has another driver that also drives 8250 style
serial ports (such as baycom_ser_*).

Thanks Jean-Luc f5ibh@db0bm.ampr.org for finding the problem.

setserial /dev/ttySx port 0 seems to be the only way
to convince serial to give up a particular port.

Tom

@@ -2006,7 +2006,7 @@
info->xmit_fifo_size = state->xmit_fifo_size =
new_serial.xmit_fifo_size;

- if (state->port)
+ if (state->type != PORT_UNKNOWN && state->port)
release_region(state->port,8);
if (change_port || change_irq) {
/*

-
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:54    [W:0.080 / U:1.476 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site