On Sun, Apr 17, 2011 at 11:05:38AM +0200, Stefan Sperling wrote:
> On Thu, Mar 31, 2011 at 06:54:44PM +0200, Stefan Sperling wrote:
> > This is an attempt to add wol support to xl(4).
> >
> > Unfortunately, while I have an xl(4) card to test with none of the
> > motherboards I have will do WOL with it since they all lack an
> > on-board WOL connector :(
> >
> > So test reports are needed.
> > Please also check whether WOL is disabled by default.
>
> I haven't received any test reports yet.

The (commited) diff has no effect on my onboard xl(4).
The hardware supports this (BIOS setting checked):
http://support.dell.com/support/edocs/systems/dvol/en/vol_mt/SETUP.HTM#Wakeup
%20On%20LAN

OpenBSD 4.9-current (GENERIC.MP) #0: Mon Apr 18 02:39:32 CEST 2011
    tobi...@boron.tmux.org:/usr/src/sys/arch/i386/compile/GENERIC.MP
cpu0: Intel Pentium III ("GenuineIntel" 686-class, 512KB L2 cache) 499 MHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PSE36,MMX,FXSR,
SSE
real mem  = 2147049472 (2047MB)
avail mem = 2101751808 (2004MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 01/11/02, BIOS32 rev. 0 @ 0xffe90,
SMBIOS rev. 2.2 @ 0xfb1b0 (83 entries)
bios0: vendor Dell Computer Corporation version "A11" date 01/11/02
bios0: Dell Computer Corporation Precision WorkStation 610 MT
acpi0 at bios0: rev 0
acpi0: sleep states S0 S1 S4 S5
acpi0: tables DSDT FACP APIC
acpi0: wakeup devices PCI0(S5) USB0(S5) PCI1(S5)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0: invalid, skipping
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 2 (PCI1)
mpbios0 at bios0: Intel MP Specification 1.4
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 99MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel Pentium III ("GenuineIntel" 686-class, 512KB L2 cache) 499 MHz
cpu1:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PSE36,MMX,FXSR,
SSE
mpbios0: bus 0 is type PCI
mpbios0: bus 1 is type PCI
mpbios0: bus 2 is type PCI
mpbios0: bus 3 is type ISA
ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 11, 24 pins
ioapic0: misconfigured as apic 0, remapped to apid 2
bios0: ROM list: 0xc0000/0xc000 0xcc000/0x9800 0xd5800/0x800 0xd6000/0x2000
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 "Intel 82440BX AGP" rev 0x00
intelagp0 at pchb0
agp0 at intelagp0: aperture at 0xf0000000, size 0x4000000
ppb0 at pci0 dev 1 function 0 "Intel 82440BX AGP" rev 0x00
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 "Trident Blade 3D" rev 0x3a
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
piixpcib0 at pci0 dev 7 function 0 "Intel 82371AB PIIX4 ISA" rev 0x02
pciide0 at pci0 dev 7 function 1 "Intel 82371AB IDE" rev 0x01: DMA, channel 0
wired to compatibility, channel 1 wired to compatibility
wd0 at pciide0 channel 0 drive 0: <SAMSUNG SP1604N>
wd0: 16-sector PIO, LBA48, 152626MB, 312579695 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
wd1 at pciide0 channel 1 drive 0: <WDC WD1200BB-00DWA0>
wd1: 16-sector PIO, LBA48, 114473MB, 234441648 sectors
wd1(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2
uhci0 at pci0 dev 7 function 2 "Intel 82371AB USB" rev 0x01: apic 2 int 19
(irq 11)
piixpm0 at pci0 dev 7 function 3 "Intel 82371AB Power" rev 0x02: SMI
iic0 at piixpm0
admtemp0 at iic0 addr 0x2b: adm1021
iic0: addr 0x2d 06=40 09=50 14=53 1a=02 20=cf 21=bd 22=b9 23=7c 24=7d 25=bb
26=3b 27=1d 28=ff 29=50 2a=ff 2b=db 2c=c2 2d=d0 2e=a7 2f=d0 30=a7 31=83 32=77
33=83 34=77 35=c9 36=ae 37=70 38=12 39=4b 3a=46 3b=9a 3c=fa 3d=40 40=03 41=40
42=08 43=50 44=b8 46=40 47=f1 48=2d 49=c0 4a=fa 4b=c0 4c=c0 4d=c0 50=03 53=50
54=b8 56=40 57=f1 58=2d 59=c0 5a=c0 5b=c0 5c=c0 5d=c0 5e=c0 60=cf 61=bd 62=b9
63=7c 64=7d 65=bb 66=3b 67=1d 68=ff 69=50 6a=ff 6b=db 6c=c2 6d=d0 6e=a7 6f=d0
70=a7 71=83 72=77 73=83 74=77 75=c9 76=ae 77=70 78=12 79=4b 7a=46 7b=9a 7c=fa
7d=40 86=40 89=50 94=53 9a=02 a0=cf a1=bd a2=b9 a3=7c a4=7d a5=bb a6=3b a7=1d
a8=ff a9=50 aa=ff ab=db ac=c2 ad=d0 ae=a7 af=d0 b0=a7 b1=83 b2=77 b3=83 b4=77
b5=c9 b6=ae b7=70 b8=12 b9=4b ba=46 bb=9a bc=fa bd=40 c0=03 c3=50 c4=b8 c6=40
c7=f1 c8=2d c9=c0 ca=c0 cb=c0 cc=c0 cd=c0 ce=c0 d0=03 d3=50 d4=b8 d6=40 d7=f1
d8=2d d9=c0 da=c0 db=c0 dc=c0 dd=c0 de=c0 e0=cf e1=bd e2=b9 e3=7c e4=7d e5=bb
e6=3b e7=1d e8=ff e9=50 ea=ff eb=db ec=c2 ed=d0 ee=a7 ef=d0 f0=a7 f1=83 f2=77
f3=83 f4=77 f5=c9 f6=ae f7=70 f8=12 f9=4b fa=46 fb=9a fc=fa fd=40 words
00=0080 01=0080 02=0080 03=0080 04=0080 05=0080 06=4080 07=0080
admtemp1 at iic0 addr 0x4e: adm1021
spdmem0 at iic0 addr 0x50: 512MB SDRAM non-parity PC133CL3
spdmem1 at iic0 addr 0x51: 512MB SDRAM non-parity PC133CL3
spdmem2 at iic0 addr 0x52: 512MB SDRAM non-parity PC133CL3
spdmem3 at iic0 addr 0x53: 512MB SDRAM non-parity PC133CL3
xl0 at pci0 dev 13 function 0 "3Com 3c905C 100Base-TX" rev 0x78: apic 2 int 16
(irq 10), address 00:04:75:b1:00:7d
exphy0 at xl0 phy 24: 3Com internal media interface
rl0 at pci0 dev 14 function 0 "Realtek 8139" rev 0x10: apic 2 int 17 (irq 5),
address 00:05:5d:2b:fa:b4
rlphy0 at rl0 phy 0: RTL internal PHY
cmpci0 at pci0 dev 16 function 0 "C-Media Electronics CMI8738/C3DX Audio" rev
0x10: apic 2 int 19 (irq 11)
audio0 at cmpci0
opl at cmpci0 not configured
mpu at cmpci0 not configured
xl1 at pci0 dev 17 function 0 "3Com 3c905B 100Base-TX" rev 0x24: apic 2 int 17
(irq 5), address 00:c0:4f:79:4d:d8
exphy1 at xl1 phy 24: 3Com internal media interface
ppb1 at pci0 dev 19 function 0 "DEC 21152 PCI-PCI" rev 0x03
pci2 at ppb1 bus 2
pciide1 at pci2 dev 6 function 0 "Promise PDC20271" rev 0x02: DMA, channel 0
configured to native-PCI, channel 1 configured to native-PCI
pciide1: using apic 2 int 18 (irq 11) for native-PCI interrupt
wd2 at pciide1 channel 0 drive 0: <Hitachi HCP725050GLAT80>
wd2: 16-sector PIO, LBA48, 476940MB, 976773168 sectors
wd3 at pciide1 channel 0 drive 1: <Hitachi HCP725050GLAT80>
wd3: 16-sector PIO, LBA48, 476940MB, 976773168 sectors
wd2(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 6
wd3(pciide1:0:1): using PIO mode 4, Ultra-DMA mode 6
wd4 at pciide1 channel 1 drive 0: <ST3250620A>
wd4: 16-sector PIO, LBA48, 238474MB, 488395055 sectors
wd5 at pciide1 channel 1 drive 1: <ST3250620A>
wd5: 16-sector PIO, LBA48, 238475MB, 488397168 sectors
wd4(pciide1:1:0): using PIO mode 4, Ultra-DMA mode 5
wd5(pciide1:1:1): using PIO mode 4, Ultra-DMA mode 5
isa0 at piixpcib0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
usb0 at uhci0: USB revision 1.0
uhub0 at usb0 "Intel UHCI root hub" rev 1.00/1.00 addr 1
mtrr: Pentium Pro MTRR support
vscsi0 at root
scsibus0 at vscsi0: 256 targets
softraid0 at root
root on wd0a swap on wd0b dump on wd0b
Domain /dev/pci0:
 0:0:0: Intel 82440BX AGP
        0x0000: Vendor ID: 8086 Product ID: 71a0
        0x0004: Command: 0106 Status ID: 2210
        0x0008: Class: 06 Subclass: 00 Interface: 00 Revision: 00
        0x000c: BIST: 00 Header Type: 00 Latency Timer: 40 Cache Line Size: 00
        0x0010: BAR mem prefetchable 32bit addr: 0xf0000000/0x04000000
        0x0014: BAR empty (00000000)
        0x0018: BAR empty (00000000)
        0x001c: BAR empty (00000000)
        0x0020: BAR empty (00000000)
        0x0024: BAR empty (00000000)
        0x0028: Cardbus CIS: 00000000
        0x002c: Subsystem Vendor ID: 1028 Product ID: 4087
        0x0030: Expansion ROM Base Address: 00000000
        0x0038: 00000000
        0x003c: Interrupt Pin: 00 Line: 00 Min Gnt: 00 Max Lat: 00
        0x00a0: Capability 0x02: AGP
 0:1:0: Intel 82440BX AGP
        0x0000: Vendor ID: 8086 Product ID: 71a1
        0x0004: Command: 011f Status ID: 0220
        0x0008: Class: 06 Subclass: 04 Interface: 00 Revision: 00
        0x000c: BIST: 00 Header Type: 01 Latency Timer: 40 Cache Line Size: 00
        0x0010: 00000000
        0x0014: 00000000
        0x0018: Primary Bus: 0 Secondary Bus: 1 Subordinate Bus: 1
                Secondary Latency Timer: 40
        0x001c: I/O Base: f0 I/O Limit: 00 Secondary Status: 22a0
        0x0020: Memory Base: fb00 Memory Limit: fdf0
        0x0024: Prefetch Memory Base: f600 Prefetch Memory Limit: f6f0
        0x0028: Prefetch Memory Base Upper 32 Bits: 00000000
        0x002c: Prefetch Memory Limit Upper 32 Bits: 00000000
        0x0030: I/O Base Upper 16 Bits: 0000 I/O Limit Upper 16 Bits: 0000
        0x0038: Expansion ROM Base Address: 00000000
        0x003c: Interrupt Pin: 00 Line: 00 Bridge Control: 008c
 0:7:0: Intel 82371AB PIIX4 ISA
        0x0000: Vendor ID: 8086 Product ID: 7110
        0x0004: Command: 000f Status ID: 0280
        0x0008: Class: 06 Subclass: 01 Interface: 00 Revision: 02
        0x000c: BIST: 00 Header Type: 80 Latency Timer: 00 Cache Line Size: 00
        0x0010: BAR empty (00000000)
        0x0014: BAR empty (00000000)
        0x0018: BAR empty (00000000)
        0x001c: BAR empty (00000000)
        0x0020: BAR empty (00000000)
        0x0024: BAR empty (00000000)
        0x0028: Cardbus CIS: 00000000
        0x002c: Subsystem Vendor ID: 0000 Product ID: 0000
        0x0030: Expansion ROM Base Address: 00000000
        0x0038: 00000000
        0x003c: Interrupt Pin: 00 Line: 00 Min Gnt: 00 Max Lat: 00
 0:7:1: Intel 82371AB IDE
        0x0000: Vendor ID: 8086 Product ID: 7111
        0x0004: Command: 0005 Status ID: 0280
        0x0008: Class: 01 Subclass: 01 Interface: 80 Revision: 01
        0x000c: BIST: 00 Header Type: 00 Latency Timer: 40 Cache Line Size: 00
        0x0010: BAR empty (00000000)
        0x0014: BAR empty (00000000)
        0x0018: BAR empty (00000000)
        0x001c: BAR empty (00000000)
        0x0020: BAR io addr: 0x0000ffa0/0x0010
        0x0024: BAR empty (00000000)
        0x0028: Cardbus CIS: 00000000
        0x002c: Subsystem Vendor ID: 0000 Product ID: 0000
        0x0030: Expansion ROM Base Address: 00000000
        0x0038: 00000000
        0x003c: Interrupt Pin: 00 Line: 00 Min Gnt: 00 Max Lat: 00
 0:7:2: Intel 82371AB USB
        0x0000: Vendor ID: 8086 Product ID: 7112
        0x0004: Command: 0005 Status ID: 0280
        0x0008: Class: 0c Subclass: 03 Interface: 00 Revision: 01
        0x000c: BIST: 00 Header Type: 00 Latency Timer: 40 Cache Line Size: 00
        0x0010: BAR empty (00000000)
        0x0014: BAR empty (00000000)
        0x0018: BAR empty (00000000)
        0x001c: BAR empty (00000000)
        0x0020: BAR io addr: 0x0000dce0/0x0020
        0x0024: BAR empty (00000000)
        0x0028: Cardbus CIS: 00000000
        0x002c: Subsystem Vendor ID: 0000 Product ID: 0000
        0x0030: Expansion ROM Base Address: 00000000
        0x0038: 00000000
        0x003c: Interrupt Pin: 04 Line: 0b Min Gnt: 00 Max Lat: 00
 0:7:3: Intel 82371AB Power
        0x0000: Vendor ID: 8086 Product ID: 7113
        0x0004: Command: 0001 Status ID: 0280
        0x0008: Class: 06 Subclass: 80 Interface: 00 Revision: 02
        0x000c: BIST: 00 Header Type: 00 Latency Timer: 00 Cache Line Size: 00
        0x0010: BAR empty (00000000)
        0x0014: BAR empty (00000000)
        0x0018: BAR empty (00000000)
        0x001c: BAR empty (00000000)
        0x0020: BAR empty (00000000)
        0x0024: BAR empty (00000000)
        0x0028: Cardbus CIS: 00000000
        0x002c: Subsystem Vendor ID: 0000 Product ID: 0000
        0x0030: Expansion ROM Base Address: 00000000
        0x0038: 00000000
        0x003c: Interrupt Pin: 00 Line: 00 Min Gnt: 00 Max Lat: 00
 0:13:0: 3Com 3c905C 100Base-TX
        0x0000: Vendor ID: 10b7 Product ID: 9200
        0x0004: Command: 0117 Status ID: 0210
        0x0008: Class: 02 Subclass: 00 Interface: 00 Revision: 78
        0x000c: BIST: 00 Header Type: 00 Latency Timer: 40 Cache Line Size: 08
        0x0010: BAR io addr: 0x0000dc00/0x0080
        0x0014: BAR mem 32bit addr: 0xfe000800/0x00000080
        0x0018: BAR empty (00000000)
        0x001c: BAR empty (00000000)
        0x0020: BAR empty (00000000)
        0x0024: BAR empty (00000000)
        0x0028: Cardbus CIS: 00000000
        0x002c: Subsystem Vendor ID: 10b7 Product ID: 1000
        0x0030: Expansion ROM Base Address: f8000000
        0x0038: 00000000
        0x003c: Interrupt Pin: 01 Line: 0a Min Gnt: 0a Max Lat: 0a
        0x00dc: Capability 0x01: Power Management
 0:14:0: Realtek 8139
        0x0000: Vendor ID: 10ec Product ID: 8139
        0x0004: Command: 0107 Status ID: 0290
        0x0008: Class: 02 Subclass: 00 Interface: 00 Revision: 10
        0x000c: BIST: 00 Header Type: 00 Latency Timer: 40 Cache Line Size: 00
        0x0010: BAR io addr: 0x0000d800/0x0100
        0x0014: BAR mem 32bit addr: 0xfe000400/0x00000100
        0x0018: BAR empty (00000000)
        0x001c: BAR empty (00000000)
        0x0020: BAR empty (00000000)
        0x0024: BAR empty (00000000)
        0x0028: Cardbus CIS: 00000000
        0x002c: Subsystem Vendor ID: 1186 Product ID: 8139
        0x0030: Expansion ROM Base Address: 00000000
        0x0038: 00000000
        0x003c: Interrupt Pin: 01 Line: 05 Min Gnt: 20 Max Lat: 40
        0x0050: Capability 0x01: Power Management
 0:16:0: C-Media Electronics CMI8738/C3DX Audio
        0x0000: Vendor ID: 13f6 Product ID: 0111
        0x0004: Command: 0105 Status ID: 0210
        0x0008: Class: 04 Subclass: 01 Interface: 00 Revision: 10
        0x000c: BIST: 00 Header Type: 00 Latency Timer: 40 Cache Line Size: 00
        0x0010: BAR io addr: 0x0000d400/0x0100
        0x0014: BAR empty (00000000)
        0x0018: BAR empty (00000000)
        0x001c: BAR empty (00000000)
        0x0020: BAR empty (00000000)
        0x0024: BAR empty (00000000)
        0x0028: Cardbus CIS: 00000000
        0x002c: Subsystem Vendor ID: 153b Product ID: 1144
        0x0030: Expansion ROM Base Address: 00000000
        0x0038: 00000000
        0x003c: Interrupt Pin: 01 Line: 0b Min Gnt: 02 Max Lat: 18
        0x00c0: Capability 0x01: Power Management
 0:17:0: 3Com 3c905B 100Base-TX
        0x0000: Vendor ID: 10b7 Product ID: 9055
        0x0004: Command: 0117 Status ID: 0210
        0x0008: Class: 02 Subclass: 00 Interface: 00 Revision: 24
        0x000c: BIST: 00 Header Type: 00 Latency Timer: 40 Cache Line Size: 08
        0x0010: BAR io addr: 0x0000d080/0x0080
        0x0014: BAR mem 32bit addr: 0xfe000000/0x00000080
        0x0018: BAR empty (00000000)
        0x001c: BAR empty (00000000)
        0x0020: BAR empty (00000000)
        0x0024: BAR empty (00000000)
        0x0028: Cardbus CIS: 00000000
        0x002c: Subsystem Vendor ID: 1028 Product ID: 0087
        0x0030: Expansion ROM Base Address: f8000000
        0x0038: 00000000
        0x003c: Interrupt Pin: 01 Line: 05 Min Gnt: 0a Max Lat: 0a
        0x00dc: Capability 0x01: Power Management
 0:19:0: DEC 21152 PCI-PCI
        0x0000: Vendor ID: 1011 Product ID: 0024
        0x0004: Command: 0107 Status ID: 0290
        0x0008: Class: 06 Subclass: 04 Interface: 00 Revision: 03
        0x000c: BIST: 00 Header Type: 01 Latency Timer: 40 Cache Line Size: 08
        0x0010: 00000000
        0x0014: 00000000
        0x0018: Primary Bus: 0 Secondary Bus: 2 Subordinate Bus: 2
                Secondary Latency Timer: 40
        0x001c: I/O Base: e1 I/O Limit: e1 Secondary Status: 2280
        0x0020: Memory Base: f900 Memory Limit: faf0
        0x0024: Prefetch Memory Base: f501 Prefetch Memory Limit: f5f1
        0x0028: Prefetch Memory Base Upper 32 Bits: 00000000
        0x002c: Prefetch Memory Limit Upper 32 Bits: 00000000
        0x0030: I/O Base Upper 16 Bits: 0000 I/O Limit Upper 16 Bits: 0000
        0x0038: Expansion ROM Base Address: 00000000
        0x003c: Interrupt Pin: 00 Line: 00 Bridge Control: 0006
        0x00dc: Capability 0x01: Power Management
 1:0:0: Trident Blade 3D
        0x0000: Vendor ID: 1023 Product ID: 9880
        0x0004: Command: 0007 Status ID: 02b0
        0x0008: Class: 03 Subclass: 00 Interface: 00 Revision: 3a
        0x000c: BIST: 00 Header Type: 00 Latency Timer: 40 Cache Line Size: 00
        0x0010: BAR mem 32bit addr: 0xfc800000/0x00800000
        0x0014: BAR mem 32bit addr: 0xfc7e0000/0x00020000
        0x0018: BAR mem 32bit addr: 0xfb800000/0x00800000
        0x001c: BAR empty (00000000)
        0x0020: BAR empty (00000000)
        0x0024: BAR empty (00000000)
        0x0028: Cardbus CIS: 00000000
        0x002c: Subsystem Vendor ID: 1b13 Product ID: 9880
        0x0030: Expansion ROM Base Address: 80000000
        0x0038: 00000000
        0x003c: Interrupt Pin: 01 Line: 0a Min Gnt: 00 Max Lat: 00
        0x0080: Capability 0x02: AGP
        0x0090: Capability 0x01: Power Management
 2:6:0: Promise PDC20271
        0x0000: Vendor ID: 105a Product ID: 6269
        0x0004: Command: 0007 Status ID: 0430
        0x0008: Class: 01 Subclass: 04 Interface: 85 Revision: 02
        0x000c: BIST: 00 Header Type: 00 Latency Timer: 40 Cache Line Size: 08
        0x0010: BAR io addr: 0x0000ecf8/0x0008
        0x0014: BAR io addr: 0x0000ecf0/0x0004
        0x0018: BAR io addr: 0x0000ece0/0x0008
        0x001c: BAR io addr: 0x0000ecd8/0x0004
        0x0020: BAR io addr: 0x0000ecc0/0x0010
        0x0024: BAR mem 32bit addr: 0xf9ff0000/0x00010000
        0x0028: Cardbus CIS: 00000000
        0x002c: Subsystem Vendor ID: 105a Product ID: 4d68
        0x0030: Expansion ROM Base Address: fa000000
        0x0038: 00000000
        0x003c: Interrupt Pin: 01 Line: 0b Min Gnt: 04 Max Lat: 12
        0x0060: Capability 0x01: Power Management

Reply via email to