;
文章:新闻EDA技术电源技术无线通信测量仪表嵌入式类电子技术制造技术半导体网络协议展会实验家电维修 3G  
  下载:EDA教程电源技术电子书籍电子元件无线通信通信网络电路图纸嵌入式类单片机传感/控制电子教材模拟数字
.... 音视频类
消费电子机械电子行业软件C/C++FPGA/ASIC规则标准家电维修DSPIC资料ARM软件电路图电子技术论坛
 
您当前的位置:电子发烧友-> 源码下载 -> 驱动程序 -> uclinux串口驱动程序下载 退出登录 用户管理
栏目导航
uCOS编程 C/C++语言编程
Symbian编程 Linux/uClinux/Unix编程
VHDL/Verilog/EDA源码 VxWorks/Nucleus/eCos/PalmOS
Windows编程 DSP编程
Labview源程序 matlab源程序
asp源码下载 php源码下载
jsp源码下载 asp.net源码下载
java源码下载 汇编编程
编译器/仿真器 驱动程序
集成开发环境源码 单片机编程
加密解密 数值算法/人工智能
其它程序 通讯/手机编程
热门下载
· 《Powerbuilder 9.0实用教...
· 4星级酒店管理系统
· 试题库管理系统
· 人事档案管理系统
· PowerBuilder 8.0基础篇源...
· 联机坦克游戏
· HTML Encryptv2.04
· HomePlus 主页特效专家
· 拼图游戏(java)
· 信用卡管理系统
专题相关
软件名称 uclinux串口驱动程序
运行环境 Win9X/Win2000/WinXP/Win2003/
整理时间 2010-2-8 17:29:52
新频道星级
新频道大小 66 KB csb23@126.com
下载统计
相关连接 官方主页  [点击收藏]
 技术资料介绍

    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 <linux/config.h>
    #include <linux/version.h>

    #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 <linux/module.h>

    #include <linux/types.h>

    #include <taihe/skjconst.h>
    #include <taihe/skj83977.h>

    #ifdef LOCAL_HEADERS
    #include "serial_local.h"
    #else
    #include <linux/serial.h>
    #include <linux/serialP.h>
    //#include <linux/serial_reg.h>
    #include <asm/serial.h>
    #define LOCAL_VERSTRING ""
    #endif

    #include <linux/errno.h>
    #include <linux/signal.h>
    #include <linux/sched.h>
    #include <linux/timer.h>
    #include <linux/interrupt.h>
    #include <linux/tty.h>
    #include <linux/tty_flip.h>
    #include <linux/major.h>
    #include <linux/string.h>
    #include <linux/fcntl.h>
    #include <linux/ptrace.h>
    #include <linux/ioport.h>
    #include <linux/mm.h>
    #include <linux/slab.h>
    #if (LINUX_VERSION_CODE >= 131343)
    #include <linux/init.h>
    #endif
    #if (LINUX_VERSION_CODE >= 131336)
    #include <asm/uaccess.h>
    #endif
    #include <linux/delay.h>
    #ifdef CONFIG_SERIAL_SAMSUNG_CONSOLE
    #include <linux/console.h>
    #endif
    #ifdef CONFIG_MAGIC_SYSRQ
    #include <linux/sysrq.h>
    #endif
    #ifdef CONFIG_LEDMAN
    #include <linux/ledman.h>
    #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

  点击进入uclinux串口驱动程序下载页面
点击此处立即下载 - uclinux串口驱动程序
  相关技术资料下载   相关技术应用阅读
技术资料评论  (评论内容只代表网友观点,与本站立场无关!) 更多评论......
∷下载说明∷
为了达到最快的下载速度,推荐使用[网际快车]下载本站软件。
请一定升级到最新版[WinRAR3.5 ]才能正常解压本站提供的软件!
如果您发现该软件不能下载,请点击报告错误谢谢!
站内提供的所有软件包含破解及注册码均是由网上搜集,若侵犯了你的版权利益,敬请来信通知我们!

 
关于本站- 意见反馈 - 网站导航 - 帮助 - 隐私政策 - 联系我们 - 使用条款 - 安全承诺 - 友情连接 - 欢迎投稿
站长QQ:39550527 Powered by: 飓风网络(电路图
Copyright 2006-2008 Elecfans.Com.电子发烧友: 粤ICP备07065979号All Rights Reserved