Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Jan 2008 21:14:25 +0100
From:      Fabian Keil <freebsd-listen@fabiankeil.de>
To:        Pyun YongHyeon <pyunyh@gmail.com>
Cc:        freebsd-current@FreeBSD.org
Subject:   Re: CFT: re(4) WOL support
Message-ID:  <20080129211425.69fb66a3@fabiankeil.de>
In-Reply-To: <20080122051604.GC10560@cdnetworks.co.kr>
References:  <20080122051604.GC10560@cdnetworks.co.kr>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
Pyun YongHyeon <pyunyh@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@africanqueen ~ $pciconf -lv | grep -A 4 re0
re0@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@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

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (FreeBSD)

iD8DBQFHn4khBYqIVf93VJ0RAsBTAJwKhoVXO7zR67UsEEKaSKsk9YJsKgCfeaHe
hBe4lu0tvwe+x2lUh2gtUcI=
=Lhdt
-----END PGP SIGNATURE-----
help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080129211425.69fb66a3>