From: Martin Qiu <martin_sjtu@yahoo.com.cn>
To: linux-serial@vger.kernel.org
Subject: Question about IO/MMIO check in uart_configure_port() in serial_core.c
Date: Sun, 22 Mar 2009 11:01:41 +0800 (CST) [thread overview]
Message-ID: <158785.33395.qm@web15804.mail.cnb.yahoo.com> (raw)
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
reply other threads:[~2009-03-22 3:08 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=158785.33395.qm@web15804.mail.cnb.yahoo.com \
--to=martin_sjtu@yahoo.com.cn \
--cc=linux-serial@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox