Hello, Marius.
You wrote 13 января 2011 г., 20:39:25:

> Therefore I'd like to commit the following patch (requires sources
> from head and stable branches), unless there's an objection or it
> doesn't work as expected:
> http://people.freebsd.org/~marius/rgephy.c.diff
  It doesn't work for me. It allows to set "flag0" but without any
  effect, ifconfig shows half-duplex and speed is about 180KiB/s...

onlyone# ifconfig re0 media auto
onlyone# ifconfig re0
re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        
options=389b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_UCAST,WOL_MCAST,WOL_MAGIC>
        ether 6c:62:6d:a7:bb:37
        inet 46.4.40.135 netmask 0xffffffc0 broadcast 46.4.40.191
        media: Ethernet autoselect (100baseTX <half-duplex>)
        status: active
onlyone# ifconfig re0 media 100baseTX mediaopt full-duplex,flag0
onlyone# ifconfig re0
re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        
options=389b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_UCAST,WOL_MCAST,WOL_MAGIC>
        ether 6c:62:6d:a7:bb:37
        inet 46.4.40.135 netmask 0xffffffc0 broadcast 46.4.40.191
        media: Ethernet 100baseTX <full-duplex> (100baseTX <half-duplex>)
        status: active
onlyone#

-- 
// Black Lion AKA Lev Serebryakov <l...@serebryakov.spb.ru>

_______________________________________________
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"

Reply via email to