From: James Mitchell <ndiswrapper-list@jm...> - 2005-08-01 18:18:29
I found a couple of issues when compiling ndiswrapper for kernel
ndiswrapper-1.2 and ndiswrapper-snapshot (downloaded from sourceforge
recent mm-kernel (post 2.6.13-rc3-mm1) adds a macro for halt() that
conflicts with the definition in driver/wrap.h
pci_set_power_state - invalid type for 2nd argument. I believe this
changed in 2.6.13-rc4. I'm not a programmer, but a very quick read of
the rc4 patch suggests the correct change would be:
pci_set_power_state(pdev, pci_choose_state(pdev, PMSG_ON));
So far the card appears to be working after the above change, so I can't
have munged it up to bad.
I'm using the BCM4306 card that came in my HP Pavilon 4941US laptop with
the driver that came on the laptop's drivers CD. It has been
well-behaved so far, including the external switch that turns the radio
on and off.