Re: commit 7e92b4fc34 - x86, serial: convert legacy COM ports toplatform devices - broke my serial console

From: Alan Cox
Date: Wed Jul 25 2007 - 13:34:22 EST


> The IR driver would be the clear owner of the entire device. Of course,
> this still only works if we get rid of the 8250 blind probe for 0x3e8
> or figure out some API for the IR driver to tell the 8250 driver to get
> its mitts off.

As far as I can see all we need is something of the form


serial8250_claim_uart(unsigned long ioaddr, int type)

(type as we don't have iomap on most platforms yet)

returning

-EBUSY "serial port is open"
-ENOENT "never heard of it"
0 "ok"

and
serial8250_unclaim_uart(unsigned long ioaddr, int type)

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/