need struct st for a while yet
authorMike Karels <karels@ucbvax.Berkeley.EDU>
Sun, 13 Dec 1987 15:36:36 +0000 (07:36 -0800)
committerMike Karels <karels@ucbvax.Berkeley.EDU>
Sun, 13 Dec 1987 15:36:36 +0000 (07:36 -0800)
SCCS-vsn: sys/stand.att/saio.h 7.4

usr/src/sys/stand.att/saio.h

index e01f1bd..8313754 100644 (file)
@@ -3,7 +3,7 @@
  * All rights reserved.  The Berkeley software License Agreement
  * specifies the terms and conditions for redistribution.
  *
  * All rights reserved.  The Berkeley software License Agreement
  * specifies the terms and conditions for redistribution.
  *
- *     @(#)saio.h      7.3 (Berkeley) %G%
+ *     @(#)saio.h      7.4 (Berkeley) %G%
  */
 
 /*
  */
 
 /*
@@ -66,6 +66,20 @@ struct devsw {
 struct devsw devsw[];
 int ndevs;
 
 struct devsw devsw[];
 int ndevs;
 
+#ifdef COMPAT_42
+/*
+ * Old drive description table.
+ * still used by some drivers for now.
+ */
+struct st {
+       short   nsect;          /* # sectors/track */
+       short   ntrak;          /* # tracks/surfaces/heads */
+       short   nspc;           /* # sectors/cylinder */
+       short   ncyl;           /* # cylinders */
+       short   *off;           /* partition offset table (cylinders) */
+};
+#endif
+
 /*
  * Request codes. Must be the same a F_XXX above
  */
 /*
  * Request codes. Must be the same a F_XXX above
  */