From: Narita S. <min...@ma...> - 2005-07-26 13:23:21
|
Dear all I corrected a bug that this Bug is "[ 933643 ] Kernel Pnic after Kick Out". That code was put on this URL. http://homepage.mac.com/mindtools/WirelessCard.zip I was changed. (1) disable interrupt When Eject did a card, Driver is disable interruption. org_noncontiguous_WirelessDriver::message(UInt32 type, IOService * provider, void * argument) { . . . // disable interrupt if (interruptSource) interruptSource->disable(); . . . } (2) Check cardStillPresent the driver confirms whether a card is stuck. UInt32 org_noncontiguous_WirelessDriver::outputPacket(mbuf_t pkt, void * param) { . . . // Check cardStillPresent if (!cardStillPresent) return kIOReturnOutputDropped; . . . } I am sorry. I can't write English well. --- vff...@ni... |