| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
On Tuesday, February 25, 2003, at 04:16 PM, Rick Sulack wrote:
matthew,
the IOPCCardFamily did not change between 10.2.3 and 10.2.4, but I have also started receiving reports of things being broken on 10.2.4 that worked on 10.2.3. :-(
What appears to be happening under 10.2.4 is that the card is treated as 'ejected' when the system wakes up, whether or not it actually was ejected (I have a log from 10.2.4 when the card was not removed which is identical in the essentials to the log from 10.2.3 when the card was removed then quickly re-inserted). It's then treated as freshly inserted. Perhaps the change was in power management rather than IOPCCardFamily?
issue unless you are trying insertions/removals during sleep. I have been telling driver writers that they need to guard against this by keeping track of what state they are in so that they know when to ignore/stall requests from system that don't make sense. This also applies to incoming user requests and device interrupts, it is also possible to get either of these while you are still in state of being powered off.
Right. I'm very careful to not touch the card if I've been told to power off. However, I don't think there's a hole in my driver here; the system tells me to power off, but never tells me to power back on, so my driver can't safely do anything. Meanwhile the card is generating interrupts of its own accord, which don't get serviced because my driver is afraid to touch the card!
| References: | |
| >Re: PCMCIA Race condition after sleep (From: "Matthew T. Russotto" <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
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.