|
̾??cx , if_cx —
Ʊ??/??Ʊ?? Cronyx-Sigma
?????ץ??ɥ饤??
????device cx0 at isa? port 0x240 irq 15 drq 7
device cx1 at isa? port 0x260 irq 12 drq 6
pseudo-device sppp
i/o ?١??????ɥ쥹?ϡ??ܡ??ɾ??Υ??????Ѥ????ꤵ???ޤ??? DMA ?????ͥ??ȳ??????ߥꥯ???????ֹ??ϡ? ?????ץ??????????˥??եȥ??????????ꤵ???ޤ??? ?̾????ͤϰʲ????̤??Ǥ???
????Cronyx-Sigma ?ɥ饤?Фϥ??ǥ? 100, 400, 500, 401, 404, 410, 440, 703, 801, 810, 840 ?ݡ??Ȥ??ޤ??? ???ǥ뤬?ۤʤ??ȡ??????ͥ??Υ??åȤ??ۤʤ??ޤ???
?դ??ĤΥ????ץ??ϡ??ܡ??ɴ???³?Ѥ?û?????ѥ????֥?????³???뤳?Ȥ??Ǥ??ޤ??? ?դ??Ĥ???³???줿?????ץ??ϡ?Ʊ?? IRQ ?? DMA ?????ͥ??????Ѥ??? ?ɥ饤?Ф??鸫???ФҤȤĤ? 16 ?????ͥ??ޥ????ץ쥯???Ȥ???ư??ޤ??? ??³???줿?ܡ??ɤ??????? ``?ޥ???'' ?ˡ??⤦?????? ``???졼??'' ?ˤʤ??ޤ??? ???졼?֤ˤʤä??ܡ??ɤΥ????ͥ??ϡ? ?ɥ饤?Фˤ??ä? 8 ?????Ϥޤ??ֹ椬???????Ƥ????ޤ??? ???Ȥ??Х??ǥ? 100 ?? ???ǥ? 500 ????³?????ȡ? 0, 8, 12, 13, 14, 15 ?֤Υ????ͥ??ֹ椬???????Ƥ????ޤ??? RS-232C ???ե??????????ĥ????ͥ??ϡ? Ʊ???⡼?ɤ???Ʊ???⡼?ɤΤɤ????Ǥ?ư??뤳?Ȥ???ǽ (cxconfig ?桼?ƥ????ƥ??ˤ??äƥ??եȥ?????Ū?????ޤ?) ?Ǥ??ꡢ ???Τ??? ``???˥С??????????ͥ?'' ?ȸƤФ??ޤ??? Cronyx-Sigma ?????ץ??ѤΥǥХ??????ü??ե????? /dev/* ?ϡ? MAKEDEV(8) ?ˤ??äƺ??????ޤ??? ???Ȥ??С??ʲ??Τ褦?˺????ޤ?: cd /dev sh MAKEDEV cronyx ttyx0 ttyx1 ttyy0 ??Ʊ???ɥ饤????Ʊ???????ͥ??ΥǥХ????ե??????ˤϼ??Τ褦??̾?????դ??????ޤ?: /dev/ttyx# - ?ϥ????ץ? cx0 ?ˡ? /dev/ttyy# - ?ϥ????ץ? cx1 ?ˡ? /dev/ttyz# - ?ϥ????ץ? cx2 ???դ??????ޤ??? ?????? # ?? 0-9-a-f ?Ρ?16 ?ʿ??ǤΥ????ͥ??ֹ??Ǥ????ɥ饤?Фϰʲ???ɸ?? ioctl ???????դ??ޤ? ( ioctl ??):
Ʊ???ɥ饤??Ʊ???????ͥ??ȥ??˥С??????????ͥ??ϡ? cxconfig(8) ?桼?ƥ????ƥ??ˤ??ä?Ʊ???⡼?ɤ????ꤹ???ȡ? ?ͥåȥ?????ե????? ``cx#'' (# ?? 0 ???? 47 ?ޤǤΥ????ͥ??ֹ?) ?Ȥ??ƥ?????????ǽ?Ǥ??? ???٤Ƥ?ɸ??Ū?ʥͥåȥ?????ե??????ѥ?????ϡ? ifconfig(8) ?ˤ??ä???????ǽ?Ǥ??? ?ޤ? cxconfig(8) ???ޥ??ɤϡ???ĥ???줿?????ͥ륪?ץ????????ѹ??䡢 ???̥??٥??Υ??եȥ??????ץ??ȥ??? (PpP ?? Cisco HDLC ?ʤ?) ???????˻??Ѥ????ޤ??????˥С??????????ͥ???Ʊ???⡼?ɤǤ???Ʊ???⡼?ɤǤ????Ѥ??뤳?Ȥ??Ǥ??ޤ??? ?ǥե????ȤǤ???Ʊ???⡼?ɤ????ꤵ???Ƥ??ꡢ?⡼?ɤ? cxconfig(8) ?桼?ƥ????ƥ??ˤ??ä??ѹ???ǽ?Ǥ??? ?????ͥ뤬?ӥ??????? (??Ʊ???????ͥ뤬?????ץ????֤ξ????䡢 ?ͥåȥ?????ե???????ư???? (up) ?ξ???) ?δ֡??⡼?ɤϥ֥??å??????ޤ??? Ʊ???ݥ????ȥġ??ݥ????ȥץ??ȥ???Cronyx-Sigma ?ɥ饤?Фϡ??Ȥ߹??ߤ?Ʊ???ݥ????ȥġ??ݥ????ȥץ??ȥ??? (sppp) ?????Ѥ??ޤ??? ?ܥץ??ȥ????ˤϡ?PpP/HDLC ?? Cisco/HDLC??keepalive ?ѥ??åȤˤ??? ??ưŪ?ʥ??ͥ??????????????Ф⥵?ݡ??Ȥ??Ƥ??ޤ??? sppp ?ץ??ȥ??륻?åȤ???Ω?????⥸?塼???Ȥ??Ƽ??????졢 ¾??Ʊ?????ꥢ???????ͥ??Υɥ饤?Фˤ??äƻ??Ѥ??뤳?Ȥ???ǽ?Ǥ??? BSD/386 (BSDI) ?Ѥ? ?ɥ饤?ФǤϡ?OS ¦?Ǽ????????Ƥ???????Ū??Ʊ???ץ??ȥ????Υ??åȤ????? ??ǽ?Ǥ????????ץ??ȥ??륻?åȤϡ?``cxconfig ext'' ???ޥ??? ( cxconfig(8) ??) ?ˤ??ä???????ǽ?Ǥ????????ͥ륪?ץ??????δ???cxconfig(8) ?桼?ƥ????ƥ??ϡ??????ͥ륪?ץ??????????ꤹ???Τ˻??Ѥ????ޤ??? ?????ͥ륪?ץ??????ϡ??̾???ڥ졼?ƥ??????ƥब??ư?????ݤ? (???Ȥ??? /etc/rc ?ե??????ʤɤ?) ???ꤵ???ޤ??? ???٤Ƥξ????ˤ????ơ? ???٤ƤΥ??ץ?????̣?????ĤȤϸ¤??ʤ????Ȥ????դ??Ƥ????????? ?ޤ??? ???ץ????????????ˤ??äƤϡ? ?????ͥ??⤷???ϥ????ץ????ΤΥϥ??åפθ????ˤʤ??ޤ????ºݤΥ????ͥ륪?ץ??????????浡ǽ?ϡ? ?ǥХ??????ü??ե????? /dev/cronyx ???Ф??? ?????Ĥ??? ioctl ????ͳ???????Ǽ????????Ƥ??ꡢ?ʲ??? ioctl ?????ѤǤ??ޤ???
ioctl ???????Υǡ????????ϰʲ??Υ??ץ???????¤?ΤΥ??ɥ쥹???????ޤ?: typedef struct { unsigned char board; /* ?????ץ??ֹ??Ǥ??ꡢ0..2 */ unsigned char channel; /* ?????ͥ??ֹ??Ǥ??ꡢ0..15 */ unsigned char type; /* ?????ͥ륿???? (?ɤ߹???????) */ unsigned char iftype; /* chan0 ???ե????? */ unsigned long rxbaud; /* ????®?? */ unsigned long txbaud; /* ž??®?? */ cx_chan_mode_t mode; /* ?????ͥ??⡼?? */ cx_chan_opt_t opt; /* ???̤Υ????ͥ륪?ץ????? */ cx_opt_async_t aopt; /* ??Ʊ???⡼?ɥ??ץ????? */ cx_opt_hdlc_t hopt; /* hdlc ?⡼?ɥ??ץ????? */ cx_opt_bisync_t bopt; /* bisync ?⡼?ɥ??ץ????? */ cx_opt_x21_t xopt; /* x.21 ?⡼?ɥ??ץ????? */ cx_soft_opt_t sopt; /* ???եȥ????????ץ??????Ⱦ??֥ե饰 */ } cx_options_t; /* ?桼??????????ǽ?ʥ??ץ????? */
??Ϣ?ե?????
?ɥ饤?Ф??ޤ??Ǥ??륽?????ե??????ϰʲ????̤??Ǥ?:
??Ϣ????cxconfig(8), ifconfig(8)
Visit the GSP FreeBSD Man Page Interface. |