I’ve been using ndiswrapper to drive the Broadcom wireless card in my Dell D600. I recently switch from gentoo back to Fedora. The betas of Fedora Core 3 include a new application called NetworkManager that automatically switches network connections between wired and wireless based on link status. After reading more about it, I decided to give it a try on the D600.
One problem. ndiswrapper doesn’t create the necessary files in /sys that NetworkManager needs to recognize the card.
I haven’t written any serious C in 5 years easily, and I’d never delved into the Linux kernel. Using the tg3 driver as a reference, I patched the latest release of ndiswrapper to have sysfs love. Patch is at the NetworkManager list and here as well. It applies to ndiswrapper-0.11/driver/wrapper.c.

