CFT: re(4) WOL support

Fabian Keil freebsd-listen at
Tue Jan 29 12:14:32 PST 2008

Pyun YongHyeon <pyunyh at> 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
        ether [...]
        inet netmask 0xffffff00 broadcast
        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.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url :

More information about the freebsd-current mailing list