|[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]|
Welcome. Did you read the documentation available for Mac OS X HBA drivers yet? If not, here's a link:
Did your driver actually unload completely? What does 'kextstat' say?
Unfortunately, we have not been able to open source a driver yet.
It should be rather trivial. If you have your IOPCIDevice provider, you can simply make calls to config space or io space using the methods in IOPCIDevice. If you need memory-mapped addresses, you need to set them up using mapDeviceMemoryWithRegister() and then getting the base virtual address for that memory range with getVirtualAddress() on the IOMemoryMap object.
Make sure you also call setMemoryEnable(true) and setBusMasterEnable(true) on the IOPCIDevice so that your device is configured properly.
6 Infinite Loop
Cupertino CA 95014
phone: (408) 974-4033
fax: (408) 862-7577
_______________________________________________ Do not post admin requests to the list. They will be ignored. Ata-scsi-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
|>target device creation problem in HBA driver (From: 舒展 <email@hidden>)|
Visit the Apple Store online or at retail locations.
Copyright © 2011 Apple Inc. All rights reserved.