因為onboard 的網卡找不到,今天請教了長輩,原dmesg看到是如下
miibus0: on vr0
amphy0: on miibus0
amphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
vr0: Ethernet address: 00:80:c8:4e:a3:a6
以為onboard 的那一張,是amphy0 害我一直往 amphy 找
經長輩解釋,amphy 是辨視vr的

所以要用以下的方式
@mail[/home/bing]#pciconf -lv

none3@pci4:0:0: class=0×020000 card=0xe0001458 chip=0×436411ab rev=0×14 hdr=0×00
vendor = ‘Marvell Semiconductor (Was: Galileo Technology Ltd)’
class = network
subclass = ethernet
vr0@pci5:0:0: class=0×020000 card=0×14001186 chip=0×30431106 rev=0×06 hdr=0×00
vendor = ‘VIA Technologies Inc’
device = ‘VT86C100A Rhine 10/100 Ethernet Adapter’
class = network
subclass = ethernet

在none3 下有資料,拿 card=0xe0001458 chip=0×436411ab google 一下
知道它是什麼chip – Marvell Yukon 88E8056
再去找相關的資料 原來 6.2 沒有這個網卡的 driver
要嘛就升到 6.3 或者 找它的driver 來作,小弟沒有試過,先玩一下後面的作法

到Marvell 網站下載 FreeBSD 6 的driver 後解開
得到裡面有
root@mail[/home/bing/msk]#ll
total 238
-rw-r–r– 1 dfnoc wheel 66 2 14 2007 +COMMENT
-rw-r–r– 1 dfnoc wheel 468 2 14 2007 +CONTENTS
-rw-r–r– 1 dfnoc wheel 66 2 14 2007 +DESC
-rwxr-xr-x 1 dfnoc staff 212077 2 14 2007 if_myk.ko*
-rw-r–r– 1 dfnoc staff 7391 2 14 2007 myk.4

但還是抓不到頭緒,再請教另一位長輩,birdy
#kldload if_myk.ko 可以了
#man kldload

    KLDLOAD(8) FreeBSD System Manager’s Manual KLDLOAD(8)

    NAME
    kldload — load a file into the kernel

    SYNOPSIS
    kldload [-v] file …

然後 ifconfig 即可

    myk0: flags=8802 mtu 1500
    options=2b
    ether 00:1a:4d:41:15:d4
    media: Ethernet autoselect
    status: no carrier

記得要在/boot/loader.conf加入
more /boot/loader.conf
if_myk_load=”YES”

並copy if_myk.ko 到 /boot/kernel/ 下

google 不到就要找長輩,感謝