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

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

?? comx.txt

?? 《嵌入式系統設計與實例開發實驗教材二源碼》Linux內核移植與編譯實驗
?? 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一区二区三区免费野_久草精品视频
宅男噜噜噜66一区二区66| 欧美成人女星排名| 一区二区三区四区激情| 成人激情午夜影院| 成人免费在线视频| 正在播放一区二区| 韩国女主播一区| 国产精品久久精品日日| 在线看国产一区| 免费一级欧美片在线观看| 337p粉嫩大胆噜噜噜噜噜91av| 国产精品1024| 亚洲成人资源网| 欧美国产精品一区| 欧美色偷偷大香| 成人在线视频一区二区| 亚洲第一激情av| 国产精品第13页| 欧美一二三区在线观看| 99精品视频一区二区| 久久 天天综合| 亚洲国产日日夜夜| 国产精品欧美久久久久无广告 | 国产精品女人毛片| 欧美久久久久久久久中文字幕| 国产成人免费在线视频| 久久国产精品99久久久久久老狼 | 亚洲美女免费在线| 欧美激情一区在线| 国产嫩草影院久久久久| 日韩精品一区二区三区中文不卡 | 国产一区二区三区在线观看免费视频| 一区二区三区在线视频免费观看| 国产精品女同互慰在线看| 国产亚洲视频系列| 国产精品麻豆一区二区| 欧美国产精品专区| 亚洲乱码国产乱码精品精可以看| 中文字幕一区免费在线观看| 日韩一区日韩二区| 亚洲欧美自拍偷拍色图| 午夜精彩视频在线观看不卡| 91成人网在线| 六月丁香婷婷色狠狠久久| 首页亚洲欧美制服丝腿| 麻豆一区二区三| 国产露脸91国语对白| 白白色亚洲国产精品| 欧美视频一区二区三区四区| 777午夜精品免费视频| 欧美成人三级电影在线| 成人欧美一区二区三区在线播放| 亚洲精品成人精品456| 美女一区二区三区在线观看| 成人av在线网站| 日韩三级中文字幕| 一区二区三区四区乱视频| 日韩精品欧美精品| 色综合夜色一区| 欧美激情艳妇裸体舞| 亚洲一区二区三区爽爽爽爽爽| 激情偷乱视频一区二区三区| 99re视频这里只有精品| 欧美精品一区二区三区很污很色的| 国产精品久久久久一区二区三区共| 午夜精品一区二区三区电影天堂| 国产a视频精品免费观看| 欧美一二三在线| 日韩电影在线一区二区三区| 91最新地址在线播放| 欧美经典一区二区| 狠狠色综合日日| 精品区一区二区| 久久精品噜噜噜成人88aⅴ| 欧美巨大另类极品videosbest| 亚洲精品久久7777| 在线国产亚洲欧美| 一片黄亚洲嫩模| 欧洲av在线精品| 亚洲二区视频在线| 欧美乱妇一区二区三区不卡视频| 亚洲国产精品一区二区www在线| av不卡一区二区三区| 玉米视频成人免费看| 欧美日韩一级片网站| 日本不卡在线视频| xfplay精品久久| 91美女片黄在线| 三级成人在线视频| 欧美高清在线精品一区| 国产91精品入口| 一区二区三区欧美视频| 欧美日韩高清一区| 国产一区二区成人久久免费影院 | 欧美亚洲动漫另类| 免费日本视频一区| 中文字幕中文在线不卡住| 欧美在线不卡视频| 国产成人综合亚洲91猫咪| 一区二区三区四区av| 精品国产伦一区二区三区免费| 成人免费高清在线| 亚洲mv在线观看| 亚洲色图另类专区| 日韩午夜精品视频| 欧美日韩国产综合一区二区三区| 国产精品88av| 免费成人小视频| 亚洲.国产.中文慕字在线| 欧美国产日韩在线观看| 日韩视频免费观看高清完整版 | av一二三不卡影片| 亚洲精品美腿丝袜| 国产精品高清亚洲| 久久午夜色播影院免费高清 | 丁香婷婷深情五月亚洲| 免费观看久久久4p| 免费av成人在线| 青椒成人免费视频| 免费黄网站欧美| 久久66热偷产精品| 国产成a人无v码亚洲福利| 捆绑调教美女网站视频一区| 精品一区二区在线视频| 久久国产视频网| 国产91在线|亚洲| 91欧美一区二区| 在线精品视频一区二区三四| 欧美日韩国产精选| 色婷婷综合久久| 色8久久人人97超碰香蕉987| 在线观看成人小视频| 91精品国产综合久久久久| 久久丝袜美腿综合| 艳妇臀荡乳欲伦亚洲一区| 日韩av电影天堂| 国产成人8x视频一区二区| 色妞www精品视频| 久久综合久久综合九色| 亚洲色图视频网| 韩国理伦片一区二区三区在线播放| 成人性生交大片免费看中文网站| 91福利在线观看| 亚洲色图19p| 天堂资源在线中文精品| 国产高清精品网站| 欧美放荡的少妇| 亚洲国产日韩a在线播放性色| 国产一区二区调教| 日韩一区二区三区在线观看| 国产精品久久久久久久久果冻传媒 | 在线不卡中文字幕| 亚洲视频你懂的| 99re66热这里只有精品3直播 | 国产日韩欧美精品电影三级在线| 亚洲欧美日韩在线| 国产 欧美在线| 国产精品区一区二区三| 精品一区二区三区的国产在线播放| 色综合视频在线观看| 亚洲婷婷综合久久一本伊一区| 国产91在线|亚洲| 亚洲乱码精品一二三四区日韩在线| 国内精品伊人久久久久av影院| 日韩精品在线网站| 国内精品国产成人国产三级粉色 | 日韩一级完整毛片| 美女视频黄a大片欧美| 欧美精品一区二区在线观看| 国产原创一区二区| 中文字幕乱码久久午夜不卡| 99精品桃花视频在线观看| 亚洲高清久久久| 久久久综合视频| 色久优优欧美色久优优| 青青草原综合久久大伊人精品优势 | 国产婷婷色一区二区三区在线| 成人av在线播放网站| 日产欧产美韩系列久久99| 国产日韩综合av| 911精品国产一区二区在线| 三级不卡在线观看| ...xxx性欧美| 久久亚洲春色中文字幕久久久| 色综合色狠狠天天综合色| 国内一区二区在线| 亚洲1区2区3区4区| 亚洲激情自拍视频| 国产亚洲综合av| 欧美精品一区二区精品网| www.亚洲色图| 亚洲视频小说图片| xf在线a精品一区二区视频网站| 91精品福利视频| 成人av网站免费| 成人av免费在线观看| 国产又黄又大久久| 裸体在线国模精品偷拍| 亚洲第一激情av| 五月天激情综合网|