xref: /original-bsd/sys/hp300/stand/samachdep.h (revision f6d5e2ee)
1 /*
2  * Copyright (c) 1982, 1990, 1993
3  *	The Regents of the University of California.  All rights reserved.
4  *
5  * %sccs.include.redist.c%
6  *
7  *	@(#)samachdep.h	8.1 (Berkeley) 06/10/93
8  */
9 
10 #define	NHPIB		4
11 #define	NSCSI		2
12 #define NRD		8
13 #define NCT		8
14 #define NSD		8
15 
16 #define NITE		4
17 
18 /* from cpu.h */
19 #define IIOV(x)		(x)
20 #define DIOBASE		(0x600000)
21 #define	DIOCSIZE	(0x10000)
22 #define DIOIIBASE	(0x01000000)
23 #define DIOIICSIZE	(0x00400000)
24 
25 #define HP_320		0	/* 16Mhz 68020+HP MMU+16K external cache */
26 #define HP_330		1	/* 16Mhz 68020+68851 MMU */
27 #define HP_350		2	/* 25Mhz 68020+HP MMU+32K external cache */
28 #define HP_360		3	/* 25Mhz 68030 */
29 #define HP_370		4	/* 33Mhz 68030+64K external cache */
30 #define HP_340		5	/* 16Mhz 68030 */
31 #define HP_375		6	/* 50Mhz 68030+32K external cache */
32 #define HP_380		7	/* 25Mhz 68040 */
33 #define HP_433		8	/* 33Mhz 68040 */
34 
35 #define MHZ_8		1
36 #define MHZ_16		2
37 #define MHZ_25		3
38 #define MHZ_33		4
39 #define MHZ_50		6
40 
41 extern	int cpuspeed, machineid;
42 extern	int howto, bootdev;
43 
44 /* bogon grfinfo structure to keep grf_softc happy */
45 struct grfinfo {
46 	int	grf_foo;
47 };
48