Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: matching for a shim driver



Godfrey van der Linden writes:
 > G'day Andrew (and the Darwin Driver list)
 > 
 > Wow this is a wonderful question and now we can really show of the 
 > capabilities of IOKit.
 > 
 > There are two main options available, both of which are based on the 
 > same 'master' driver concept that you are currently using.  The 
 > difference between the two options depend on how much flexibility you 
 > want with the different drivers that your card supports.
 > 


Thank you...  I'm glad I piqued your interest ;)

I agree that choice 1 is probably best for the reasons you've stated.
I think only about half our customers care about ethernet emulation,
so there's no real need to waste the kernel memory to have a driver
loaded that they're not going to use.

Assuming I go this route, its actually going have to look more like
'mpi+master in one package, and 'ethernet' in another.  The mpi+master
functionality is so closely wed in this driver that separating it
would be impractical.

You are correct that we do a cdevsw driver.  Since we run on many
other platforms, its much less work to maintain a cdevsw driver.

If you know of a good example of the choice 1 above, I'd love to see
it.

Thanks again for your help.

Drew

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-drivers mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/darwin-drivers/email@hidden

This email sent to email@hidden

References: 
 >matching for a shim driver (From: Andrew Gallatin <email@hidden>)
 >Re: matching for a shim driver (From: Godfrey van der Linden <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.