CFT: re(4) WOL support
Pyun YongHyeon
pyunyh at gmail.com
Tue Jan 29 17:11:35 PST 2008
On Tue, Jan 29, 2008 at 09:14:25PM +0100, Fabian Keil wrote:
> Pyun YongHyeon <pyunyh at gmail.com> wrote:
>
> > Attached patch enables WOL capability on re(4). Since there are too
> > many variants of hardwares that uses re(4), I'd like to hear
> > success/failure report of the patch prior to commit. You can wake
> > the system in suspend state as well as power down state. Because
> > suspend/resume does not work on my box I don't know whether waking
> > up from suspend work. WOL packets can be greated with tools like
> > ports/net/wol.
>
> Suspending doesn't work on my system either,
> but I successfully tested wake-up from power-down state with:
>
> fk at africanqueen ~ $pciconf -lv | grep -A 4 re0
> re0 at pci0:0:9:0: class=0x020000 card=0x816910ec chip=0x816910ec rev=0x10 hdr=0x00
> vendor = 'Realtek Semiconductor'
> device = 'RTL8110SB Single-Chip Gigabit LOM Ethernet Controller'
> class = network
> subclass = ethernet
>
> fk at africanqueen ~ $ifconfig re0
> re0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
> options=399b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4,WOL_UCAST,WOL_MCAST,WOL_MAGIC>
> ether [...]
> inet 192.168.5.48 netmask 0xffffff00 broadcast 192.168.5.255
> media: Ethernet autoselect (1000baseTX <full-duplex>)
> status: active
>
> I didn't notice any regressions.
>
> Thanks for all the effort you put into re(4), much appreciated.
>
Thanks for your testing!
> Fabian
--
Regards,
Pyun YongHyeon
More information about the freebsd-current
mailing list