mirror of
https://github.com/akuker/RASCSI.git
synced 2024-06-10 17:29:35 +00:00
28 lines
991 B
C
28 lines
991 B
C
//---------------------------------------------------------------------------
|
|
//
|
|
// SCSI Target Emulator PiSCSI
|
|
// for Raspberry Pi
|
|
//
|
|
// Powered by XM6 TypeG Technology.
|
|
// Copyright (C) 2016-2020 GIMONS
|
|
//
|
|
//---------------------------------------------------------------------------
|
|
|
|
#pragma once
|
|
|
|
//---------------------------------------------------------------------------
|
|
//
|
|
// Various Operation Settings
|
|
//
|
|
//---------------------------------------------------------------------------
|
|
#define USE_SEL_EVENT_ENABLE // Check SEL signal by event
|
|
// This avoids an indefinite loop with warnings if there is no PiSCSI hardware
|
|
// and thus helps with running scsictl and unit test on x86 hardware.
|
|
#if defined(__x86_64__) || defined(__X86__) || !defined(__linux__)
|
|
#undef USE_SEL_EVENT_ENABLE
|
|
#endif
|
|
|
|
// Disable improved SCSI compliant handshake. The improved handshake does not require the system timer and
|
|
// provides a small performance benefit.
|
|
//#define NO_SCSI_COMPLIANT_HANDSHAKE
|