OpenCBM
|
Send a RESET on the IEC bus. More...
Go to the source code of this file.
Functions | |
NTSTATUS | cbmiec_wait_for_drives_ready (IN PDEVICE_EXTENSION Pdx) |
Wait for the drives to become ready after a RESET. More... | |
NTSTATUS | cbmiec_reset (IN PDEVICE_EXTENSION Pdx) |
Send a RESET to the IEC bus. More... | |
NTSTATUS cbmiec_reset | ( | IN PDEVICE_EXTENSION | Pdx | ) |
Send a RESET to the IEC bus.
This function sends a RESET on the IEC bus.
Pdx | Pointer to the device extension. |
Definition at line 103 of file reset.c.
References CBMIEC_RELEASE, cbmiec_schedule_timeout(), CBMIEC_SET, cbmiec_wait_for_drives_ready(), DBG_PREFIX, DBG_SUCCESS, FUNC_ENTER, libiec_global_timeouts, PP_ATN_OUT, PP_CLK_OUT, PP_DATA_OUT, PP_LP_BIDIR, PP_LP_IRQ, PP_RESET_OUT, and IEC_TIMEOUTS::T_holdreset.
Referenced by cbm_execute_createopen(), and cbm_execute_devicecontrol().
NTSTATUS cbmiec_wait_for_drives_ready | ( | IN PDEVICE_EXTENSION | Pdx | ) |
Wait for the drives to become ready after a RESET.
This function waits for the drives to become ready after they have got a RESET.
Pdx | Pointer to the device extension. |
Definition at line 39 of file reset.c.
References cbmiec_check_device(), cbmiec_schedule_timeout(), DBG_PREFIX, DBG_PRINT, FUNC_ENTER, IEC_CHECKDEVICE_BUSBUSY, IEC_CHECKDEVICE_BUSFREE, and IEC_CHECKDEVICE_NODEVICE.
Referenced by cbmiec_reset().