Re: /proc/interrupts and serial

Theodore Y. Ts'o (tytso@mit.edu)
Tue, 6 Oct 1998 23:58:54 -0400


Date: Tue, 06 Oct 1998 13:06:35 -0700
From: Thomas Davis <tadavis@lbl.gov>

Etienne Lorrain wrote:
> /dev/ttyS* is open - ioports are permanently reserved.

and permanently is wrong.

if pcmcia calls the serial_register, and then the serial_deregister
function, the ioports are still reserved, even though the hardware
may be _gone_.

Permanently wasn't the best term to use. What Etienne meant to say is
that IO ports are reserved even when the serial port is closed. Of
course, if a PCMCIA serial port is deregstered, the IOport reservation
goes away. And if you unload the serial driver (assuming it is a
compiled as a module), it will automatically release the ioports as
well.

- Ted

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