1109 void DPBusSocket::DoorCloseEvent() |
1109 void DPBusSocket::DoorCloseEvent() |
1110 { |
1110 { |
1111 OstTraceFunctionEntry1( DPBUSSOCKET_DOORCLOSEEVENT_ENTRY, this ); |
1111 OstTraceFunctionEntry1( DPBUSSOCKET_DOORCLOSEEVENT_ENTRY, this ); |
1112 __KTRACE_OPT(KPBUS1,Kern::Printf(">DPBusSocket(%d)::DoorCloseEvent state %d",iSocketNumber,iState)); |
1112 __KTRACE_OPT(KPBUS1,Kern::Printf(">DPBusSocket(%d)::DoorCloseEvent state %d",iSocketNumber,iState)); |
1113 OstTraceExt2(TRACE_INTERNALS, DPBUSSOCKET_DOORCLOSEEVENT , "iSocketNumber=%d; iState=%d",iSocketNumber,iState); |
1113 OstTraceExt2(TRACE_INTERNALS, DPBUSSOCKET_DOORCLOSEEVENT , "iSocketNumber=%d; iState=%d",iSocketNumber,iState); |
|
1114 |
|
1115 if (iPostponedEvents & EMediaChange) |
|
1116 iPostponedEvents &= ~EMediaChange; |
1114 |
1117 |
1115 // NB If there are multiple doors then the bus may already be powererd up, |
1118 // NB If there are multiple doors then the bus may already be powererd up, |
1116 // so it's not possible to determine the bus state. |
1119 // so it's not possible to determine the bus state. |
1117 //if (iState!=EPBusCardAbsent) |
1120 //if (iState!=EPBusCardAbsent) |
1118 // Panic(EDoorCloseInvalidState); |
1121 // Panic(EDoorCloseInvalidState); |