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



John Dalgliesh writes:
 > 
 > > Lets say I want to use IOMatchCategory with string as "mx_ether".
 > > How do I export this from the master driver such that the ethernet
 > > driver can match on it?  Do I add something to the master's
 > > Info.plist?  Do I pass an argument to registerService()?
 > 
 > No AFAIK the driver that is matched to doesn't have to do anything at all.
 > The IOKit system just makes sure there is no more than one matched
 > IOService for each match category. I can't remember if I've actually tried
 > this but from memory that's how it works. Give it a go - it shouldn't take
 > long to try out :)

Let's say I've got 2 instances of my master driver running (eg, 2
PCI cards in the system).  Will I be allowed only one mx_ether match,
or will I be allowed one mx_ether match per instance?  I'm hoping the
answer is the latter.

In any case, I'll give it a whirl this afternoon.

Thanks,

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>)
 >Re: matching for a shim driver (From: Andrew Gallatin <email@hidden>)
 >Re: matching for a shim driver (From: Godfrey van der Linden <email@hidden>)
 >Re: matching for a shim driver (From: John Dalgliesh <email@hidden>)
 >Re: matching for a shim driver (From: Andrew Gallatin <email@hidden>)
 >Re: matching for a shim driver (From: John Dalgliesh <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.