Re: Cosmetics - improper registration of resources (floppy.c, serial.c)

Theodore Y. Ts'o (tytso@mit.edu)
Fri, 14 Jun 1996 13:57:54 -0400


Date: Fri, 14 Jun 1996 10:37:05 +0200
From: Harald Anlauf <anlauf@crunch.ikp.physik.th-darmstadt.de>

this is only a minor cosmetic issue, but drivers/block/floppy.c and
drivers/char/serial.c do not properly register the used resources (IRQ's).
The serial driver only registers irq 4 (com1) but not irq 3 (com2);
the floppy driver should register irq 6. Maybe this can be fixed in 2.0.x.

The serial driver only registers the irq when the serial port is open.
Once the serial port is closed, the irq is released, which then drops it
from the /proc/interrupts list.

- Ted