diff options
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/ccd/ccd.c | 6 | ||||
-rw-r--r-- | sys/geom/geom_ccd.c | 6 |
2 files changed, 10 insertions, 2 deletions
diff --git a/sys/dev/ccd/ccd.c b/sys/dev/ccd/ccd.c index c6eb299..e4faa3f 100644 --- a/sys/dev/ccd/ccd.c +++ b/sys/dev/ccd/ccd.c @@ -1,4 +1,4 @@ -/* $Id: ccd.c,v 1.51 1999/07/18 14:30:57 phk Exp $ */ +/* $Id: ccd.c,v 1.52 1999/08/14 11:40:34 phk Exp $ */ /* $NetBSD: ccd.c,v 1.22 1995/12/08 19:13:26 thorpej Exp $ */ @@ -633,6 +633,10 @@ ccdopen(dev, flags, fmt, p) part = ccdpart(dev); pmask = (1 << part); + dev->si_bsize_phys = DEV_BSIZE; + dev->si_bsize_best = BLKDEV_IOSIZE; + dev->si_bsize_max = MAXBSIZE; + /* * If we're initialized, check to see if there are any other * open partitions. If not, then it's safe to update diff --git a/sys/geom/geom_ccd.c b/sys/geom/geom_ccd.c index c6eb299..e4faa3f 100644 --- a/sys/geom/geom_ccd.c +++ b/sys/geom/geom_ccd.c @@ -1,4 +1,4 @@ -/* $Id: ccd.c,v 1.51 1999/07/18 14:30:57 phk Exp $ */ +/* $Id: ccd.c,v 1.52 1999/08/14 11:40:34 phk Exp $ */ /* $NetBSD: ccd.c,v 1.22 1995/12/08 19:13:26 thorpej Exp $ */ @@ -633,6 +633,10 @@ ccdopen(dev, flags, fmt, p) part = ccdpart(dev); pmask = (1 << part); + dev->si_bsize_phys = DEV_BSIZE; + dev->si_bsize_best = BLKDEV_IOSIZE; + dev->si_bsize_max = MAXBSIZE; + /* * If we're initialized, check to see if there are any other * open partitions. If not, then it's safe to update |