色哟哟视频在线观看-色哟哟视频在线-色哟哟欧美15最新在线-色哟哟免费在线观看-国产l精品国产亚洲区在线观看-国产l精品国产亚洲区久久

您好,歡迎來電子發燒友網! ,新用戶?[免費注冊]

您的位置:電子發燒友網>源碼下載>驅動程序>

uclinux串口驅動程序

大小:66 人氣:18 2010-02-08 需要積分:0
{$username}的空間

用戶級別:注冊會員

貢獻文章:

貢獻資料:

uclinux串口驅動程序源代碼:

/*
?*? linux/drivers/char/serial_44b0.c
?*
?*? Copyright (C) 1991, 1992? Linus Torvalds
?*? Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997,
?* ??1998, 1999? Theodore Ts'o
?*
?*? Extensively rewritten by Theodore Ts'o, 8/16/92 -- 9/14/92.? Now
?*? much more extensible to support other serial cards based on the
?*? 16450/16550A UART's.? Added support for the AST FourPort and the
?*? Accent Async board.?
?*
?*? set_serial_info fixed to set the flags, custom divisor, and uart
?* ?type fields.? Fix suggested by Michael K. Johnson 12/12/92.
?*
?*? 11/95: TIOCMIWAIT, TIOCGICOUNT by Angelo Haritsis <ah@doc.ic.ac.uk>
?*
?*? 03/96: Modularised by Angelo Haritsis <ah@doc.ic.ac.uk>
?*
?*? rs_set_termios fixed to look also for changes of the input
?*????? flags INPCK, BRKINT, PARMRK, IGNPAR and IGNBRK.
?*??????????????????????????????????????????? Bernd Anh鋟pl 05/17/96.
?*
?*? 1/97:? Extended dumb serial ports are a config option now.?
?*???????? Saves 4k.?? Michael A. Griffith <grif@acm.org>
?*
?*? 8/97: Fix bug in rs_set_termios with RTS
?*??????? Stanislav V. Voronyi <stas@uanet.kharkov.ua>
?*
?*? 3/98: Change the IRQ detection, use of probe_irq_o*(),
?*?? suppress TIOCSERGWILD and TIOCSERSWILD
?*?? Etienne Lorrain <etienne.lorrain@ibm.net>
?*
?*? 4/98: Added changes to support the ARM architecture proposed by
?* ?? Russell King
?*
?*? 5/99: Updated to include support for the XR16C850 and ST16C654
?*??????? uarts.? Stuart MacDonald <stuartm@connecttech.com>
?*
?*? 8/99: Generalized PCI support added.? Theodore Ts'o
?*
?*? 3/00: Rid circular buffer of redundant xmit_cnt.? Fix a
?*?? few races on freeing buffers too.
?*?? Alan Modra <alan@linuxcare.com>
?*
?*? 5/00: Support for the RSA-DV II/S card added.
?*?? Kiyokazu SUTO <suto@ks-and-ks.ne.jp>
?*
?*? 6/00: Remove old-style timer, use timer_list
?*??????? Andrew Morton <andrewm@uow.edu.au>
?*
?*? 7/00: Support Timedia/Sunix/Exsys PCI cards
?*
?*? 7/00: fix some returns on failure not using MOD_DEC_USE_COUNT.
?*?? Arnaldo Carvalho de Melo <acme@conectiva.com.br>
?*
?* 10/00: add in optional software flow control for serial console.
?*?? Kanoj Sarcar <kanoj@sgi.com>? (Modified by Theodore Ts'o)
?*
?* 09/02: modify by wesley king for s3c44b0's serial console.
?*?? Qin Wei <king@micetek.com.cn>
?*
?* 01/03: modify by wesley king for s3c44b0's serial console, support ev44b0ii.
?*?? Qin Wei <king@micetek.com.cn>
?*
?*/

static char *serial_version = "1.10";
static char *serial_revdate = "2003-01-15";

/*
?* Serial driver configuration section.? Here are the various options:
?*
?* CONFIG_HUB6
?*??Enables support for the venerable Bell Technologies
?*??HUB6 card.
?*
?* CONFIG_SERIAL_MANY_PORTS
?* ??Enables support for ports beyond the standard, stupid
?* ??COM 1/2/3/4.
?*
?* CONFIG_SERIAL_MULTIPORT
?* ??Enables support for special multiport board support.
?*
?* CONFIG_SERIAL_SHARE_IRQ
?* ??Enables support for multiple serial ports on one IRQ
?*
?* CONFIG_SERIAL_DETECT_IRQ
?*??Enable the autodetection of IRQ on standart ports
?*
?* SERIAL_PARANOIA_CHECK
?* ??Check the magic number for the async_structure where
?* ??ever possible.
?*/

#include
#include

#undef SERIAL_PARANOIA_CHECK
#define CONFIG_SERIAL_NOPAUSE_IO
#define SERIAL_DO_RESTART

/* Set of debugging defines */

#undef SERIAL_DEBUG_INTR
#undef SERIAL_DEBUG_OPEN
#undef SERIAL_DEBUG_FLOW
#undef SERIAL_DEBUG_RS_WAIT_UNTIL_SENT
#undef SERIAL_DEBUG_PCI
#undef SERIAL_DEBUG_AUTOCONF

/* Sanity checks */
// Qinwei : for using polling mode to send char on serial port
//#define UARTPOLLING
#undef UARTPOLLING

#ifdef UARTPOLLING
#define RS_STROBE_TIME 10*HZ
#else
#define RS_STROBE_TIME 10
#endif
#define RS_ISR_PASS_LIMIT 256

#if defined(__i386__) && (defined(CONFIG_M386) || defined(CONFIG_M486))
#define SERIAL_INLINE
#endif
?
/*
?* End of serial driver configuration section.
?*/

#include

#include

#include
#include

#ifdef LOCAL_HEADERS
#include "serial_local.h"
#else
#include
#include
//#include
#include
#define LOCAL_VERSTRING ""
#endif

#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#if (LINUX_VERSION_CODE >= 131343)
#include
#endif
#if (LINUX_VERSION_CODE >= 131336)
#include
#endif
#include
#ifdef CONFIG_SERIAL_SAMSUNG_CONSOLE
#include
#endif
#ifdef CONFIG_MAGIC_SYSRQ
#include
#endif
#ifdef CONFIG_LEDMAN
#include
#endif

/*
?* All of the compatibilty code so we can compile serial.c against
?* older kernels is hidden in serial_compat.h
?*/
#if defined(LOCAL_HEADERS) || (L

非常好我支持^.^

(1) 100%

不好我反對

(0) 0%

用戶評論

      ?
      主站蜘蛛池模板: 国产无遮挡色视频免费观看性色 | 欧洲xxxxx| 迅雷哥在线观看高清 | 吉吉影音先锋av资源网 | 亚洲福利天堂网福利在线观看 | 天天躁日日躁狠狠躁中文字幕老牛 | 精品欧美18videosex欧美 | 日本高清无人区影院 | 超级最爽的乱淫片免费 | 亚洲精品成人AV在线观看爽翻 | 国产AV一区二区三区日韩 | 一二三四高清中文版视频 | 免费视频国产在线观看网站 | 亚洲第一成年网站视频 | 99精品国产在热久久 | 亚洲免费在线视频 | 夜夜国产亚洲视频香蕉 | 熟女强奷系列中文字幕 | 欧美日本高清动作片www网站 | 亚洲精品成人A8198A片漫画 | 国产嫩草影院精品免费网址 | 久久性综合亚洲精品电影网 | 婷婷激情综合色五月久久竹菊影视 | 成人伊人青草久久综合网 | 伊人久久免费 | 亚洲乱码中文字幕久久 | 一起碰一起噜一起草视频 | 动漫美女和男人下载 | 中文字幕一区中文亚洲 | 欧美日韩亚洲第一区在线 | 久久草福利自拍视频在线观看 | 国内久久久久影院精品 | 久久精品国产亚洲AV蜜臀 | 国产专区亚洲欧美另类在线 | 欧美亚洲国产专区在线 | 国产精品日本不卡一区二区 | 在线看免费毛片 | 国产精品色午夜视频免费看 | 97蜜桃123| 国际老妇高清在线观看 | 两个奶被男人揉了一个晚上 |