Hi,

I recently purchased a marvell based CF wifi card for my zaurus, which is running 4.4-beta snapshot (2008-07-03). After installing the package malo-firmware-1.4.tgz I was encountering the following messages when plugging the card :

malo0: main FW not loaded!

So I took a quick look at the driver code (/usr/src/sys/dev/pcmcia/if_malo.c) and saw that the error was due to some kind of timeout in querying the card about the proper loading of the firmware. The zarus being quite slow, I thought my slight but only chance was to try to give it more time before raising the error and so I applied the following change :

613c613
<               delay(1000);
---
              delay(10000);

Quite the small change actually, just drastically raised the delay inside the loop. I recompiled my kernel with that and now it just works! I have been using it for 2 days now and it looks ok.

Please find hereafter the resulting dmesg with the card plugged

Cheers,
William


OpenBSD 4.4-beta (GENERIC) #0: Thu Jul 24 15:13:23 JST 2008
    [EMAIL PROTECTED]:/usr/src/sys/arch/zaurus/compile/GENERIC
real mem  = 67108864 (64MB)
avail mem = 56627200 (54MB)
mainbus0 at root
cpu0 at mainbus0: PXA27x step C-5 (XScale core)
cpu0: DC enabled IC enabled WB enabled LABT branch prediction enabled
cpu0: 32KB(32b/l,32way) I-cache, 32KB(32b/l,32way) wr-back-lock D-cache
pxaip0 at mainbus0: CPU clock = 416.003 MHz
pxaintc0 at pxaip0 addr 0x40d00000: Interrupt Controller
pxagpio0 at pxaip0 addr 0x40e00000: GPIO Controller
pxadmac0 at pxaip0 addr 0x40000000 intr 25: DMA Controller
pxaost0 at pxaip0 addr 0x40a00000
com0 at pxaip0 addr 0x40100000 intr 22: pxa2x0, 32 byte fifo
com1 at pxaip0 addr 0x40200000 intr 21: pxa2x0, 32 byte fifo
com2 at pxaip0 addr 0x40700000 intr 20: pxa2x0, 32 byte fifo (SIR)
pxaudc0 at pxaip0: USB Device Controller
usbf0 at pxaudc0: USB revision 1.1
cdcef0 at usbf0: usbf_open_pipe failed
ohci0 at pxaip0, version 1.0
usb0 at ohci0: USB revision 1.0
uhub0 at usb0 "PXA27x OHCI root hub" rev 1.00/1.00 addr 1
lcd0 at pxaip0
wsdisplay0 at lcd0 mux 1: console (std, vt100 emulation)
wsdisplay0: screen 1 added (std, vt100 emulation)
zkbd0 at pxaip0
wskbd0 at zkbd0: console keyboard, using wsdisplay0
scoop0 at pxaip0: PCMCIA/GPIO controller
scoop1 at pxaip0: PCMCIA/GPIO controller
pxapcic0 at pxaip0: 2 slots
pcmcia0 at pxapcic0
pcmcia1 at pxapcic0
pxammc0 at pxaip0: MMC/SD/SDIO controller
sdmmc0 at pxammc0
zssp0 at pxaip0
apm0 at pxaip0
zts0 at pxaip0
wsmouse0 at zts0 mux 0
zaudio0 at pxaip0: I2C, I2S, WM8750 Audio
audio0 at zaudio0
zrc0 at pxaip0: CE-RH2 remote control
wskbd1 at zrc0 mux 1
wskbd1: connecting to wsdisplay0
flash0 at pxaip0: Samsung K9F1G08U0A 128Mx8 3.3V
wdc0 at pcmcia0 function 0 "HITACHI, microdrive" port 0x0/16: irq 138
wd0 at wdc0 channel 0 drive 0: <HMS360606D5CF00>
wd0: 32-sector PIO, LBA, 5859MB, 12000556 sectors
wd0(wdc0:0:0): using BIOS timings
malo0 at pcmcia1 function 0 "IODATA , WNG54CF  , ID: 04" port 0x0/128, irq 1 37
softraid0 at root
boot device: wd0
root on wd0a swap on wd0b dump on wd0b
malo0: address 00:a0:b0:85:ad:43

Reply via email to