diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2007-04-28 02:24:22 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2007-04-28 02:24:22 +0000 |
commit | 3743ce8792f129770c3cd12d20bb1fad46678825 (patch) | |
tree | 1ea6a657e132a8567fc1b8aca4f42c64874d57a5 | |
parent | 111e4f2187e2e7d9357dcad5794a3edd102863af (diff) |
Fix comments above DISKMINOR uses. DISKMINOR provides minor not major
number (wd.c), and the uses are to find the minimum minor to be
detached.
-rw-r--r-- | sys/dev/ata/wd.c | 4 | ||||
-rw-r--r-- | sys/scsi/cd.c | 4 | ||||
-rw-r--r-- | sys/scsi/sd.c | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/sys/dev/ata/wd.c b/sys/dev/ata/wd.c index c0edc79e5e3..7ad8b0923c8 100644 --- a/sys/dev/ata/wd.c +++ b/sys/dev/ata/wd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: wd.c,v 1.57 2007/04/27 11:37:56 krw Exp $ */ +/* $OpenBSD: wd.c,v 1.58 2007/04/28 02:24:21 krw Exp $ */ /* $NetBSD: wd.c,v 1.193 1999/02/28 17:15:27 explorer Exp $ */ /* @@ -390,7 +390,7 @@ wddetach(struct device *self, int flags) } splx(s); - /* locate the major number */ + /* Locate the lowest minor number to be detached. */ mn = DISKMINOR(self->dv_unit, 0); for (bmaj = 0; bmaj < nblkdev; bmaj++) diff --git a/sys/scsi/cd.c b/sys/scsi/cd.c index 5c7361a240e..3ea9251bd74 100644 --- a/sys/scsi/cd.c +++ b/sys/scsi/cd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cd.c,v 1.123 2007/04/26 11:18:54 krw Exp $ */ +/* $OpenBSD: cd.c,v 1.124 2007/04/28 02:24:21 krw Exp $ */ /* $NetBSD: cd.c,v 1.100 1997/04/02 02:29:30 mycroft Exp $ */ /* @@ -259,7 +259,7 @@ cddetach(self, flags) cd_kill_buffers(cd); - /* locate the minor number */ + /* Locate the lowest minor number to be detached. */ mn = DISKMINOR(self->dv_unit, 0); for (bmaj = 0; bmaj < nblkdev; bmaj++) diff --git a/sys/scsi/sd.c b/sys/scsi/sd.c index 96f165ae9ec..14fe148874d 100644 --- a/sys/scsi/sd.c +++ b/sys/scsi/sd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sd.c,v 1.126 2007/04/26 11:18:54 krw Exp $ */ +/* $OpenBSD: sd.c,v 1.127 2007/04/28 02:24:21 krw Exp $ */ /* $NetBSD: sd.c,v 1.111 1997/04/02 02:29:41 mycroft Exp $ */ /*- @@ -283,7 +283,7 @@ sddetach(struct device *self, int flags) sd_kill_buffers(sd); - /* locate the minor number */ + /* Locate the lowest minor number to be detached. */ mn = DISKMINOR(self->dv_unit, 0); for (bmaj = 0; bmaj < nblkdev; bmaj++) |