wb
—
Winbond W89C840F
?ե??????ȥ??????ͥåȥǥХ????ɥ饤??
wb
?ɥ饤?Фϡ?Winbond W89C840F
?ե??????ȥ??????ͥåȥ????ȥ???????
???Ѥ?????PCI ???????ͥåȥ????ץ???
?ڤ??Ȥ߹??߷??????ȥ??????ݡ??Ȥ??Ƥ??ޤ???
???Υɥ饤?Фˤϡ?Trendware TE100-PCIE
?ʤɡ?
¾???͡??ʰ²??ʥܡ??ɤ??ޤ??Ǥ??ޤ???
840F ?? 940F ????Ʊ???ʤ??Ǥ????????? 940F ?? NE2000
?????????Τ??ᡢ10Mbps
?Τߥ??ݡ??Ȥ??Ƥ??ޤ???
Winbond ?????ȥ??????ϡ??Х??ޥ??? DMA
???ȤäƤ??ޤ??? ?ޤ???DEC?? 'tulip'
??Ʊ??ǽ?ˤʤ??褦?˥ǥ??????Ƥ??ޤ???
DEC
??ɸ?????߷פȤϡ??????Ĥ??????ˤ????ưۤʤäƤ??ޤ?:
?????ȥ??????쥸?????ȥ??ơ??????쥸?????? 8
?Х??ȤǤϤʤ? 4
?Х??ȴֳ֤ˤʤäƤ??ޤ???
?ޤ????????ե??륿???????ϡ? DMA
ž??????????ͳ?????????̤ʥ??åȥ??åץե졼????
???????????ɤ????????ǤϤʤ????쥸???????̤??ƹԤ??ޤ???
?????? PHY ???Ȥ????Ȥˤ??äơ?Winbond
???åפϡ??????Ťޤ???Ⱦ???Ť?
???롢10Mbps ?????? 100Mbps
??ž??®?٤ݡ??Ȥ??Ƥ??ޤ???
wb
?ɥ饤?Фϼ??˵????ǥ????????פݡ??Ȥ??Ƥ??ޤ?:
- autoselect
- ???ǥ????????ڤӥ??ץ??????μ?ư??????ͭ???ˤ??ޤ??????Υ??ץ??????ϡ?
Winbond ?????ȥ??????˼????դ????줿 PHY
???åפ? NWAY
?????ȥͥ??????????????ݡ??Ȥ????????Τ????Ѳ?ǽ?Ǥ???
/etc/rc.conf
?˥??ǥ??????ץ????????ɲä??뤳?Ȥˤ??äơ?
??ưŪ?????ꤵ?줿?⡼?ɤ??桼??????ư???ѹ???ǽ?Ȥʤ??ޤ???
- 10baseT/UTP
- ž???????? 10Mbps ?????ꤷ?ޤ???
mediaopt
???ץ??????????ꤹ?뤳?Ȥˤ??äơ?
?????? ?⡼?ɡ??ޤ???
Ⱦ????
?⡼?ɤΤɤ??餫?ҤȤĤ????ѤǤ??ޤ???
- 100baseTX
- ž???????? 100Mbps (?ե??????ȥ??????ͥå?)
?????ꤷ?ޤ??? mediaopt
???ץ??????????ꤹ?뤳?Ȥˤ??äơ?
?????? ?⡼?ɡ??ޤ???
Ⱦ????
?⡼?ɤΤɤ??餫?ҤȤĤ????ѤǤ??ޤ???
wb
?ɥ饤?Фϼ??˵????ǥ??????ץ??????ݡ??Ȥ??Ƥ??ޤ?:
- full-duplex
- ????Ū???????Ť????ꤷ?ޤ???
- half-duplex
- ????Ū??Ⱦ???Ť????ꤷ?ޤ???
100baseTX
???ǥ????????פϡ??????ץ??????ݡ??Ȥ??Ƥ????Ȥ??˸¤äƻ??Ѳ?ǽ
?Ǥ??뤳?Ȥ????դ??Ƥ?????????
???ΥǥХ??????????˴ؤ??롢?????˾ܤ????????ˤĤ??Ƥ?
ifconfig(8)
?Ȥ??Ƥ?????????
- wb%d: couldn't map memory
- ??̿Ū?ʽ????????顼??ȯ?????ޤ?????
- wb%d: couldn't map interrupt
- ??̿Ū?ʽ????????顼??ȯ?????ޤ?????
- wb%d: watchdog timeout
- ?ǥХ??????ͥåȥ???˱????????Τ????ߤ??????????뤤?ϡ?
?ͥåȥ????³ (?????֥?)
?˴ؤ??????꤬ȯ?????ޤ?????
- wb%d: no memory for rx list
- ?ɥ饤?Фϡ?mbuf
?????????˳??????Ƥ????ޤ????Ǥ?????
- wb%d: no memory for tx list
- ?ѥåɥХåե??????????Ƥ??ݡ?
???뤤?? mbuf ????????
?饹????ʬ?䤹???ݤˡ?
?ɥ饤?Ф? mbuf
?????????˳??????Ƥ????ޤ????Ǥ?????
- wb%d: chip is in D3 power state -- setting to D0
- ???Υ??å??????ϡ?
?ѥ?ޥͥ??????Ȥݡ??Ȥ??륢???ץ??????ˤ??ƤϤޤ??ޤ???
???ڥ졼?ƥ??????ƥ??ˤ??äƤϡ?
?????åȥ????????˥????ȥ????????????????ϥ⡼?ɤ????ꤷ?ޤ???
????????PCI BIOS
?ˤ??äƤϡ????åפ??????Ϥ????ޤǤˡ?
???åפ??????????ϥ⡼?ɤ????????????뤳?Ȥ??Ǥ??ʤ????Τ??????ޤ???
?????ȥ??????? D3 ???֤ˤʤ??ȡ?PCI
?˴ؤ????????????Ƽ??äƤ??ޤ??ޤ???
???äơ? BIOS
?????????˥????ȥ????????ե??ѥ?⡼?ɤ??᤹???Ȥ??Ǥ??ʤ????硢
PCI
?˴ؤ??????????????˹Ԥ????Ȥ??Ǥ??ޤ?????
?ɥ饤?ФϤ??Τ褦?ʾ??֤????Τ????Ȥ????????ץ???
D0 (?ե??ѥ)
???֤??᤹???Ȥ????ߤޤ???
?????????ɥ饤?Ф?????????????ǽ?ʾ??֤ޤǡ?
?????????뤳?Ȥ??Ǥ??ʤ????Ȥ??????ޤ???
?⤷?֡??Ȼ??ˤ??Τ褦?ʥ??å???????ɽ?????졢
?ɥ饤?Ф??ͥåȥ?????ե??????Ȥ???
?ǥХ????˥????å??Ǥ??ʤ??ä??????ˤϡ?
?ǥХ??????????????ꤹ?뤿????
?⤦?????????֡??Ȥ??Ԥ?ɬ?פ??????ޤ???
???Τ褦?ʾ????ϡ?¾?Υ??ڥ졼?ƥ??????ƥफ??
?????????֡??Ȥ??Ԥä??????ˤΤ?ȯ?????ޤ???
FreeBSD
???֡??Ȥ??????˥ޥ??????Ÿ?????Ƥ????С?
?????ɤ???????ǧ?????????Ϥ??Ǥ???
wb
?ǥХ????ɥ饤?Ф?
FreeBSD 3.0 ???о줷?ޤ?????
wb
?ɥ饤?Ф? Bill
Paul ⟨wpaul@ctr.columbia.edu⟩ ?????????ޤ?????
??³?褬?⡼?ɤ??ڤ괹?????ݡ?Winbond
???åפ?
??̯?ʿ????Ƥ????褦?˻פ????ޤ???
???Ȥ??ơ?ξ???? 10Mbps
Ⱦ???Ťξ??֤˥??åȤ????Ȥ??ޤ???
???줫???????? 100Mbps ?????Ť????ꤹ???ȡ? Winbond
???åפΥ쥷???Ф? RX
???һҤλ????Ȥ????˥??ߤ?
?Ϥ??ޤ??? wb
?ɥ饤?Фϡ??????ȥ????????åפ???°??
PHY ??
????Ū?˥ꥻ?åȤ??뤳?Ȥˤ??äƤ??????????н褷?ޤ???
?Ӽ??ŤǤϤ????ޤ????????Τ褦?ʾ??֤????????????????뤿????
ͣ??????ˡ?˻פ??ޤ???