On Wed, Aug 13, 2003 at 01:44:15PM +0200, Robert Blacquière wrote: > Hi, > > I have some problems getting wi cards working. I've traced the behavour > of it. > > It assigns the first io memory 0x100-0x13f and the card fails to work. > I plugin a second wi card and it gets 0x180-0x1bf and the card works. > > I've 2 different cards one ASUS spacelink Prism 2.5 card and a Lucent > Orinoco Gold card. It does not matter which sequence i follow the first > card will fail but the second works. > > some debug info: > <snip> Hi, I fixed it somehow illegal by changing the src/sys/dev/pccbb/pccbb.c line 121: #define CBB_START_16_IO 0x100 to #define CBB_START_16_IO 0x140 And now my wireless cards work. Is there a better way to toggle the start address for 16 bit and 32 bit cards with sysctl?? dmesg output with debug info: CBB EVENT 0x6 Waking up thread Status is 0x30000510 cbb0: card inserted: event=0x00000000, state=30000510 cbb_pcic_socket_enable: cbb0: cbb_power: 5V start (30000000) < sc->membase (40000000) end (ffffffff) > sc->memlimit (403fffff) pcib2: device pccard0 requested decoded memory range 0x30000000-0xffffffff pccard0: CIS version PC Card Standard 5.0 pccard0: CIS info: Lucent Technologies, WaveLAN/IEEE, Version 01.01, pccard0: Manufacturer code 0x156, product 0x2 pccard0: function 0: network adapter, ccr addr 3e0 mask 1 pccard0: function 0, config table entry 1: I/O card; irq mask ffff; iomask 6, io space 0-3f; io16 irqpulse irqlevel pcib2: device pccard0 requested decoded I/O range 0x140-0xffffffff cbb_pcic_socket_enable: cbb0: cbb_power: 0V cbb0: cbb_power: 5V start (30000000) < sc->membase (40000000) end (ffffffff) > sc->memlimit (403fffff) pcib2: device pccard0 requested decoded memory range 0x30000000-0xffffffff wi0: <Lucent Technologies WaveLAN/IEEE> at port 0x180-0x1bf irq 11 function 0 co nfig 1 on pccard0 pcib2: device wi0 requested decoded I/O range 0x180-0x1bf pcib2: device pccard0 requested decoded I/O range 0x180-0x1bf pcib2: device wi0 requested decoded I/O range 0x180-0x1bf wi0: 802.11 address: 00:02:2d:03:69:67 wi0: using Lucent Technologies, WaveLAN/IEEE wi0: Lucent Firmware: Station (6.6.1) wi0: bpf attached wi0: bpf attached wi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps wi0: bad alloc 3e6 != ff, cur 0 nxt 0 acpi_acad0: acline initialization done, tried 7 times acpi_tz0: _AC2: temperature 53.0 >= setpoint 40.0 acpi_tz0: switched from NONE to _AC2: 53.0C Robert -- Microsoft: Where do you want to go today? Linux: Where do you want to go tomorrow? FreeBSD: Are you guys coming or what? OpenBSD: He guys you left some holes out there!
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:18 UTC