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: User space interface to controller.



The interface needs to support methods that read and write large
quantities of data and provide notifications.  It sounds like I need to
write a user client interface.  What source code do you recommend I use
as an example?

Tom

________________________________

From: Chris Sarcone [mailto:email@hidden] 
Sent: Monday, September 26, 2005 11:13 AM
To: Tom Couch
Cc: email@hidden
Subject: Re: User space interface to controller.


Tom -- 


	I need to set controller values as well as read them.


You have several alternatives. It depends on how much data you need to
pass to the controller and whether you need to get notifications from it
or if a simple synchronous operation is sufficient. You could
potentially use IORegistryEntrySetCFProperties() and override
setProperties() inside your controller subclass. Another alternative is
to write your own user client.


	Is there a user space interface to an
IOSCSIParallelInterfaceController
	device other than STUC, or is STUC the appropriate mechanism?


No. STUC is not appropriate. STUC is a device interface for SCSI
Architecture Model devices.


	If STUC is the appropriate mechanism what values should I look
for, in
	the IORegistry, in order to establish a port for communication
and
	asynchronous event notification?


I believe you will be better served by trying either of the two
mechanisms listed above.

HTH,

-- Chris




------------------

6 Infinite Loop

M/S 306-2MS

Cupertino CA 95014

phone: (408) 974-4033

fax:   (408) 862-7577

email: email@hidden
--------------------------------------------------------

CONFIDENTIALITY NOTICE: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and contains information that is confidential and proprietary to Applied Micro Circuits Corporation or its subsidiaries. It is to be used solely for the purpose of furthering the parties' business relationship. All unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message.
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Ata-scsi-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/ata-scsi-dev/email@hidden

This email sent to 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.