On Fri, Jan 23, 2004 at 09:26:28AM +0100, [EMAIL PROTECTED] wrote: > I've been wondering if it'd be possible to do the same as ndiswrapper > with the OSX driver.
I haven't actually tried doing it, but I suspect it would be very messy due to the way OSX does hardware drivers. The IOKit is all in a subset of C++, and there are base classes that are provided by the kernel. Each driver has subclasses of these in order to cut down on code duplication. So you would need to reimplement all the base classes from scratch, plus the subset of the C++ runtime used in the OSX kernel. It adds up to quite a bit of code, and I would think it would be a pain to debug. However, some of the new features in 2.6 would make it slightly easier than it would have been with 2.4. At least there is a dynamic driver framework. Brad Boyer [EMAIL PROTECTED]