Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: CardBus eject during transfer
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CardBus eject during transfer



Thanks Rick :)

> well you probably did not install it then! :-)  I _think_ it comes
> with the Developer Documentation package.
>
> http://www.google.com/search?
> client=safari&rls=en&q=ApplePCCardSample&ie=UTF-8&oe=UTF-8

Ya i missed on that but i had gone through this sample.

> It sounds like you are taking it too far in message() method. I would
> try to shutdown the workloop in stop().  In message() you might be
> better of just changing your state and cleaning up latter in stop().
>
I would be glad if you could put more light on this.  Are you refering
to power state?  I looked into MacIOATA::message() method and there
the workloop is removed in message() method itself.  I've tried
flushing the ATA queue and Cleaning up the bus the way its done in
MacIOATA.
When I eject my card when transfer is in progress I get a timeout for
the Read/Write DMA command.   Simply because the hardware is gone and
its still trying to execute the command.  The system gives up after
7-10 mins and then releases 'myDriver'.  How do I gracefully terminate
this command execution the moment card is ejected?

Have a fun filled weekend :) Hopefully I'll have same, if this gets fixed :)
eNjoy !!!
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-drivers mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >CardBus eject during transfer (From: Siraj Waghu <email@hidden>)
 >Re: CardBus eject during transfer (From: Rick Sulack <email@hidden>)
 >Re: CardBus eject during transfer (From: Siraj Waghu <email@hidden>)
 >Re: CardBus eject during transfer (From: Rick Sulack <email@hidden>)



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

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.