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

Alan Cox (alan@cymru.net)
Fri, 14 Jun 1996 16:20:23 +0100 (BST)


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

BZZT. The register interrupts when they are using them. This allows two
devices to share the IRQ if not used at the same time.