1 #ifndef lint
2 static char sccsid[] = "@(#)config.c	1.3 (Berkeley/CCI) 11/23/87";
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, "egl", "newly formatted",
39 		512, 44, 20, 842, 44*20, 44*20*842,
40 		0, 0, 0, 3961, 1, 0, 0, 900, 0, 0,
41 		0, 27720, (long)&defpats, 0, 0, 0, 0, 0, 0, 0,
42 		DISKMAGIC, 0, 1, BBSIZE, SBSIZE,
43 		{ 44*20*842, 0 }
44 	},
45 	{ DISKMAGIC, DTYPE_SMD, 0, "fuj", "newly formatted",
46 		512, 64, 10, 823, 64*10, 64*10*823,
47 		0, 0, 0, 3600, 1, 0, 0, 900, 0, 0,
48 		0, 40960, (long)&defpats, 0, 0, 0, 0, 0, 0, 0,
49 		DISKMAGIC, 0, 1, BBSIZE, SBSIZE,
50 		{ 64*10*823, 0 }
51 	},
52 	{ DISKMAGIC, DTYPE_SMD, 0, "xfd", "newly formatted",
53 		512, 32, 24, 711, 32*24, 32*24*711,
54 		0, 0, 0, 3600, 1, 0, 0, 900, 0, 0,
55 		0, 20160, (long)&cdcpats, 0, 0, 0, 0, 0, 0, 0,
56 		DISKMAGIC, 0, 1, BBSIZE, SBSIZE,
57 		{ 32*24*711, 0 }
58 	},
59 
60 	{ DISKMAGIC, DTYPE_SMD, 0, "smd", "newly formatted",
61 		512, 32, 19, 823, 32*19, 32*19*823,
62 		0, 0, 0, 3600, 1, 0, 0, 900, 0, 0,
63 		0, 20160, (long)&cdcpats, 0, 0, 0, 0, 0, 0, 0,
64 		DISKMAGIC, 0, 1, BBSIZE, SBSIZE,
65 		{ 32*19*823, 0 }
66 	},
67 	{ DISKMAGIC, DTYPE_ESDI, 0, "mxd", "newly formatted",
68 		1024, 18, 15, 1224, 18*15, 18*15*1224,
69 		0, 0, 0, 3600, 1, 0, 0, 900, 0, 0,
70 		VD_ESDI, 20160, (long)&defpats, 0, 0, 0, 0, 0, 0, 0,
71 		DISKMAGIC, 0, 1, BBSIZE, SBSIZE,
72 		{ 18*15*1224, 0 }
73 	},
74 	{ DISKMAGIC, DTYPE_SMD, 0, "fsd", "newly formatted",
75 		512, 32, 10, 823, 32*10, 32*10*823,
76 		0, 0, 0, 3600, 1, 0, 0, 900, 0, 0,
77 		0, 20160, (long)&cdcpats, 0, 0, 0, 0, 0, 0, 0,
78 		DISKMAGIC, 0, 1, BBSIZE, SBSIZE,
79 		{ 32*10*823, 0 }
80 	},
81 };
82 
83 int	ndrives = sizeof (vdproto) / sizeof (vdproto[0]);
84 int	smddrives = 4;			/* first 4 types are smd-e only */
85