xref: /netbsd-src/sys/dev/podulebus/powerromreg.h (revision e02efcb8ccb78e78d487da30f510e18e71ca118d)
1*e02efcb8Sbjh21 /*	$NetBSD: powerromreg.h,v 1.1 2001/07/04 15:01:08 bjh21 Exp $	*/
2*e02efcb8Sbjh21 
3*e02efcb8Sbjh21 /*
4*e02efcb8Sbjh21  * This file is in the public domain.
5*e02efcb8Sbjh21  */
6*e02efcb8Sbjh21 
7*e02efcb8Sbjh21 /*
8*e02efcb8Sbjh21  * PowerROM card types
9*e02efcb8Sbjh21  */
10*e02efcb8Sbjh21 
11*e02efcb8Sbjh21 /*
12*e02efcb8Sbjh21  * The Partis PowerROM is a replacement ROM (or rather series of ROMs)
13*e02efcb8Sbjh21  * for an assortment of SCSI cards for Acorn machines.  It's awkward
14*e02efcb8Sbjh21  * in that it replaces the podule ID with its own, which is the same
15*e02efcb8Sbjh21  * for all PowerROMs (and for Power-tec SCSI cards).  To find out the
16*e02efcb8Sbjh21  * actual hardware underneath it, we have to call the podule loader in
17*e02efcb8Sbjh21  * the ROM, and it will return one of the following constants.
18*e02efcb8Sbjh21  *
19*e02efcb8Sbjh21  * <URL:http://home.eunet.no/~kjetilbt/power-tec.mbox>
20*e02efcb8Sbjh21  */
21*e02efcb8Sbjh21 
22*e02efcb8Sbjh21 #define PRID_POWERTEC		0x00 /* Power-tec card, ID in hardware */
23*e02efcb8Sbjh21 
24*e02efcb8Sbjh21 #define PRID_MORLEY_SCSI1	0x11 /* Morley 16 bit SCSI-1 */
25*e02efcb8Sbjh21 #define PRID_MORLEY_CACHED	0x12 /* Morley 16 bit Cached SCSI-1 */
26*e02efcb8Sbjh21 #define PRID_MORLEY_TURBO	0x13 /* Morley Turbo 16 bit SCSI-1 */
27*e02efcb8Sbjh21 
28*e02efcb8Sbjh21 #define PRID_OAK_SCSI1		0x21 /* Oak 16 bit SCSI-1 */
29*e02efcb8Sbjh21 
30*e02efcb8Sbjh21 #define PRID_CUMANA_SCSI1_8	0x31 /* Cumana 8 bit SCSI-1 */
31*e02efcb8Sbjh21 #define PRID_CUMANA_SCSI1_16	0x32 /* Cumana 16 bit SCSI-1 */
32*e02efcb8Sbjh21 #define PRID_CUMANA_SCSI2	0x33 /* Cumana 16/32 bit SCSI-2 */
33*e02efcb8Sbjh21 #define PRID_CUMANA_SCSI3	0x34 /* Cumana 32 bit Ultra SCSI-3 */
34*e02efcb8Sbjh21 
35*e02efcb8Sbjh21 #define PRID_LINDIS_SCSI1	0x41 /* Lindis 8/16 bit SCSI-1 */
36*e02efcb8Sbjh21 
37*e02efcb8Sbjh21 #define PRID_HCCS_SCSI1		0x51 /* HCCS 8 bit SCSI-1 */
38*e02efcb8Sbjh21 #define PRID_HCCS_REDSHIFT	0x52 /* HCCS RedShift 16 bit SCSI-1 */
39*e02efcb8Sbjh21 
40*e02efcb8Sbjh21 #define PRID_TECHNO_SCSI1	0x61 /* Techno 16 bit SCSI-1 */
41*e02efcb8Sbjh21 
42*e02efcb8Sbjh21 #define PRID_ARXE_SCSI1		0x71 /* Arxe/TSP 16 bit SCSI-1 */
43*e02efcb8Sbjh21 #define PRID_ARXE_SCSI1_2	0x72 /* Arxe/TSP 16 bit SCSI-1 */
44*e02efcb8Sbjh21 #define PRID_ARXE_TURBO		0x73 /* Arxe/TSP 8 bit Turbo SCSI-1 */
45*e02efcb8Sbjh21 
46*e02efcb8Sbjh21 #define PRID_MCS_CONNECT32	0x81 /* MCS Connect 32 bit SCSI-2 */
47*e02efcb8Sbjh21 
48*e02efcb8Sbjh21 #define PRID_CASTLE_SCSI2	0x91 /* Castle 16 bit SCSI-2 */
49*e02efcb8Sbjh21 
50*e02efcb8Sbjh21 #define PRID_ACORN_SCSI1	0xa1 /* Acorn 16 bit SCSI-1 */
51*e02efcb8Sbjh21 
52*e02efcb8Sbjh21 #define PRID_SYMBIOS_UWIDE	0xb1 /* Symbios 32 bit UltraWide SCSI-2 */
53*e02efcb8Sbjh21 
54*e02efcb8Sbjh21 /* I don't think the ones below will ever appear on a podule */
55*e02efcb8Sbjh21 
56*e02efcb8Sbjh21 #define PRID_PARALLEL_ATAPI	0xe1 /* Misc Parallel ATAPI */
57*e02efcb8Sbjh21 #define PRID_IOEB_ATAPI		0xe2 /* Misc ADFS IOEB ATAPI */
58*e02efcb8Sbjh21 #define PRID_IOMD_ATAPI		0xe3 /* Misc ADFS IOMD ATAPI */
59*e02efcb8Sbjh21 
60*e02efcb8Sbjh21 #define PRID_PARALLEL_SCSI1	0xf1 /* Misc Parallel SCSI-1 */
61*e02efcb8Sbjh21 #define PRID_ECONET_SCSI1	0xf2 /* Misc Econet SCSI-1 */
62*e02efcb8Sbjh21 #define PRID_UPODULE_SCSI1	0xf3 /* Misc uPodule SCSI-1 */
63*e02efcb8Sbjh21 #define PRID_EPST_SCSI1		0xf4 /* Misc EPST SCSI-1 */
64*e02efcb8Sbjh21 
65