diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2022-09-01 13:45:28 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2022-09-01 13:45:28 +0000 |
commit | a3936318a64414e2c4c3114b3e0b07b8f4c52da7 (patch) | |
tree | cabc560cc72b9c788d5d5b623ec891180221b604 /sys/scsi | |
parent | 312014976c38a48edf104f0caad0bae1c4050f1d (diff) |
Stop setting d_bbsize and d_sbsize. Nobody has paid
any attention for some time.
ok otto@ as part of larger diff
Diffstat (limited to 'sys/scsi')
-rw-r--r-- | sys/scsi/cd.c | 6 | ||||
-rw-r--r-- | sys/scsi/sd.c | 6 |
2 files changed, 2 insertions, 10 deletions
diff --git a/sys/scsi/cd.c b/sys/scsi/cd.c index 6761f2ba9d8..7307f2d912c 100644 --- a/sys/scsi/cd.c +++ b/sys/scsi/cd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cd.c,v 1.265 2022/01/11 23:10:11 jsg Exp $ */ +/* $OpenBSD: cd.c,v 1.266 2022/09/01 13:45:27 krw Exp $ */ /* $NetBSD: cd.c,v 1.100 1997/04/02 02:29:30 mycroft Exp $ */ /* @@ -1134,10 +1134,6 @@ cdgetdisklabel(dev_t dev, struct cd_softc *sc, struct disklabel *lp, DL_SETDSIZE(lp, sc->params.disksize); lp->d_version = 1; - /* XXX - these values for BBSIZE and SBSIZE assume ffs */ - lp->d_bbsize = BBSIZE; - lp->d_sbsize = SBSIZE; - lp->d_magic = DISKMAGIC; lp->d_magic2 = DISKMAGIC; lp->d_checksum = dkcksum(lp); diff --git a/sys/scsi/sd.c b/sys/scsi/sd.c index 7e5570fb9b2..5d7f9db7c2a 100644 --- a/sys/scsi/sd.c +++ b/sys/scsi/sd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sd.c,v 1.331 2022/02/27 02:27:55 krw Exp $ */ +/* $OpenBSD: sd.c,v 1.332 2022/09/01 13:45:27 krw Exp $ */ /* $NetBSD: sd.c,v 1.111 1997/04/02 02:29:41 mycroft Exp $ */ /*- @@ -1147,10 +1147,6 @@ sdgetdisklabel(dev_t dev, struct sd_softc *sc, struct disklabel *lp, lp->d_version = 1; lp->d_flags = 0; - /* XXX - These values for BBSIZE and SBSIZE assume ffs. */ - lp->d_bbsize = BBSIZE; - lp->d_sbsize = SBSIZE; - lp->d_magic = DISKMAGIC; lp->d_magic2 = DISKMAGIC; lp->d_checksum = dkcksum(lp); |