CFT: re(4) WOL support
Fabian Keil
freebsd-listen at fabiankeil.de
Tue Jan 29 12:14:32 PST 2008
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.
Fabian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20080129/3e93735b/signature.pgp
More information about the freebsd-current
mailing list