ax
—
ASIX Electronics AX88140A
?ե????ȥ??????ͥåȥǥХ????ɥ饤??
ax
?ɥ饤?Фϡ?ASIX AX88140A
?ե????ȥ??????ͥåȥ????ȥ????????åפ??Ѥ???
PCI
???????ͥåȥ????ץ????Ȥ߹??ߥ????ȥ??????ݡ??Ȥ??ޤ????????ˤϡ?
Alfa Inc. ?? GFC2204 ?䡢CNet ?? Pro110B ???ޤޤ??ޤ???
???? ASIX ???åפϥХ??ޥ??? DMA
?????Ѥ???DEC 21x4x ?????ˤʤ??褦??
?߷פ????Ƥ??ޤ???DEC ???åפ? ASIX
???åפ?ͣ?????礭?ʰ㤤?ϡ?ASIX
?μ??????Υե??륿?? 2
?Ĥ??ü??ʥ쥸???????Ѥ??ƥץ??????ߥ?????
???Ф???DEC ???åפǤ????????? DMA
??????ͳ?ǡ????̤Υ??åȥ??å?
?ե졼???åץ????ɤ??뤳?ȤǤ???ASIX
?????ե??륿?ϡ?
???????륹?ơ????????Υ??ɥ쥹???Ф????ե??륿?????ȥ??ޤ뤴??
1 ?Ĥ? 64
?ӥåȤΥޥ??????㥹?ȥϥå????ơ??֥?
1 ?Ĥ??????ץ??????ߥ??? ?Ǥ??ޤ?????????DEC
?Υե??륿?ϡ?¾?ˤ????Ĥ??Υ??ץ???????
???ݡ??Ȥ??ޤ???ASIX
?ե????ȥ??????ͥåȥ????ȥ??????ϡ?????
MII ?ȥ????Ф????Ѥ??뤳?Ȥǡ???
2 ?Ť⤷????Ⱦ 2 ?Ťˤ????ơ? 10Mbps ??
100Mbps
??ξ????®?٤ݡ??Ȥ??ޤ???
ax
?ɥ饤?Фϼ??˼??????ǥ????????פݡ??Ȥ??ޤ???
- autoselect
- ???ǥ????????פȥ??ץ??????μ?ư??????ǽ?????Ѥ??ޤ???
???ǥ??????ץ??????? /etc/rc.conf
?ե????????ɲä??뤳?Ȥˤ??ꡢ??ư???줿?⡼?ɤ??桼?????Ȥ??ѹ?
???뤳?Ȥ??Ǥ??ޤ???
- 10baseT/UTP
- 10Mbps ư???????ꤷ?ޤ??? mediaopt
???ץ??????????ꤷ?ơ? full-duplex
?⡼?ɤ? half-duplex
?⡼?ɤΤ????줫?????ꤹ?뤳?Ȥ??Ǥ??ޤ???
- 100baseTX
- 100Mbps (?ե????ȥ??????ͥå?)
ư???????ꤷ?ޤ??? mediaopt
???ץ??????????ꤷ?ơ? full-duplex
?⡼?ɤ? half-duplex
?⡼?ɤΤ????줫?????ꤹ?뤳?Ȥ??Ǥ??ޤ???
ax
?ɥ饤?Фϡ????˼??????ǥ??????ץ??????ݡ??Ȥ??Ƥ??ޤ???
- full-duplex
- ????Ū???? 2 ??ư???????ꤷ?ޤ???
- half-duplex
- ????Ū??Ⱦ 2 ??ư???????ꤷ?ޤ???
???ΥǥХ??????????˴ؤ??????ʾ??ξ?????ɬ?פʤ??С?
ifconfig(8)
?Ȥ??Ʋ???????
- ax%d: couldn't map memory
- ??̿Ū?ʽ????????顼??ȯ?????ޤ?????
- ax%d: couldn't map interrupt
- ??̿Ū?ʽ????????顼??ȯ?????ޤ?????
- ax%d: watchdog timeout
- ???ΥǥХ????ϥͥåȥ???ؤα????????ߤ??ޤ??????⤷???ϡ??ͥåȥ??
?ؤ???³ (?????֥?) ?????꤬?????ޤ???
- ax%d: no memory for rx list
- ?ɥ饤?Ф????????ǡ????Υ??Хåե??ؤ?
mbuf ???????Ƥ˼??Ԥ??ޤ?????
- ax%d: no memory for tx list
- ?ɥ饤?Ф????ѥåɥХåե????????Ƥκݡ??⤷????
mbuf ?????????饹????
???????ݤˡ??????ǡ????Υ??Хåե??ؤ?
mbuf ???????Ƥ˼??Ԥ??ޤ?????
- ax%d: chip is in D3 power state -- setting to D0
- ???Υ??å??????????ϴ????ݡ??Ȥ??Ƥ??륢???ץ??Τߤ?Ŭ?Ѥ????ޤ???
???ڥ졼?ƥ??????ƥ??ˤ??äƤϡ??????åȥ??????κݤ˥????ȥ???????
?????ѥ?⡼?ɤˤ??????Τ??????ޤ???PCI
BIOS ?????ˤϡ????åפ?????
???????ˡ????åפξ??֤??鸵???᤹???Ȥ??Ǥ??ʤ????Τ??????ޤ???
D3 ???֤Ǥϡ??????ȥ??????ϼ?ʬ?? PCI
?????????Τ??٤Ƥä?
???ޤ??ޤ??Τǡ?BIOS
???֤˹礦?褦?˥ե??ѥ?⡼?ɤ??ᤵ?ʤ??ä????硢
???????????ȥ????????????Ǥ??ʤ??ʤ??ޤ????ɥ饤?ФϤ??ξ??֤????Τ???
?????ץ??? D0 (?ե??ѥ)
???֤?????Ȥ??ޤ?????????????????ư???
?????˥ɥ饤?Ф??᤹?????ˤϡ??????????Ǥ??Խ?ʬ?Ǥ?????ǽ?????????ޤ???
??ư???ˤ??Υ??å????????ФƤ??ơ??ɥ饤?Ф????ΥǥХ?????
?ͥåȥ?????ե??????Ȥ??ƥ????å???»?ʤ????硢?ǥХ???????????
???ꤵ???뤿???ˡ??⤦ 1
???????֡??Ȥ?????ɬ?פ??????ޤ???
???ξ????ϡ?¾?Υ??ڥ졼?ƥ??????ƥ??θ??˥????????֡??Ȥ?????????
?Τ??????ޤ??? FreeBSD
???֡??Ȥ??????˥????ƥ????Ÿ????ڤ????硢
?????ɤ??????????ꤵ?????Ϥ??Ǥ???
ax
?ǥХ????ɥ饤?Фϡ?
FreeBSD 3.0 ?ǽ????Ƹ????ޤ?????
ax
?ɥ饤?Ф? Bill
Paul ⟨wpaul@ctr.columbia.edu⟩ ???ޤ?????