|
|
1.1 root 1: /*
2: * Configurable information for "hai" (Adaptec, tape support) device driver.
3: */
4:
5: #define __KERNEL__ 1
6:
7: #include "conf.h"
8:
9: /*
10: * Patchable bit maps
11: * Bit n is 1 in HAI_DISK if there is a hard disk at SCSI ID n.
12: * Bit n is 1 in HAI_TAPE if there is a tape at SCSI ID n.
13: */
14: int HAI_DISK = 0;
15: int HAI_TAPE = 0;
16:
17: /*
18: * Adaptec 154x configuration (factory defaults shown).
19: *
20: * AHABASE = 0x330; Port Base.
21: * AHAINTR = 11; Host Adapter Interrupt vector.
22: * AHADMACHAN = 0x05; DMA Channel.
23: */
24:
25: unsigned short AHABASE = 0x330;
26: unsigned short AHAINTR = 11;
27: unsigned short AHADMACHAN = 0x05;
28:
29: /*
30: * Number of heads and sectors per track are translation mode, and fixed
31: * in the BIOS, so do not differ among attached drives. Defaults shown.
32: *
33: * HAI_SD_HDS = 64; number of heads on a drive (translation mode).
34: * If initialized zero, use BIOS values or default to 64.
35: * HAI_SD_SPT = 32; number of sectors per track (translation mode).
36: * If initialized zero, use BIOS values or default to 32.
37: */
38:
39: int HAI_SD_HDS = 64;
40: int HAI_SD_SPT = 32;
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.