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: non-driver PCI hardware access



Hi Mark,

On Nov 3, 2003, at 9:59 AM, Mark wrote:

Anyone know how to get access to a PCI device (presumably via the
registry) without having been loaded as it's driver?

You need the cooperation of some driver for the device to get access to its registers. Just to clarify, are you the author of the existing driver for the device?

If so, you can add the necessary functionality to your driver and publish an interface to that functionality with a user client.

Obviously, my kext can't pretend to be the driver for the device, since
I only want it loaded when my application is running, and I don't want
to interfere with the normal operation of the driver.

I presume you're aware that that is not the typical way I/O Kit drivers work. A kernel driver's lifespan typically tracks the device's lifespan.

If there's something unusual you want to accomplish that you don't want to discuss on the list, you could submit a DTS incident to get help on this privately.

Thanks,
--gc
_______________________________________________
darwin-drivers mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-drivers
Do not post admin requests to the list. They will be ignored.

References: 
 >non-driver PCI hardware access (From: Mark <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.