TI论坛
直播中

马聪

7年用户 204经验值
私信 关注

请问driver/tty/serial/8250/8250-omap.c驱动是什么串口驱动?

本帖最后由 一只耳朵怪 于 2018-6-21 10:24 编辑

各位好。
我使用的是4.9.28的内核,发现tisdk_am335x-evm_defconfig默认的配置文件中,配置串口是CONFIG_SERIAL_8250,而不是CONFIG_SERIAL_OMAP,那么这里为什么要配置成8250呢?8250的串口驱动是干嘛用的?

回帖(1)

吴思莹

2018-6-21 02:08:19
一般这种信息在user guide中的相关模块章节都能查到:
比如你的这个问题:

The 8250 UART driver framework has been used for many years for several processors including x86. Therefore, TI plans on shifting away from omap-serial driver to the generic 8250 framework. 8250 support for OMAP devices was accepted into mainline 3.19 kernel.
Currently there are two UART drivers available to the user and by default the legacy omap-serial driver is used. The current plan is to eventually make the 8250 driver the default for OMAP devices after several kernel releases to insure proper testing.
However, the 8250 driver includes several features that are extremely useful for some users right now. The biggest new feature is support for DMA when using UART which significantly increases throughput and reliability while at the same time significantly decreasing CPU load. If you will be transferring alot of data via UART at a very high baud rate then it is recommend to use the 8250 driver.
举报

更多回帖

发帖
×
20
完善资料,
赚取积分