public inbox for linux-serial@vger.kernel.org
 help / color / mirror / Atom feed
* Question about IO/MMIO check in uart_configure_port() in serial_core.c
@ 2009-03-22  3:01 Martin Qiu
  0 siblings, 0 replies; only message in thread
From: Martin Qiu @ 2009-03-22  3:01 UTC (permalink / raw)
  To: linux-serial


In uart_configure_port(), there is code:
        /*
         * If there isn't a port here, don't do anything further.
         */
        if (!port->iobase && !port->mapbase && !port->membase)
                return;

Actually, there is some UART devices over SPI interface, which don't have IO spcae or MMIO registers which could be directly accessed, like Maxim's 3100/3110/3111E. Further on, there may be UART devices over I2C.

These check may block those device from been correctly configured in linux, or they have to fake out a iobase or mapbase.. to pass this check, so my question is can these check re removed?

Thanks,
Martin


      ___________________________________________________________ 
  好玩贺卡等你发,邮箱贺卡全新上线! 
http://card.mail.cn.yahoo.com/
--
To unsubscribe from this list: send the line "unsubscribe linux-serial" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-03-22  3:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-22  3:01 Question about IO/MMIO check in uart_configure_port() in serial_core.c Martin Qiu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox