GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
CX(4) FreeBSD Kernel Interfaces Manual (i386) CX(4)

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 ?????ͥ??ȳ??????ߥꥯ???????ֹ??ϡ? ?????ץ??????????˥??եȥ??????????ꤵ???ޤ??? ?̾????ͤϰʲ????̤??Ǥ???

Port
0x240, 0x260, 0x280, 0x300, 0x320, 0x380
IRQ
3, 5, 7, 10, 11, 12, 15
DMA
5, 6, 7

Cronyx-Sigma ?ɥ饤?Фϥ??ǥ? 100, 400, 500, 401, 404, 410, 440, 703, 801, 810, 840 ?򥵥ݡ??Ȥ??ޤ??? ???ǥ뤬?ۤʤ??ȡ??????ͥ??Υ??åȤ??ۤʤ??ޤ???

???ǥ?
?????ͥ?
Cronyx-Sigma-100
0
Cronyx-Sigma-400
4, 5, 6, 7
Cronyx-Sigma-500
0, 4, 5, 6, 7
Cronyx-Sigma-401
0, 1, 2, 3
Cronyx-Sigma-404
0, 1, 2, 3
Cronyx-Sigma-410
0, 1, 2, 3
Cronyx-Sigma-440
0, 1, 2, 3
Cronyx-Sigma-703
0, 1, 2, 4, 5, 6, 7
Cronyx-Sigma-801
0, 1, 2, 3, 4, 5, 6, 7
Cronyx-Sigma-810
0, 1, 2, 3, 4, 5, 6, 7
Cronyx-Sigma-840
0, 1, 2, 3, 4, 5, 6, 7

?դ??ĤΥ????ץ??ϡ??ܡ??ɴ???³?Ѥ?û?????ѥ????֥?????³???뤳?Ȥ??Ǥ??ޤ??? ?դ??Ĥ???³???줿?????ץ??ϡ?Ʊ?? 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 ?򻲾?):

BREAK ?????????Ϥ??ޤ???
BREAK ???????????ߤ??ޤ???
DTR ?????򥻥åȤ??ޤ? (DTR := 1)?? DTR ?????Ϻǽ??? open(2) ??ɬ?????åȤ??졢 TIOCCDTR, TIOCSDTR, TIOCMSET, TIOCMBIS, TIOCMBIC ?? ioctl ?ˤ????ѹ???ǽ?Ǥ???
TIOCCDTR
DTR ?????򥯥ꥢ???ޤ? (DTR := 0)??
TIOCMSET
DTR ?????? RTS ?????ˡ????ꤷ???ͤ򥻥åȤ??ޤ? (<DTR:RTS> := data)?? DTR ?????? RTS ?????ϡ? ioctl ?????ƥॳ?????ΰ??????? TIOCM_DTR ?? TIOCM_RTS ?ΥӥåȤˤ?????????ǽ?Ǥ???
TIOCMBIS
DTR ?????? RTS ?????򥻥åȤ??ޤ? (<DTR:RTS> |= data)?? DTR ?????? RTS ?????ϡ? ioctl ?????ƥॳ?????ΰ??????? TIOCM_DTR ?? TIOCM_RTS ?ΥӥåȤˤ?????????ǽ?Ǥ???
TIOCMBIC
DTR ?????? RTS ?????򥯥ꥢ???ޤ? (<DTR:RTS> &= ~data)?? DTR ?????? RTS ?????ϡ? ioctl ?????ƥॳ?????ΰ??????? TIOCM_DTR ?? TIOCM_RTS ?ΥӥåȤˤ?????????ǽ?Ǥ???
TIOCMGET
?饤?????Υ??ǥ࿮???ξ??֤?Ƚ?ꤷ?ޤ??? ?ƤӽФ??Τ??ȡ??????Υǡ????ϲ????ΥӥåȤ??ݻ????Ƥ??ޤ?:

TIOCM_LE
???˥??å? (?饤?󥤥͡??֥?????)
TIOCM_DSR
?ǡ??????åȥ??ǥ????? (DSR) ??????
TIOCM_CTS
??????ǽ???? (CTS) ??????
TIOCM_CD
?ǡ????????ꥢ???п??? (CD) ??????
TIOCM_DTR
?ǡ???ü?????ǥ? (DTR) ??????????
TIOCM_RTS
?????׵? (RTS) ??????

Ʊ???????ͥ??ȥ??˥С??????????ͥ??ϡ? 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 ?????ѤǤ??ޤ???

CXIOCGETMODE
?????ͥ륪?ץ????????ͤ????????ޤ???
CXIOCSETMODE
?????ͥ륪?ץ????????ͤ????ꤷ?ޤ???

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;            /* ?桼??????????ǽ?ʥ??ץ????? */
board
0..2 ?Ρ??????ץ??ֹ?
channel
0..15 ?Ρ??????ͥ??ֹ?
type
?????ͥ??Υ????? (?ɤ߼??????Ѥΰ???)
iftype
0 ?? (?? 8 ??) ?????ͥ??Υ??󥿥ե??????????ס? 0 - RS-232, 1 - RS-449/V.35??
rxbaud
?????ܡ??졼??
txbaud
?????ܡ??졼??
mode
?????ͥ??⡼??: ??Ʊ??/HDLC/Bisync/X.21
opt
???̤Υ????ͥ륪?ץ?????
aopt
??Ʊ???⡼?ɥ??ץ?????
hopt
HDLC ?⡼?ɥ??ץ?????
bopt
Bisync ?⡼?ɥ??ץ?????
xopt
X.21 ?⡼?ɥ??ץ?????
sopt
???եȥ??????ץ??ȥ??륪?ץ?????

/dev/cx??
??Ʊ???????ͥ?
/dev/cronyx
?????ͥ륪?ץ??????????ѤΥǥХ??????ü??ե?????

?ɥ饤?Ф??ޤ??Ǥ??륽?????ե??????ϰʲ????̤??Ǥ?:

/sys/i386/isa/cronyx.c
 
/sys/i386/isa/cx.c
 
/sys/i386/isa/if_cx.c
 
/sys/i386/isa/cronyx.h
 
/sys/i386/isa/cxreg.h
 
/sys/net/if_spppsubr.c
 
/sys/net/if_sppp.h
 

cxconfig(8), ifconfig(8)
December 12, 1994 FreeBSD

Search for    or go to Top of page |  Section 4 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.