Hello, I've been using a DWL-G520 as an access point with OpenBSD 3.7. Apart from not allowing higher modes than 11b, it ran fine.
Today I upgraded to 3.8 form a snapshot I downloaded Friday. The upgrade went smooth as usual. I went to modify /usr/src/sys/dev/ic/ar5xxx.c so the country code is set: /* * Enable to overwrite the country code (use "00" for debug) */ #if 0 #define COUNTRYCODE "fr" #endif I compiled the kernel, rebooted but the card was still displaying 'no regdomain'. In doubt, I tried to boot on the original kernel, but no luck too. Is there something new about that? Below's my dmesg: OpenBSD 3.8 (GENERIC) #0: Mon Sep 12 20:23:33 CEST 2005 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC cpu0: AMD Duron(tm) Processor ("AuthenticAMD" 686-class, 64KB L2 cache) 700 MHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR real mem = 1073258496 (1048104K) avail mem = 972722176 (949924K) using 4278 buffers containing 53764096 bytes (52504K) of memory mainbus0 (root) bios0 at mainbus0: AT/286+(00) BIOS, date 07/04/01, BIOS32 rev. 0 @ 0xfdb30 apm0 at bios0: Power Management spec V1.2 apm0: AC on, battery charge unknown apm0: flags 30102 dobusy 0 doidle 1 pcibios0 at bios0: rev 2.1 @ 0xf0000/0x10000 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf7df0/192 (10 entries) pcibios0: PCI Interrupt Router at 000:17:0 ("VIA VT8366 ISA" rev 0x00) pcibios0: PCI bus #1 is the last bus bios0: ROM list: 0xc0000/0xc000 0xcc000/0x4800 0xd0800/0x3800 cpu0 at mainbus0 pci0 at mainbus0 bus 0: configuration mode 1 (no bios) pchb0 at pci0 dev 0 function 0 "VIA VT8366 PCI" rev 0x00 ppb0 at pci0 dev 1 function 0 "VIA VT8366 AGP" rev 0x00 pci1 at ppb0 bus 1 vga1 at pci1 dev 0 function 0 "Nvidia GeForce2 GTS" rev 0xa4 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) fxp0 at pci0 dev 6 function 0 "Intel 82557" rev 0x05, i82558: irq 12, address 00:90:27:5c:ce:42 inphy0 at fxp0 phy 1: i82555 10/100 PHY, rev. 0 ahc1 at pci0 dev 7 function 0 "Adaptec AHA-2940U" rev 0x01: irq 10 scsibus0 at ahc1: 16 targets sd0 at scsibus0 targ 1 lun 0: <IBM, DNES-309170W, SAH0> SCSI3 0/direct fixed sd0: 8748MB, 11474 cyl, 5 head, 312 sec, 512 bytes/sec, 17916240 sec total ath0 at pci0 dev 9 function 0 "Atheros AR5212" rev 0x01: irq 11 ath0: AR5212 5.9 phy 4.3 rf2112 4.6ath0: no valid channels for regdomain NONE(32976) pcib0 at pci0 dev 17 function 0 "VIA VT8366 ISA" rev 0x00 pciide0 at pci0 dev 17 function 1 "VIA VT82C571 IDE" rev 0x06: ATA100, channel 0 configured to compatibility, channel 1 configured to compatibility wd0 at pciide0 channel 0 drive 0: <IC35L060AVV207-0> wd0: 16-sector PIO, LBA48, 58644MB, 120103200 sectors wd1 at pciide0 channel 0 drive 1: <IC35L040AVVN07-0> wd1: 16-sector PIO, LBA, 39266MB, 80418240 sectors wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5 wd1(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 5 atapiscsi0 at pciide0 channel 1 drive 0 scsibus1 at atapiscsi0: 2 targets cd0 at scsibus1 targ 0 lun 0: <Memorex, DVD-MAXX 1648 AJ, GWH2> SCSI0 5/cdrom removable cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2 uhci0 at pci0 dev 17 function 2 "VIA VT83C572 USB" rev 0x18: irq 5 usb0 at uhci0: USB revision 1.0 uhub0 at usb0 uhub0: VIA UHCI root hub, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1 at pci0 dev 17 function 3 "VIA VT83C572 USB" rev 0x18: irq 5 usb1 at uhci1: USB revision 1.0 uhub1 at usb1 uhub1: VIA UHCI root hub, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered uhci2 at pci0 dev 17 function 4 "VIA VT83C572 USB" rev 0x18: irq 5 usb2 at uhci2: USB revision 1.0 uhub2 at usb2 uhub2: VIA UHCI root hub, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered isa0 at pcib0 isadma0 at isa0 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 midi0 at pcppi0: <PC speaker> spkr0 at pcppi0 sysbeep0 at pcppi0 lpt0 at isa0 port 0x378/4 irq 7 lm0 at isa0 port 0x290/8: W83627HF npx0 at isa0 port 0xf0/16: using exception 16 pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo pccom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo fdc0 at isa0 port 0x3f0/6 irq 6 drq 2 fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec biomask ef65 netmask ff65 ttymask ffe7 pctr: user-level cycle counter enabled mtrr: Pentium Pro MTRR support ugen0 at uhub1 port 2 ugen0: Genesys Logic USB Host To Host Bridge, rev 1.00/1.80, addr 2 ahc1: target 1 using 16bit transfers ahc1: target 1 synchronous at 20.0MHz, offset = 0x8 dkcsum: sd0 matches BIOS drive 0x80 dkcsum: wd0 matches BIOS drive 0x81 dkcsum: wd1 matches BIOS drive 0x82 root on sd0a rootdev=0x400 rrootdev=0xd00 rawdev=0xd02