summaryrefslogtreecommitdiffstats
path: root/private/ntos/miniport/trantor/include/trantor.h
blob: ce1054ca5625d65aab1ec1d3e988933754bda42f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
//
//  FILE: TRANTOR.H
//
//  Trantor General Definitions File
//
//  Revisions:
//      09-01-92 KJB First.
//      01-12-93 KJB Added AddressRange structure to determine resources used.
//      03-22-93 KJB Reorged for stub function library.
//      04-05-93 KJB Removed unused HOST_ID define.
//

// wait upto 1 sec for request to come back from target
#define TIMEOUT_REQUEST 1000000

// wait timeout for a request loop during a fast read
// this is # of times to loop 0x10000 times
#define TIMEOUT_READWRITE_LOOP 0x40

// wait upto 1 sec for busy to disappear from scsi bus
#define TIMEOUT_BUSY 1000000

// wait upto 250 msec for target to be selected
#define TIMEOUT_SELECT 250000

// wait in a for loop up to TIMEOUT_QUICK times
#define TIMEOUT_QUICK 10000