亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? comx.txt

?? 嵌入式系統設計與實例開發源碼
?? TXT
字號:
		COMX drivers for the 2.2 kernelOriginally written by: Tivadar Szemethy, <tiv@itc.hu>Currently maintained by: Gergely Madarasz <gorgo@itc.hu>Last change: 21/06/1999.INTRODUCTIONThis document describes the software drivers and their use for the COMX line of synchronous serial adapters for Linux version 2.2.0 andabove.The cards are produced and sold by ITC-Pro Ltd. Budapest, HungaryFor further info contact <info@itc.hu> or http://www.itc.hu (mostly in Hungarian).The firmware files and software are available from ftp://ftp.itc.huCurrently, the drivers support the following cards and protocols:COMX (2x64 kbps intelligent board)CMX (1x256 + 1x128 kbps intelligent board)HiCOMX (2x2Mbps intelligent board)LoCOMX (1x512 kbps passive board)MixCOM (1x512 or 2x512kbps passive board with a hardware watchdog an	optional BRI interface and optional flashROM (1-32M))At the moment of writing this document, the (Cisco)-HDLC, LAPB, SyncPPP andFrame Relay (DTE, rfc1294 IP encapsulation with partially implemented Q933a LMI) protocols are available as link-level protocol. X.25 support is being worked on.USAGELoad the comx.o module and the hardware-specific and protocol-specific modules you'll need into the running kernel using the insmod utility.This creates the /proc/comx directory.See the example scripts in the 'etc' directory./proc INTERFACE INTROThe COMX driver set has a new type of user interface based on the /proc filesystem which eliminates the need for external user-land software doing IOCTL calls. Each network interface or device (i.e. those ones you configure with 'ifconfig'and 'route' etc.) has a corresponding directory under /proc/comx. You candynamically create a new interface by saying 'mkdir /proc/comx/comx0' (or youcan name it whatever you want up to 8 characters long, comx[n] is just a convention).Generally the files contained in these directories are text files, which canbe viewed by 'cat filename' and you can write a string to such a file bysaying 'echo _string_ >filename'. This is very similar to the sysctl interface.Don't use a text editor to edit these files, always use 'echo' (or 'cat'where appropriate).When you've created the comx[n] directory, two files are created automagicallyin it: 'boardtype' and 'protocol'. You have to fill in these files correctlyfor your board and protocol you intend to use (see the board and protocol descriptions in this file below or the example scripts in the 'etc' directory).After filling in these files, other files will appear in the directory for setting the various hardware- and protocol-related informations (for exampleirq and io addresses, keepalive values etc.) These files are set to default values upon creation, so you don't necessarily have to change all of them.When you're ready with filling in the files in the comx[n] directory, you canconfigure the corresponding network interface with the standard network configuration utilities. If you're unable to bring the interfaces up, look upthe various kernel log files on your system, and consult the messages fora probable reason.EXAMPLETo create the interface 'comx0' which is the first channel of a COMX card:insmod comx # insmod comx-hw-comx ; insmod comx-proto-hdlc  (these are usuallyautoloaded if you use the kernel module loader)mkdir /proc/comx/comx0echo comx >/proc/comx/comx0/boardtypeecho 0x360 >/proc/comx/comx0/io		<- jumper-selectable I/O port echo 0x0a >/proc/comx/comx0/irq		<- jumper-selectable IRQ lineecho 0xd000 >/proc/comx/comx0/memaddr	<- software-configurable memory					   address. COMX uses 64 KB, and this					   can be: 0xa000, 0xb000, 0xc000, 					   0xd000, 0xe000. Avoid conflicts					   with other hardware.cat </etc/siol1.rom >/proc/comx/comx0/firmware <- the firmware for the cardecho HDLC >/proc/comx/comx0/protocol	<- the data-link protocolecho 10 >/proc/comx/comx0/keepalive	<- the keepalive for the protocolifconfig comx0 1.2.3.4 pointopoint 5.6.7.8 netmask 255.255.255.255 <-					   finally configure it with ifconfigCheck its status:cat /proc/comx/comx0/statusIf you want to use the second channel of this board:mkdir /proc/comx/comx1echo comx >/proc/comx/comx1/boardtypeecho 0x360 >/proc/comx/comx1/io	echo 10 >/proc/comx/comx1/irq		echo 0xd000 >/proc/comx/comx1/memaddrecho 1 >/proc/comx/comx1/channel	<- channels are numbered 					   as 0 (default) and 1Now, check if the driver recognized that you're going to use the otherchannel of the same adapter:cat /proc/comx/comx0/twincomx1cat /proc/comx/comx1/twincomx0You don't have to load the firmware twice, if you use both channels ofan adapter, just write it into the channel 0's /proc firmware file.Default values: io 0x360 for COMX, 0x320 (HICOMX), irq 10, memaddr 0xd0000THE LOCOMX HARDWARE DRIVERThe LoCOMX driver doesn't require firmware, and it doesn't use memory either,but it uses DMA channels 1 and 3. You can set the clock rate (if enabled byjumpers on the board) by writing the kbps value into the file named 'clock'.Set it to 'external' (it is the default) if you have external clock source.(Note: currently the LoCOMX driver does not support the internal clock)THE COMX, CMX AND HICOMX DRIVERSOn the HICOMX, COMX and CMX, you have to load the firmware (it is different forthe three cards!). All these adapters can share the same memoryaddress (we usually use 0xd0000). On the CMX you can set the internalclock rate (if enabled by jumpers on the small adapter boards) by writingthe kbps value into the 'clock' file. You have to do this before initializingthe card. If you use both HICOMX and CMX/COMX cards, initialize the HICOMXfirst. The I/O address of the HICOMX board is not configurable by anymethod available to the user: it is hardwired to 0x320, and if you have to change it, consult ITC-Pro Ltd.THE MIXCOM DRIVERThe MixCOM board doesn't require firmware, the driver communicates withit through I/O ports. You can have three of these cards in one machine.THE HDLC LINE PROTOCOL DRIVERThere's only one configurable parameter with this protocol: the 'keepalive'value. You can set this in seconds or set to 'off'. Agree with the administratorof your peer router on this setting. The default is 10 (seconds).EXAMPLE(setting up hw parameters, see above)echo hdlc >/proc/comx/comx0/protocolecho 10 >/proc/comx/comx0/keepalive	<- not necessary, 10 is the defaultifconfig comx0 1.2.3.4 pointopoint 5.6.7.8 netmask 255.255.255.255THE PPP LINE PROTOCOL DRIVERTo use this driver, you have to have ppp-2.3.4, and have a modified version ofpppd (this pppd will work as async pppd to, the modifiactions merely relax some restricions in order to be able to use non-async lines too.If configured, this driver can use Van Jacobson TCP header compression (you'llneed the slhc.o module for this).Additionally to use this protocol, enable async ppp in your kernel config, andcreate the comx device special files in /dev. They're character special fileswith major 88, and their names must be the same as their network interfacecounterparts (i.e /dev/comx0 with minor 0 corresponds interface comx0 and soon).EXAMPLE(setting up hw parameters, see above)echo ppp >/proc/comx/comx0/protocolifconfig comx0 uppppd comx0 1.2.3.4:5.6.7.8 persist	<- with this option pppd won't exit					   when the line goes downTHE LAPB LINE PROTOCOL DRIVERFor this, you'll need to configure LAPB support (See 'LAPB Data Link Driver' in'Network options' section) into your kernel (thanks to Jonathan Naylor for his excellent implementation). comxlapb.o provides the following files in the appropriate directory(the default values in parens): t1 (5), t2 (1), n2 (20), mode (DTE, STD) andwindow (7). Agree with the administrator of your peer router on thesesettings (most people use defaults, but you have to know if you are DTE orDCE).EXAMPLE(setting up hw parameters, see above)echo lapb >/proc/comx/comx0/protocolecho dce >/proc/comx/comx0/mode		<- DCE interface in this exampleifconfig comx0 1.2.3.4 pointopoint 5.6.7.8 netmask 255.255.255.255THE FRAME RELAY PROTOCOL DRIVERYou DON'T need any other frame relay related modules from the kernel to useCOMX-Frame Relay. This protocol is a bit more complicated than the others, because it allows to use 'subinterfaces' or DLCIs within one physical device.First you have to create the 'master' device (the actual physical interface)as you would do for other protocols. Specify 'frad' as protocol type.Now you can bring this interface up by saying 'ifconfig comx0 up' (or whateveryou've named the interface). Do not assign any IP address to this interfaceand do not set any routes through it.Then, set up your DLCIs the following way: create a comx interface for eachDLCI you intend to use (with mkdir), and write 'dlci' to the 'boardtype' file, and 'ietf-ip' to the 'protocol' file. Currently, the only supported encapsulation type is this (also called as RFC1294/1490 IP encapsulation).Write the DLCI number to the 'dlci' file, and write the name of the physicalCOMX device to the file called 'master'. Now you can assign an IP address to this interface and set routes using it.See the example file for further info and example config script.Notes: this driver implements a DTE interface with partially implementedQ933a LMI.You can find an extensively commented example in the 'etc' directory.FURTHER /proc FILESboardtype:Type of the hardware. Valid values are: 'comx', 'hicomx', 'locomx', 'cmx'.protocol:Data-link protocol on this channel. Can be: HDLC, LAPB, PPP, FRADstatus:You can read the channel's actual status from the 'status' file, for example'cat /proc/comx/comx3/status'.lineup_delay:Interpreted in seconds (default is 1). Used to avoid line jitter: the systemwill consider the line status 'UP' only if it is up for at least this numberof seconds.debug: You can set various debug options through this file. Valid options are:'comx_events', 'comx_tx', 'comx_rx', 'hw_events', 'hw_tx', 'hw_rx'.You can enable a debug options by writing its name prepended by a '+' intothe debug file, for example 'echo +comx_rx >comx0/debug'. Disabling an option happens similarly, use the '-' prefix (e.g. 'echo -hw_rx >debug').Debug results can be read from the debug file, for example: tail -f /proc/comx/comx2/debug

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲视频图片小说| 免费成人小视频| 欧美猛男男办公室激情| 亚洲第一激情av| 久久新电视剧免费观看| 日韩一区二区三区免费看| 成人动漫精品一区二区| 日韩高清中文字幕一区| 国产精品少妇自拍| 国产精品美女久久久久久2018| 欧美变态口味重另类| 欧美日韩一本到| 99久久精品免费精品国产| 国产精品一区免费视频| 日本中文一区二区三区| 亚洲欧美日韩国产另类专区| 久久青草欧美一区二区三区| 日本一区二区三区电影| 精品国产乱码久久久久久闺蜜| 欧美日韩综合色| 91丨九色丨国产丨porny| 欧美亚洲综合另类| 色婷婷综合久久久久中文一区二区| 国产精品正在播放| 偷拍自拍另类欧美| 精品系列免费在线观看| 天天色天天操综合| 婷婷六月综合网| 日韩精品最新网址| 亚洲欧洲无码一区二区三区| 久久精品视频在线免费观看| 亚洲精品在线观看视频| 欧美综合色免费| 日韩精品一区二区在线观看| 欧亚一区二区三区| 欧美三级电影一区| 在线观看视频一区二区| 日韩免费视频一区| 欧美va日韩va| 日韩欧美一二三区| 色哟哟一区二区三区| 制服.丝袜.亚洲.另类.中文| 欧美一区二区国产| 日韩欧美中文字幕制服| 91浏览器在线视频| 欧美不卡一区二区| 中文字幕一区av| 亚洲一区二区三区在线看| 91亚洲国产成人精品一区二三| 色国产精品一区在线观看| 欧美亚洲一区二区三区四区| 欧美日韩精品一区二区在线播放| 欧美日本高清视频在线观看| 精品国产一区二区三区四区四 | 欧美日免费三级在线| 欧美精品在线一区二区三区| 在线播放一区二区三区| 久久女同互慰一区二区三区| 三级久久三级久久| 精品系列免费在线观看| 94-欧美-setu| 成人高清av在线| 国产午夜精品一区二区三区嫩草| 亚洲欧美日韩中文播放 | 丁香网亚洲国际| 日韩欧美国产三级| 中文字幕成人av| 夜夜亚洲天天久久| 亚洲午夜在线电影| 欧美在线视频日韩| 337p粉嫩大胆噜噜噜噜噜91av| 亚洲人成网站在线| 国产无人区一区二区三区| 青娱乐精品视频| jlzzjlzz欧美大全| 精品美女一区二区| 777午夜精品视频在线播放| 久久精品日产第一区二区三区高清版 | 免费观看成人鲁鲁鲁鲁鲁视频| 国产精品1区二区.| 9191国产精品| 喷水一区二区三区| 色偷偷久久人人79超碰人人澡 | 亚洲视频精选在线| 99久久国产综合精品色伊| 7777精品伊人久久久大香线蕉完整版| 中文字幕亚洲视频| 国产麻豆91精品| 国产欧美精品一区| 极品尤物av久久免费看| 欧美日韩美女一区二区| 亚洲欧美色一区| 日本怡春院一区二区| 日韩三级视频在线观看| 亚洲成人精品一区| 国产.精品.日韩.另类.中文.在线.播放| 在线不卡一区二区| 毛片一区二区三区| 在线综合+亚洲+欧美中文字幕| 成人免费视频在线观看| 欧美大肚乱孕交hd孕妇| 亚洲成a人片在线不卡一二三区| 国产日产欧美一区| 亚洲人午夜精品天堂一二香蕉| 婷婷夜色潮精品综合在线| 成人国产精品免费观看动漫| 欧美大尺度电影在线| 亚洲不卡一区二区三区| 国产一区二区伦理| 欧美精品国产精品| 亚洲成人免费影院| 成人午夜视频在线| 久久一区二区三区四区| 日韩电影在线一区| 欧美成人一区二区| 久久国产精品无码网站| 日韩一区二区三区免费看| 亚洲美女区一区| 色婷婷综合在线| 亚洲天堂2016| 欧美日韩国产一级| 午夜天堂影视香蕉久久| 欧美在线观看一区二区| 亚洲与欧洲av电影| 在线免费观看日本欧美| 麻豆一区二区三区| 白白色 亚洲乱淫| 亚洲精品一区在线观看| 岛国精品一区二区| 亚洲一区二区在线免费看| 欧美久久一区二区| 国产一区二区三区美女| 日韩一区日韩二区| 717成人午夜免费福利电影| 精品一区二区在线播放| 国产欧美精品一区二区色综合 | 欧美一区二区人人喊爽| 亚洲视频一区在线| 欧美网站大全在线观看| 国产999精品久久久久久| 亚洲精品视频一区| wwwwww.欧美系列| 欧美色图激情小说| 成人一区在线看| 老色鬼精品视频在线观看播放| 综合网在线视频| 久久色.com| 欧美一卡二卡三卡| 欧美日韩精品系列| av中文字幕亚洲| 成人视屏免费看| 国产另类ts人妖一区二区| 国产中文一区二区三区| 欧美日韩成人在线一区| 国内偷窥港台综合视频在线播放| 亚洲一区影音先锋| 亚洲午夜精品在线| 日韩码欧中文字| 亚洲欧美日韩中文字幕一区二区三区 | 亚洲国产欧美日韩另类综合| 亚洲精品伦理在线| 五月婷婷综合在线| 国产自产高清不卡| 丁香五精品蜜臀久久久久99网站| 精品一二三四在线| 丁香六月久久综合狠狠色| 蜜桃视频一区二区三区在线观看| 综合欧美亚洲日本| 一区二区三区四区视频精品免费| 亚洲男人的天堂av| 蜜臀av一区二区在线免费观看| 天堂影院一区二区| www.在线成人| 久久―日本道色综合久久| 亚洲乱码精品一二三四区日韩在线 | 日韩一二三区视频| 日韩美女啊v在线免费观看| 免费成人美女在线观看| 色中色一区二区| 欧美日韩国产高清一区二区三区 | 国产欧美日本一区二区三区| 一色桃子久久精品亚洲| 极品少妇xxxx精品少妇| 欧洲精品在线观看| 综合在线观看色| 国产精品99久久不卡二区| 在线一区二区三区四区五区| 中文天堂在线一区| 国产99精品国产| 亚洲国产岛国毛片在线| 日韩电影在线看| 日韩一级大片在线| 偷拍亚洲欧洲综合| 色呦呦国产精品| 天使萌一区二区三区免费观看| 成人动漫视频在线| 最新日韩在线视频| 欧美日韩卡一卡二| 美腿丝袜在线亚洲一区| 久久一留热品黄|