diff options
Diffstat (limited to 'sys/arch/hp300/dev/sd.c')
-rw-r--r-- | sys/arch/hp300/dev/sd.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/arch/hp300/dev/sd.c b/sys/arch/hp300/dev/sd.c index 243ff2cea04..78de6345edb 100644 --- a/sys/arch/hp300/dev/sd.c +++ b/sys/arch/hp300/dev/sd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sd.c,v 1.14 1998/03/27 07:47:54 millert Exp $ */ +/* $OpenBSD: sd.c,v 1.15 1998/04/25 00:38:15 millert Exp $ */ /* $NetBSD: sd.c,v 1.34 1997/07/10 18:14:10 kleink Exp $ */ /* @@ -56,6 +56,8 @@ #include <sys/proc.h> #include <sys/stat.h> +#include <ufs/ffs/fs.h> /* for BBSIZE and SBSIZE */ + #include <hp300/dev/scsireg.h> #include <hp300/dev/scsivar.h> #include <hp300/dev/sdvar.h> @@ -465,6 +467,10 @@ sdgetinfo(dev) lp->d_rpm = 3600; lp->d_interleave = 1; + /* XXX - these values for BBSIZE and SBSIZE assume ffs */ + lp->d_bbsize = BBSIZE; + lp->d_sbsize = SBSIZE; + lp->d_partitions[RAW_PART].p_offset = 0; lp->d_partitions[RAW_PART].p_size = lp->d_secperunit * (lp->d_secsize / DEV_BSIZE); |