xref: /original-bsd/sys/tahoe/stand/vdformat/config.c (revision 2e271f8d)
1 #ifndef lint
2 static char sccsid[] = "@(#)config.c	1.5 (Berkeley/CCI) 06/14/88";
3 #endif
4 
5 /*
6  * Drive configuration information.
7  */
8 #include "vdfmt.h"
9 
10 struct	flawpat defpats = {
11 	0x0264c993, 0x04c99326, 0x0993264c, 0x13264c98,
12 	0x264c9930, 0x4c993260, 0x993264c0, 0x3264c980,
13 	0x64c99300, 0xc9932600, 0x93264c00, 0x264c9800,
14 	0x4c993000, 0x99326000, 0x3264c000, 0x54c98000
15 };
16 struct	flawpat cdcpats = {
17 	0x0d9b366c, 0x1b366cd8, 0x366cd9b0, 0x6cd9b360,
18 	0xd9b366c0, 0xb366cd80, 0x66cd9b00, 0xcd9b3600,
19 	0x9b366300, 0x366cd800, 0x6cd9b000, 0xd9b36000,
20 	0xb366c000, 0x66cd8000, 0xcd9b0000, 0x9b360000
21 };
22 
23 struct	disklabel vdproto[] = {
24 	{ DISKMAGIC, DTYPE_SMD, 0, "xsd", "newly formatted",
25 		512, 48, 24, 711, 48*24, 48*24*711,
26 		0, 0, 0, 3600, 1, 0, 0, 900, 0, 0,
27 		0, 30240, (long)&defpats, 0, 0, 0, 0, 0, 0, 0,
28 		DISKMAGIC, 0, 1, BBSIZE, SBSIZE,
29 		{ 48*24*711, 0 }
30 	},
31 	{ DISKMAGIC, DTYPE_SMD, 0, "ncc", "newly formatted",
32 		512, 66, 23, 850, 66*23, 66*23*850,
33 		0, 0, 0, 3600, 1, 0, 0, 900, 0, 0,
34 		0, 40960, (long)&defpats, 0, 0, 0, 0, 0, 0, 0,
35 		DISKMAGIC, 0, 1, BBSIZE, SBSIZE,
36 		{ 66*23*850, 0 }
37 	},
38 	{ DISKMAGIC, DTYPE_SMD, 0, "2361a", "newly formatted",
39 		512, 64, 20, 842, 64*20, 64*20*842,
40 		0, 0, 0, 3600, 1, 0, 0, 900, 0, 0,
41 		0, 40960, (long)&defpats, 0, 0, 0, 0, 0, 0, 0,
42 		DISKMAGIC, 0, 1, BBSIZE, SBSIZE,
43 		{ 64*20*842, 0 }
44 	},
45 	{ DISKMAGIC, DTYPE_SMD, 0, "egl", "newly formatted",
46 		512, 44, 20, 842, 44*20, 44*20*842,
47 		0, 0, 0, 3961, 1, 0, 0, 900, 0, 0,
48 		0, 28160, (long)&defpats, 0, 0, 0, 0, 0, 0, 0,
49 		DISKMAGIC, 0, 1, BBSIZE, SBSIZE,
50 		{ 44*20*842, 0 }
51 	},
52 	{ DISKMAGIC, DTYPE_SMD, 0, "fuj", "newly formatted",
53 		512, 64, 10, 823, 64*10, 64*10*823,
54 		0, 0, 0, 3600, 1, 0, 0, 900, 0, 0,
55 		0, 40960, (long)&defpats, 0, 0, 0, 0, 0, 0, 0,
56 		DISKMAGIC, 0, 1, BBSIZE, SBSIZE,
57 		{ 64*10*823, 0 }
58 	},
59 	{ DISKMAGIC, DTYPE_SMD, 0, "xfd", "newly formatted",
60 		512, 32, 24, 711, 32*24, 32*24*711,
61 		0, 0, 0, 3600, 1, 0, 0, 900, 0, 0,
62 		0, 20160, (long)&cdcpats, 0, 0, 0, 0, 0, 0, 0,
63 		DISKMAGIC, 0, 1, BBSIZE, SBSIZE,
64 		{ 32*24*711, 0 }
65 	},
66 
67 	{ DISKMAGIC, DTYPE_SMD, 0, "smd", "newly formatted",
68 		512, 32, 19, 823, 32*19, 32*19*823,
69 		0, 0, 0, 3600, 1, 0, 0, 900, 0, 0,
70 		0, 20160, (long)&cdcpats, 0, 0, 0, 0, 0, 0, 0,
71 		DISKMAGIC, 0, 1, BBSIZE, SBSIZE,
72 		{ 32*19*823, 0 }
73 	},
74 	{ DISKMAGIC, DTYPE_ESDI, 0, "mxd", "newly formatted",
75 		1024, 18, 15, 1224, 18*15, 18*15*1224,
76 		0, 0, 0, 3600, 1, 0, 0, 900, 0, 0,
77 		VD_ESDI, 20160, (long)&defpats, 0, 0, 0, 0, 0, 0, 0,
78 		DISKMAGIC, 0, 1, BBSIZE, SBSIZE,
79 		{ 18*15*1224, 0 }
80 	},
81 	{ DISKMAGIC, DTYPE_SMD, 0, "fsd", "newly formatted",
82 		512, 32, 10, 823, 32*10, 32*10*823,
83 		0, 0, 0, 3600, 1, 0, 0, 900, 0, 0,
84 		0, 20160, (long)&cdcpats, 0, 0, 0, 0, 0, 0, 0,
85 		DISKMAGIC, 0, 1, BBSIZE, SBSIZE,
86 		{ 32*10*823, 0 }
87 	},
88 };
89 
90 int	ndrives = sizeof (vdproto) / sizeof (vdproto[0]);
91 int	smddrives = 5;			/* first 5 types are smd-e only */
92