gold: Fix hardcoded library search path
[dragonfly.git] / sys / dev / misc / gpib / gpibreg.h
CommitLineData
984263bc 1/* $FreeBSD: src/sys/i386/isa/gpibreg.h,v 1.3.10.1 2000/08/03 01:01:20 peter Exp $ */
1de703da 2/* $DragonFly: src/sys/dev/misc/gpib/gpibreg.h,v 1.2 2003/06/17 04:28:37 dillon Exp $ */
984263bc
MD
3
4static int gpib_port=0x2c0;
5#define IEEE gpib_port
6
7/*NAT4882 Registers*/
8
9#define DIR IEEE+0
10#define CDOR IEEE+0
11#define ISR1 IEEE+2
12#define IMR1 IEEE+2
13#define ISR2 IEEE+4
14#define IMR2 IEEE+4
15#define SPSR IEEE+6
16#define KSR IEEE+0x17
17#define KCR IEEE+0x17
18#define SPMR IEEE+6
19#define ADSR IEEE+8
20#define ADMR IEEE+8
21#define CPTR IEEE+0x0A
22#define SASR IEEE+0x1B
23#define AUXMR IEEE+0x0A
24#define ADR0 IEEE+0x0c
25#define ISR0 IEEE+0x1d
26#define IMR0 IEEE+0x1d
27#define ADR IEEE+0x0c
28#define ADR1 IEEE+0x0e
29#define BSR IEEE+0x1f
30#define BCR IEEE+0x1f
31#define EOSR IEEE+0x0e
32
33
34/*Turbo 488 Registers*/
35
36#define CNT2 IEEE+0x09
37#define CNT3 IEEE+0x0b
38#define HSSEL IEEE+0x0d
39#define STS1 IEEE+0x10
40#define CFG IEEE+0x10
41#define IMR3 IEEE+0x12
42#define CNT0 IEEE+0x14
43#define CNT1 IEEE+0x16
44#define FIFOB IEEE+0x18
45#define FIFOA IEEE+0x19
46#define ISR3 IEEE+0x1a
47#define CCRG IEEE+0x1a
48#define STS2 IEEE+0x1c
49#define CMDR IEEE+0x1c
50#define TIMER IEEE+0x1e
51#define ACCWR IEEE+0x05
52#define INTR IEEE+0x07
53
54
55
56#define pon 0
57#define chip_reset 2
58#define rhdf 3
59#define trig 4
60#define rtl_pulse 5
61#define rtl_off 5
62#define rtl_on 0x0d
63#define seoi 6
64#define ist_off 1
65#define ist_on 9
66#define rlc 0x0a
67#define rqc 8
68#define lut 0x0b
69#define lul 0x0c
70#define nbaf 0x0e
71#define gts 0x10
72#define tca 0x11
73#define tcs 0x12
74#define tcse 0x1a
75#define ltn 0x13
76#define ltn_cont 0x1b
77#define lun 0x1c
78#define rsc_off 0x14
79#define sic_rsc 0x1e
80#define sic_rsc_off 0x16
81#define sre_rsc 0x1f
82#define sre_rsc_off 0x17
83#define reqt 0x18
84#define reqf 0x19
85#define rppl 0x1d
86#define hldi 0x51
87
88
89