Sepherosa Ziehau pravi:
Please try:http://leaf.dragonflybsd.org/~sephe/rgephy.diff
You will have rebuild kernel if you have a compiled-in miiIf you use mii as
module, you will have to recompile mii module
I have done a rough test with my re(4)
Please let us know whether it works or not ASAP, not much time is left :-)Thank
you in advance.
Right after booting:
re0: <RealTek 8169S Single-chip Gigabit Ethernet> port 0xa400-0xa4ff mem 0xfb801
000-0xfb8010ff irq 10 at device 2.0 on pci2
miibus0: <MII bus> on re0
rgephy0: <RTL8169S/8110S media interface> on miibus0
rgephy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 1000baseTX
-FDX, auto
re0: MAC address: 00:0e:2e:28:08:1f
[web2] ~> ifconfig re0
re0: flags=9843<UP,BROADCAST,RUNNING,SIMPLEX,LINK0,MULTICAST> mtu 1500
options=18<VLAN_MTU,VLAN_HWTAGGING>
inet 10.10.52.50 netmask 0xffffff00 broadcast 10.10.52.255
inet6 fe80::20e:2eff:fe28:81f%re0 prefixlen 64 scopeid 0x1
ether 00:0e:2e:28:08:1f
media: Ethernet autoselect (10baseT/UTP <full-duplex>)
status: active
After down/up sequence:
media: Ethernet autoselect (100baseTX <full-duplex>)
%ifconfig re0 media 1000basetx mediaopt full-duplex
ifconfig: unknown media subtype: 1000basetx
So no luck to set it to gig. I applied your patch and did a
nativekernel/installkernel only.
Tomaž