42 NTSTATUS ntStatus = STATUS_TIMEOUT;
74 ntStatus = STATUS_SUCCESS;
88 FUNC_LEAVE_NTSTATUS(ntStatus);
IEC_TIMEOUTS libiec_global_timeouts
#define PP_ATN_OUT
The ATN OUT bit.
NTSTATUS cbmiec_reset(IN PDEVICE_EXTENSION Pdx)
Send a RESET to the IEC bus.
#define PP_DATA_OUT
The DATA OUT bit.
#define PP_RESET_OUT
The RESET OUT bit.
ULONG T_holdreset
= 100 us: How long is a RESET being held?
NTSTATUS cbmiec_check_device(IN PDEVICE_EXTENSION Pdx, OUT IEC_CHECKDEVICE *CheckDevice)
Fast IEC drive detection.
Internal functions and definitions of the libiec library.
#define PP_LP_BIDIR
Bit for setting set bidirectional mode of the LPT.
#define PP_LP_IRQ
Bit for allowing interrupts of the LPT.
VOID cbmiec_schedule_timeout(IN ULONG howlong)
Schedule a timeout.
enum iec_checkdevice IEC_CHECKDEVICE
#define DBG_SUCCESS(_xxx)
#define CBMIEC_RELEASE(_rel)
#define PP_CLK_OUT
The CLOCK OUT bit.
Definitions for the opencbm driver.
NTSTATUS cbmiec_wait_for_drives_ready(IN PDEVICE_EXTENSION Pdx)
Wait for the drives to become ready after a RESET.