Hi Heiner, On Tue, Jan 22, 2019 at 07:47:45PM +0100, Heiner Kallweit wrote: > Which version of 4.18 are you running that is ok? To check the code ..
I pull over drivers/net/ethernet/realtek/r8169.c from an unpacked 4.18.16 source tree. It sets RTL8169_VERSION "2.3LK-NAPI". The last commit in this file's history is commit 241e5a13a5ad75fd0b5a47b583e098fa08917d5c Author: Maciej S. Szmigiero <m...@maciej.szmigiero.name> Date: Thu Oct 11 16:02:10 2018 +0200 r8169: set RX_MULTI_EN bit in RxConfig for 8168F-family chips Unfortunately, very different r8169.c in 4.20.3 also sets RTL8169_VERSION "2.3LK-NAPI", so we cannot use this as identification. > Based on what I wrote above, could you try the following sequence and > check whether wake from S3 works then? > > ethtool -s <if> wol d > ethtool -s <if> wol g This test was done with the Debian kernel package 4.20.0-trunk-amd64, which contains a kernel 4.20.1 compiled on 2018-12-24, from Debian's experimental repository. This are my steps: (1) ethtool -s lanc0 wol d (2) ethtool -s lanc0 wol g (3) systemctl suspend (4) system gows down into Suspend to RAM, an audible *click* from a relay, power LED blinking, Switch reporting that the ethernet link state changed from 1000Full to down and then to 10Full. (5) sent a magic packet (6) *click* system up again. This is good. (7) switch reported link state change from 10Full to down and then to 1000Full (8) system and network operational (9) shut down the system completely, remove power. all LEDs off, link down (10) re-plug power, all LEDs off, link 10Full (11) push power button, bring system up again with Debian's 4.20 kernel (12) link up at 1000Full (12a) take register dump, exhibit 12a (13) systemctl suspend (14) system gows down into Suspend to RAM, an audible *click* from a relay, power LED blinking, Switch reporting that the ethernet link state changed from 1000Full to down and then to 10Full. (15) send magic packet identical to step (5) (16) system remains suspended, blinking LED; link 10Full (17) push any key on keyboard (18) *click* system up again. This is good. (19) switch reported link state change from 10Full to down and then to 1000Full (19a) take register dump, exhibit 19a (20) system and network operational (21) repeat steps (1) through (5) (22) system reacts to magic packet and wakes up (23) ethtool -s lanc0 wol d (24) ethtool -s lanc0 wol g (25) take register dump, exhibit 25 (26) systemctl suspend (27) system gows down into Suspend to RAM, an audible *click* from a relay, power LED blinking, Switch reporting that the ethernet link state changed from 1000Full to down and then to 10Full. (28) sent a magic packet (29) *click* system up again. This is good. (30) switch reported link state change from 10Full to down and then to 1000Full (31) take register dump, exhibit 31 (32) system and network operational So, our hypothesis is now that the older driver does "something" that the new driver doesn't, but what is needed for my machine to wake up on magic packet from suspend to RAM. the two ethtool calls do seem to fix that. Unfortunately, exhibits 19a, 25 and 31 are identical, and exhibit 12a only differs in a single line, PHY access holding 0x8001796d instead of 0x80040de1. So, whatever the two ethtools do, it is not visible in the register dump. I repaeted the experiment with stock 4.20.4, with the same results, and 4.20.4 with a r8169.c transplant from 4.18.16, with the result of ethtool not needed. Exhibits from the stock 4.20.4 experiments: exhibit-4.20.4-preeth-presleep - direct after boot exhibit-4.20.4-preeth-postsleep - after suspend with manual wakeup needed exhibit-4.20.4-posteth-presleep - after the two ethtool calls exhibit-4.20.4-posteth-postsleep - after successful wake on lan Exhibits from the 4.20.4+transplant experiments: exhibit-4.18-presleep - direct after boot exhibit-4.18-postsleep - after successful wake on LAN. I hope this helps. Let me know if additional data is helpful. Greetings Marc Exhibits: ==> exhibit-12a <== RealTek RTL8168evl/8111evl registers: -------------------------------------------------------- 0x00: MAC Address 54:04:a6:82:21:00 0x08: Multicast Address Filter 0x024a0040 0x80c14082 0x10: Dump Tally Counter Command 0x1ab90000 0x00000004 0x20: Tx Normal Priority Ring Addr 0x1f153000 0x00000004 0x28: Tx High Priority Ring Addr 0x00000000 0x00000000 0x30: Flash memory read/write 0x00000000 0x34: Early Rx Byte Count 0 0x36: Early Rx Status 0x00 0x37: Command 0x0c Rx on, Tx on 0x3C: Interrupt Mask 0x803f SERR LinkChg RxNoBuf TxErr TxOK RxErr RxOK 0x3E: Interrupt Status 0x0000 0x40: Tx Configuration 0x2f900f80 0x44: Rx Configuration 0x0002c70e 0x48: Timer count 0x00000000 0x4C: Missed packet counter 0x000000 0x50: EEPROM Command 0x10 0x51: Config 0 0x00 0x52: Config 1 0xcf 0x53: Config 2 0xbd 0x54: Config 3 0x60 0x55: Config 4 0x51 0x56: Config 5 0x03 0x58: Timer interrupt 0x00000000 0x5C: Multiple Interrupt Select 0x0000 0x60: PHY access 0x8001796d 0x64: TBI control and status 0x84321043 0x68: TBI Autonegotiation advertisement (ANAR) 0xf02c 0x6A: TBI Link partner ability (LPAR) 0x0000 0x6C: PHY status 0x93 0x84: PM wakeup frame 0 0x00000000 0x00000000 0x8C: PM wakeup frame 1 0x00000000 0x4af63565 0x94: PM wakeup frame 2 (low) 0x6202016b 0x8ab829be 0x9C: PM wakeup frame 2 (high) 0x40bee65e 0x800e2860 0xA4: PM wakeup frame 3 (low) 0x44280748 0x1ceea050 0xAC: PM wakeup frame 3 (high) 0xc465e124 0xc4650000 0xB4: PM wakeup frame 4 (low) 0xffffffff 0xffffffff 0xBC: PM wakeup frame 4 (high) 0x00000000 0x00000000 0xC4: Wakeup frame 0 CRC 0x0000 0xC6: Wakeup frame 1 CRC 0x0000 0xC8: Wakeup frame 2 CRC 0x0000 0xCA: Wakeup frame 3 CRC 0x0000 0xCC: Wakeup frame 4 CRC 0x0000 0xDA: RX packet maximum size 0x4000 0xE0: C+ Command 0x20e1 VLAN de-tagging RX checksumming 0xE2: Interrupt Mitigation 0x5151 TxTimer: 5 TxPackets: 1 RxTimer: 5 RxPackets: 1 0xE4: Rx Ring Addr 0x1f152000 0x00000004 0xEC: Early Tx threshold 0x27 0xF0: Func Event 0x00400030 0xF4: Func Event Mask 0x00000000 0xF8: Func Preset State 0x000303ff 0xFC: Func Force Event 0x00000000 ==> exhibit-19a <== RealTek RTL8168evl/8111evl registers: -------------------------------------------------------- 0x00: MAC Address 54:04:a6:82:21:00 0x08: Multicast Address Filter 0x024a0040 0x80c14082 0x10: Dump Tally Counter Command 0x1ab90000 0x00000004 0x20: Tx Normal Priority Ring Addr 0x1f153000 0x00000004 0x28: Tx High Priority Ring Addr 0x00000000 0x00000000 0x30: Flash memory read/write 0x00000000 0x34: Early Rx Byte Count 0 0x36: Early Rx Status 0x00 0x37: Command 0x0c Rx on, Tx on 0x3C: Interrupt Mask 0x803f SERR LinkChg RxNoBuf TxErr TxOK RxErr RxOK 0x3E: Interrupt Status 0x0000 0x40: Tx Configuration 0x2f900f80 0x44: Rx Configuration 0x0002c70e 0x48: Timer count 0x00000000 0x4C: Missed packet counter 0x000000 0x50: EEPROM Command 0x10 0x51: Config 0 0x00 0x52: Config 1 0xcf 0x53: Config 2 0xbd 0x54: Config 3 0x60 0x55: Config 4 0x51 0x56: Config 5 0x03 0x58: Timer interrupt 0x00000000 0x5C: Multiple Interrupt Select 0x0000 0x60: PHY access 0x80040de1 0x64: TBI control and status 0x84321043 0x68: TBI Autonegotiation advertisement (ANAR) 0xf02c 0x6A: TBI Link partner ability (LPAR) 0x0000 0x6C: PHY status 0x93 0x84: PM wakeup frame 0 0x00000000 0x00000000 0x8C: PM wakeup frame 1 0x00000000 0x4af63565 0x94: PM wakeup frame 2 (low) 0x6202016b 0x8ab829be 0x9C: PM wakeup frame 2 (high) 0x40bee65e 0x800e2860 0xA4: PM wakeup frame 3 (low) 0x44280748 0x1ceea050 0xAC: PM wakeup frame 3 (high) 0xc465e124 0xc4650000 0xB4: PM wakeup frame 4 (low) 0xffffffff 0xffffffff 0xBC: PM wakeup frame 4 (high) 0x00000000 0x00000000 0xC4: Wakeup frame 0 CRC 0x0000 0xC6: Wakeup frame 1 CRC 0x0000 0xC8: Wakeup frame 2 CRC 0x0000 0xCA: Wakeup frame 3 CRC 0x0000 0xCC: Wakeup frame 4 CRC 0x0000 0xDA: RX packet maximum size 0x4000 0xE0: C+ Command 0x20e1 VLAN de-tagging RX checksumming 0xE2: Interrupt Mitigation 0x5151 TxTimer: 5 TxPackets: 1 RxTimer: 5 RxPackets: 1 0xE4: Rx Ring Addr 0x1f152000 0x00000004 0xEC: Early Tx threshold 0x27 0xF0: Func Event 0x00400030 0xF4: Func Event Mask 0x00000000 0xF8: Func Preset State 0x000303ff 0xFC: Func Force Event 0x00000000 ==> exhibit-25 <== RealTek RTL8168evl/8111evl registers: -------------------------------------------------------- 0x00: MAC Address 54:04:a6:82:21:00 0x08: Multicast Address Filter 0x024a0040 0x80c14082 0x10: Dump Tally Counter Command 0x1ab90000 0x00000004 0x20: Tx Normal Priority Ring Addr 0x1f153000 0x00000004 0x28: Tx High Priority Ring Addr 0x00000000 0x00000000 0x30: Flash memory read/write 0x00000000 0x34: Early Rx Byte Count 0 0x36: Early Rx Status 0x00 0x37: Command 0x0c Rx on, Tx on 0x3C: Interrupt Mask 0x803f SERR LinkChg RxNoBuf TxErr TxOK RxErr RxOK 0x3E: Interrupt Status 0x0000 0x40: Tx Configuration 0x2f900f80 0x44: Rx Configuration 0x0002c70e 0x48: Timer count 0x00000000 0x4C: Missed packet counter 0x000000 0x50: EEPROM Command 0x10 0x51: Config 0 0x00 0x52: Config 1 0xcf 0x53: Config 2 0xbd 0x54: Config 3 0x60 0x55: Config 4 0x51 0x56: Config 5 0x03 0x58: Timer interrupt 0x00000000 0x5C: Multiple Interrupt Select 0x0000 0x60: PHY access 0x80040de1 0x64: TBI control and status 0x84321043 0x68: TBI Autonegotiation advertisement (ANAR) 0xf02c 0x6A: TBI Link partner ability (LPAR) 0x0000 0x6C: PHY status 0x93 0x84: PM wakeup frame 0 0x00000000 0x00000000 0x8C: PM wakeup frame 1 0x00000000 0x4af63565 0x94: PM wakeup frame 2 (low) 0x6202016b 0x8ab829be 0x9C: PM wakeup frame 2 (high) 0x40bee65e 0x800e2860 0xA4: PM wakeup frame 3 (low) 0x44280748 0x1ceea050 0xAC: PM wakeup frame 3 (high) 0xc465e124 0xc4650000 0xB4: PM wakeup frame 4 (low) 0xffffffff 0xffffffff 0xBC: PM wakeup frame 4 (high) 0x00000000 0x00000000 0xC4: Wakeup frame 0 CRC 0x0000 0xC6: Wakeup frame 1 CRC 0x0000 0xC8: Wakeup frame 2 CRC 0x0000 0xCA: Wakeup frame 3 CRC 0x0000 0xCC: Wakeup frame 4 CRC 0x0000 0xDA: RX packet maximum size 0x4000 0xE0: C+ Command 0x20e1 VLAN de-tagging RX checksumming 0xE2: Interrupt Mitigation 0x5151 TxTimer: 5 TxPackets: 1 RxTimer: 5 RxPackets: 1 0xE4: Rx Ring Addr 0x1f152000 0x00000004 0xEC: Early Tx threshold 0x27 0xF0: Func Event 0x00400030 0xF4: Func Event Mask 0x00000000 0xF8: Func Preset State 0x000303ff 0xFC: Func Force Event 0x00000000 ==> exhibit-31 <== RealTek RTL8168evl/8111evl registers: -------------------------------------------------------- 0x00: MAC Address 54:04:a6:82:21:00 0x08: Multicast Address Filter 0x024a0040 0x80c14082 0x10: Dump Tally Counter Command 0x1ab90000 0x00000004 0x20: Tx Normal Priority Ring Addr 0x1f153000 0x00000004 0x28: Tx High Priority Ring Addr 0x00000000 0x00000000 0x30: Flash memory read/write 0x00000000 0x34: Early Rx Byte Count 0 0x36: Early Rx Status 0x00 0x37: Command 0x0c Rx on, Tx on 0x3C: Interrupt Mask 0x803f SERR LinkChg RxNoBuf TxErr TxOK RxErr RxOK 0x3E: Interrupt Status 0x0000 0x40: Tx Configuration 0x2f900f80 0x44: Rx Configuration 0x0002c70e 0x48: Timer count 0x00000000 0x4C: Missed packet counter 0x000000 0x50: EEPROM Command 0x10 0x51: Config 0 0x00 0x52: Config 1 0xcf 0x53: Config 2 0xbd 0x54: Config 3 0x60 0x55: Config 4 0x51 0x56: Config 5 0x03 0x58: Timer interrupt 0x00000000 0x5C: Multiple Interrupt Select 0x0000 0x60: PHY access 0x80040de1 0x64: TBI control and status 0x84321043 0x68: TBI Autonegotiation advertisement (ANAR) 0xf02c 0x6A: TBI Link partner ability (LPAR) 0x0000 0x6C: PHY status 0x93 0x84: PM wakeup frame 0 0x00000000 0x00000000 0x8C: PM wakeup frame 1 0x00000000 0x4af63565 0x94: PM wakeup frame 2 (low) 0x6202016b 0x8ab829be 0x9C: PM wakeup frame 2 (high) 0x40bee65e 0x800e2860 0xA4: PM wakeup frame 3 (low) 0x44280748 0x1ceea050 0xAC: PM wakeup frame 3 (high) 0xc465e124 0xc4650000 0xB4: PM wakeup frame 4 (low) 0xffffffff 0xffffffff 0xBC: PM wakeup frame 4 (high) 0x00000000 0x00000000 0xC4: Wakeup frame 0 CRC 0x0000 0xC6: Wakeup frame 1 CRC 0x0000 0xC8: Wakeup frame 2 CRC 0x0000 0xCA: Wakeup frame 3 CRC 0x0000 0xCC: Wakeup frame 4 CRC 0x0000 0xDA: RX packet maximum size 0x4000 0xE0: C+ Command 0x20e1 VLAN de-tagging RX checksumming 0xE2: Interrupt Mitigation 0x5151 TxTimer: 5 TxPackets: 1 RxTimer: 5 RxPackets: 1 0xE4: Rx Ring Addr 0x1f152000 0x00000004 0xEC: Early Tx threshold 0x27 0xF0: Func Event 0x00400030 0xF4: Func Event Mask 0x00000000 0xF8: Func Preset State 0x000303ff 0xFC: Func Force Event 0x00000000 ==> exhibit-4.20.4-preeth-presleep <== RealTek RTL8168evl/8111evl registers: -------------------------------------------------------- 0x00: MAC Address 54:04:a6:82:21:00 0x08: Multicast Address Filter 0x024a0040 0x80c14082 0x10: Dump Tally Counter Command 0x1f7c2000 0x00000004 0x20: Tx Normal Priority Ring Addr 0x0ce91000 0x00000004 0x28: Tx High Priority Ring Addr 0x00000000 0x00000000 0x30: Flash memory read/write 0x00000000 0x34: Early Rx Byte Count 0 0x36: Early Rx Status 0x00 0x37: Command 0x0c Rx on, Tx on 0x3C: Interrupt Mask 0x803f SERR LinkChg RxNoBuf TxErr TxOK RxErr RxOK 0x3E: Interrupt Status 0x0000 0x40: Tx Configuration 0x2f900f80 0x44: Rx Configuration 0x0002c70e 0x48: Timer count 0x00000000 0x4C: Missed packet counter 0x000000 0x50: EEPROM Command 0x10 0x51: Config 0 0x00 0x52: Config 1 0xcf 0x53: Config 2 0xbd 0x54: Config 3 0x60 0x55: Config 4 0x51 0x56: Config 5 0x03 0x58: Timer interrupt 0x00000000 0x5C: Multiple Interrupt Select 0x0000 0x60: PHY access 0x8001796d 0x64: TBI control and status 0x84321043 0x68: TBI Autonegotiation advertisement (ANAR) 0xf02c 0x6A: TBI Link partner ability (LPAR) 0x0000 0x6C: PHY status 0x93 0x84: PM wakeup frame 0 0x00000000 0x00000000 0x8C: PM wakeup frame 1 0x00000000 0x4af63565 0x94: PM wakeup frame 2 (low) 0x6202016b 0x8ab829be 0x9C: PM wakeup frame 2 (high) 0x40bee65e 0x800e2860 0xA4: PM wakeup frame 3 (low) 0x44280748 0x1ceea050 0xAC: PM wakeup frame 3 (high) 0xc465e124 0xc4650000 0xB4: PM wakeup frame 4 (low) 0xffffffff 0xffffffff 0xBC: PM wakeup frame 4 (high) 0x00000000 0x00000000 0xC4: Wakeup frame 0 CRC 0x0000 0xC6: Wakeup frame 1 CRC 0x0000 0xC8: Wakeup frame 2 CRC 0x0000 0xCA: Wakeup frame 3 CRC 0x0000 0xCC: Wakeup frame 4 CRC 0x0000 0xDA: RX packet maximum size 0x4000 0xE0: C+ Command 0x20e1 VLAN de-tagging RX checksumming 0xE2: Interrupt Mitigation 0x5151 TxTimer: 5 TxPackets: 1 RxTimer: 5 RxPackets: 1 0xE4: Rx Ring Addr 0x0ce8e000 0x00000004 0xEC: Early Tx threshold 0x27 0xF0: Func Event 0x00400030 0xF4: Func Event Mask 0x00000000 0xF8: Func Preset State 0x000303ff 0xFC: Func Force Event 0x00000000 ==> exhibit-4.20.4-preeth-postsleep <== RealTek RTL8168evl/8111evl registers: -------------------------------------------------------- 0x00: MAC Address 54:04:a6:82:21:00 0x08: Multicast Address Filter 0x024a0040 0x80c14082 0x10: Dump Tally Counter Command 0x1f7c2000 0x00000004 0x20: Tx Normal Priority Ring Addr 0x0ce91000 0x00000004 0x28: Tx High Priority Ring Addr 0x00000000 0x00000000 0x30: Flash memory read/write 0x00000000 0x34: Early Rx Byte Count 0 0x36: Early Rx Status 0x00 0x37: Command 0x0c Rx on, Tx on 0x3C: Interrupt Mask 0x803f SERR LinkChg RxNoBuf TxErr TxOK RxErr RxOK 0x3E: Interrupt Status 0x0000 0x40: Tx Configuration 0x2f900f80 0x44: Rx Configuration 0x0002c70e 0x48: Timer count 0x00000000 0x4C: Missed packet counter 0x000000 0x50: EEPROM Command 0x10 0x51: Config 0 0x00 0x52: Config 1 0xcf 0x53: Config 2 0xbd 0x54: Config 3 0x60 0x55: Config 4 0x51 0x56: Config 5 0x03 0x58: Timer interrupt 0x00000000 0x5C: Multiple Interrupt Select 0x0000 0x60: PHY access 0x80040de1 0x64: TBI control and status 0x84321043 0x68: TBI Autonegotiation advertisement (ANAR) 0xf02c 0x6A: TBI Link partner ability (LPAR) 0x0000 0x6C: PHY status 0x93 0x84: PM wakeup frame 0 0x00000000 0x00000000 0x8C: PM wakeup frame 1 0x00000000 0x4af63565 0x94: PM wakeup frame 2 (low) 0x6202016b 0x8ab829be 0x9C: PM wakeup frame 2 (high) 0x40bee65e 0x800e2860 0xA4: PM wakeup frame 3 (low) 0x44280748 0x1ceea050 0xAC: PM wakeup frame 3 (high) 0xc465e124 0xc4650000 0xB4: PM wakeup frame 4 (low) 0xffffffff 0xffffffff 0xBC: PM wakeup frame 4 (high) 0x00000000 0x00000000 0xC4: Wakeup frame 0 CRC 0x0000 0xC6: Wakeup frame 1 CRC 0x0000 0xC8: Wakeup frame 2 CRC 0x0000 0xCA: Wakeup frame 3 CRC 0x0000 0xCC: Wakeup frame 4 CRC 0x0000 0xDA: RX packet maximum size 0x4000 0xE0: C+ Command 0x20e1 VLAN de-tagging RX checksumming 0xE2: Interrupt Mitigation 0x5151 TxTimer: 5 TxPackets: 1 RxTimer: 5 RxPackets: 1 0xE4: Rx Ring Addr 0x0ce8e000 0x00000004 0xEC: Early Tx threshold 0x27 0xF0: Func Event 0x00400030 0xF4: Func Event Mask 0x00000000 0xF8: Func Preset State 0x000303ff 0xFC: Func Force Event 0x00000000 ==> exhibit-4.20.4-posteth-presleep <== RealTek RTL8168evl/8111evl registers: -------------------------------------------------------- 0x00: MAC Address 54:04:a6:82:21:00 0x08: Multicast Address Filter 0x024a0040 0x80c14082 0x10: Dump Tally Counter Command 0x1f7c2000 0x00000004 0x20: Tx Normal Priority Ring Addr 0x0ce91000 0x00000004 0x28: Tx High Priority Ring Addr 0x00000000 0x00000000 0x30: Flash memory read/write 0x00000000 0x34: Early Rx Byte Count 0 0x36: Early Rx Status 0x00 0x37: Command 0x0c Rx on, Tx on 0x3C: Interrupt Mask 0x803f SERR LinkChg RxNoBuf TxErr TxOK RxErr RxOK 0x3E: Interrupt Status 0x0000 0x40: Tx Configuration 0x2f900f80 0x44: Rx Configuration 0x0002c70e 0x48: Timer count 0x00000000 0x4C: Missed packet counter 0x000000 0x50: EEPROM Command 0x10 0x51: Config 0 0x00 0x52: Config 1 0xcf 0x53: Config 2 0xbd 0x54: Config 3 0x60 0x55: Config 4 0x51 0x56: Config 5 0x03 0x58: Timer interrupt 0x00000000 0x5C: Multiple Interrupt Select 0x0000 0x60: PHY access 0x80040de1 0x64: TBI control and status 0x84321043 0x68: TBI Autonegotiation advertisement (ANAR) 0xf02c 0x6A: TBI Link partner ability (LPAR) 0x0000 0x6C: PHY status 0x93 0x84: PM wakeup frame 0 0x00000000 0x00000000 0x8C: PM wakeup frame 1 0x00000000 0x4af63565 0x94: PM wakeup frame 2 (low) 0x6202016b 0x8ab829be 0x9C: PM wakeup frame 2 (high) 0x40bee65e 0x800e2860 0xA4: PM wakeup frame 3 (low) 0x44280748 0x1ceea050 0xAC: PM wakeup frame 3 (high) 0xc465e124 0xc4650000 0xB4: PM wakeup frame 4 (low) 0xffffffff 0xffffffff 0xBC: PM wakeup frame 4 (high) 0x00000000 0x00000000 0xC4: Wakeup frame 0 CRC 0x0000 0xC6: Wakeup frame 1 CRC 0x0000 0xC8: Wakeup frame 2 CRC 0x0000 0xCA: Wakeup frame 3 CRC 0x0000 0xCC: Wakeup frame 4 CRC 0x0000 0xDA: RX packet maximum size 0x4000 0xE0: C+ Command 0x20e1 VLAN de-tagging RX checksumming 0xE2: Interrupt Mitigation 0x5151 TxTimer: 5 TxPackets: 1 RxTimer: 5 RxPackets: 1 0xE4: Rx Ring Addr 0x0ce8e000 0x00000004 0xEC: Early Tx threshold 0x27 0xF0: Func Event 0x00400030 0xF4: Func Event Mask 0x00000000 0xF8: Func Preset State 0x000303ff 0xFC: Func Force Event 0x00000000 ==> exhibit-4.20.4-posteth-postsleep <== RealTek RTL8168evl/8111evl registers: -------------------------------------------------------- 0x00: MAC Address 54:04:a6:82:21:00 0x08: Multicast Address Filter 0x024a0040 0x80c14082 0x10: Dump Tally Counter Command 0x1f7c2000 0x00000004 0x20: Tx Normal Priority Ring Addr 0x0ce91000 0x00000004 0x28: Tx High Priority Ring Addr 0x00000000 0x00000000 0x30: Flash memory read/write 0x00000000 0x34: Early Rx Byte Count 0 0x36: Early Rx Status 0x00 0x37: Command 0x0c Rx on, Tx on 0x3C: Interrupt Mask 0x803f SERR LinkChg RxNoBuf TxErr TxOK RxErr RxOK 0x3E: Interrupt Status 0x0000 0x40: Tx Configuration 0x2f900f80 0x44: Rx Configuration 0x0002c70e 0x48: Timer count 0x00000000 0x4C: Missed packet counter 0x000000 0x50: EEPROM Command 0x10 0x51: Config 0 0x00 0x52: Config 1 0xcf 0x53: Config 2 0xbd 0x54: Config 3 0x60 0x55: fig 4 0x51 0x56: Config 5 0x03 0x58: Timer interrupt 0x00000000 0x5C: Multiple Interrupt Select 0x0000 0x60: PHY access 0x80040de1 0x64: TBI control and status 0x84321043 0x68: TBI Autonegotiation advertisement (ANAR) 0xf02c 0x6A: TBI Link partner ability (LPAR) 0x0000 0x6C: PHY status 0x93 0x84: PM wakeup frame 0 0x00000000 0x00000000 0x8C: PM wakeup frame 1 0x00000000 0x4af63565 0x94: PM wakeup frame 2 (low) 0x6202016b 0x8ab829be 0x9C: PM wakeup frame 2 (high) 0x40bee65e 0x800e2860 0xA4: PM wakeup frame 3 (low) 0x44280748 0x1ceea050 0xAC: PM wakeup frame 3 (high) 0xc465e124 0xc4650000 0xB4: PM wakeup frame 4 (low) 0xffffffff 0xffffffff 0xBC: PM wakeup frame 4 (high) 0x00000000 0x00000000 0xC4: Wakeup frame 0 CRC 0x0000 0xC6: Wakeup frame 1 CRC 0x0000 0xC8: Wakeup frame 2 CRC 0x0000 0xCA: Wakeup frame 3 CRC 0x0000 0xCC: Wakeup frame 4 CRC 0x0000 0xDA: RX packet maximum size 0x4000 0xE0: C+ Command 0x20e1 VLAN de-tagging RX checksumming 0xE2: Interrupt Mitigation 0x5151 TxTimer: 5 TxPackets: 1 RxTimer: 5 RxPackets: 1 0xE4: Rx Ring Addr 0x0ce8e000 0x00000004 0xEC: Early Tx threshold 0x27 0xF0: Func Event 0x00400030 0xF4: Func Event Mask 0x00000000 0xF8: Func Preset State 0x000303ff 0xFC: Func Force Event 0x00000000 ==> exhibit-4.18-presleep <== RealTek RTL8168evl/8111evl registers: -------------------------------------------------------- 0x00: MAC Address 54:04:a6:82:21:00 0x08: Multicast Address Filter 0x024a0040 0x80c14082 0x10: Dump Tally Counter Command 0x20651000 0x00000004 0x20: Tx Normal Priority Ring Addr 0x0e02c000 0x00000004 0x28: Tx High Priority Ring Addr 0x00000000 0x00000000 0x30: Flash memory read/write 0x00000000 0x34: Early Rx Byte Count 0 0x36: Early Rx Status 0x00 0x37: Command 0x0c Rx on, Tx on 0x3C: Interrupt Mask 0x803f SERR LinkChg RxNoBuf TxErr TxOK RxErr RxOK 0x3E: Interrupt Status 0x0000 0x40: Tx Configuration 0x2f900f80 0x44: Rx Configuration 0x0002c70e 0x48: Timer count 0x00000000 0x4C: Missed packet counter 0x000000 0x50: EEPROM Command 0x10 0x51: Config 0 0x00 0x52: Config 1 0xcf 0x53: Config 2 0xbd 0x54: Config 3 0x60 0x55: Config 4 0x51 0x56: Config 5 0x02 0x58: Timer interrupt 0x00000000 0x5C: Multiple Interrupt Select 0x0000 0x60: PHY access 0x8005c1e1 0x64: TBI control and status 0x84321043 0x68: I Autonegotiation advertisement (ANAR) 0xf02c 0x6A: TBI Link partner ability (LPAR) 0x0000 0x6C: PHY status 0x93 0x84: PM wakeup frame 0 0x00000000 0x00000000 0x8C: PM wakeup frame 1 0x00000000 0x4af63565 0x94: PM wakeup frame 2 (low) 0x6202016b 0x8ab829be 0x9C: PM wakeup frame 2 (high) 0x40bee65e 0x800e2860 0xA4: PM wakeup frame 3 (low) 0x44280748 0x1ceea050 0xAC: PM wakeup frame 3 (high) 0xc465e124 0xc4650000 0xB4: PM wakeup frame 4 (low) 0xffffffff 0xffffffff 0xBC: PM wakeup frame 4 (high) 0x00000000 0x00000000 0xC4: Wakeup frame 0 CRC 0x0000 0xC6: Wakeup frame 1 CRC 0x0000 0xC8: Wakeup frame 2 CRC 0x0000 0xCA: Wakeup frame 3 CRC 0x0000 0xCC: Wakeup frame 4 CRC 0x0000 0xDA: RX packet maximum size 0x4000 0xE0: C+ Command 0x20e1 VLAN de-tagging RX checksumming 0xE2: Interrupt Mitigation 0x5151 TxTimer: 5 TxPackets: 1 RxTimer: 5 RxPackets: 1 0xE4: Rx Ring Addr 0x0e02d000 0x00000004 0xEC: Early Tx threshold 0x27 0xF0: Func Event 0x00400030 0xF4: Func Event Mask 0x00000000 0xF8: Func Preset State 0x000303ff 0xFC: Func Force Event 0x00000000 ==> exhibit-4.18-postsleep <== RealTek RTL8168evl/8111evl registers: -------------------------------------------------------- 0x00: MAC Address 54:04:a6:82:21:00 0x08: Multicast Address Filter 0x024a0040 0x80c14082 0x10: Dump Tally Counter Command 0x20651000 0x00000004 0x20: Tx Normal Priority Ring Addr 0x0e02c000 0x00000004 0x28: Tx High Priority Ring Addr 0x00000000 0x00000000 0x30: Flash memory read/write 0x00000000 0x34: Early Rx Byte Count 0 0x36: Early Rx Status 0x00 0x37: Command 0x0c Rx on, Tx on 0x3C: Interrupt Mask 0x803f SERR LinkChg RxNoBuf TxErr TxOK RxErr RxOK 0x3E: Interrupt Status 0x0000 0x40: Tx Configuration 0x2f900f80 0x44: Rx Configuration 0x0002c70e 0x48: Timer count 0x00000000 0x4C: Missed packet counter 0x000000 0x50: EEPROM Command 0x10 0x51: Config 0 0x00 0x52: Config 1 0xcf 0x53: Config 2 0xbd 0x54: Config 3 0x60 0x55: Config 4 0x51 0x56: Config 5 0x02 0x58: Timer interrupt 0x00000000 0x5C: Multiple Interrupt Select 0x0000 0x60: PHY access 0x80040de1 0x64: TBI control and status 0x84321043 0x68: TBI Autonegotiation advertisement (ANAR) 0xf02c 0x6A: TBI Link partner ability (LPAR) 0x0000 0x6C: PHY status 0x93 0x84: PM wakeup frame 0 0x00000000 0x00000000 0x8C: PM wakeup frame 1 0x00000000 0x4af63565 0x94: PM wakeup frame 2 (low) 0x6202016b 0x8ab829be 0x9CM wakeup frame 2 (high) 0x40bee65e 0x800e2860 0xA4: PM wakeup frame 3 (low) 0x44280748 0x1ceea050 0xAC: PM wakeup frame 3 (high) 0xc465e124 0xc4650000 0xB4: PM wakeup frame 4 (low) 0xffffffff 0xffffffff 0xBC: PM wakeup frame 4 (high) 0x00000000 0x00000000 0xC4: Wakeup frame 0 CRC 0x0000 0xC6: Wakeup frame 1 CRC 0x0000 0xC8: Wakeup frame 2 CRC 0x0000 0xCA: Wakeup frame 3 CRC 0x0000 0xCC: Wakeup frame 4 CRC 0x0000 0xDA: RX packet maximum size 0x4000 0xE0: C+ Command 0x20e1 VLAN de-tagging RX checksumming 0xE2: Interrupt Mitigation 0x5151 TxTimer: 5 TxPackets: 1 RxTimer: 5 RxPackets: 1 0xE4: Rx Ring Addr 0x0e02d000 0x00000004 0xEC: Early Tx threshold 0x27 0xF0: Func Event 0x00400030 0xF4: Func Event Mask 0x00000000 0xF8: Func Preset State 0x000303ff 0xFC: Func Force Event 0x00000000 - ----------------------------------------------------------------------------- Marc Haber | "I don't trust Computers. They | Mailadresse im Header Leimen, Germany | lose things." Winona Ryder | Fon: *49 6224 1600402 Nordisch by Nature | How to make an American Quilt | Fax: *49 6224 1600421