diff options
author | ken <ken@FreeBSD.org> | 1999-02-18 21:11:53 +0000 |
---|---|---|
committer | ken <ken@FreeBSD.org> | 1999-02-18 21:11:53 +0000 |
commit | f54d0dcc0201d8845dc4eec149403248c7b40b73 (patch) | |
tree | 57b9098e50ede1dcf18b5fe5143bf7dce31bc18b | |
parent | b07c793b87aca1cb3098315e3a148fe4bc0b320a (diff) | |
download | FreeBSD-src-f54d0dcc0201d8845dc4eec149403248c7b40b73.zip FreeBSD-src-f54d0dcc0201d8845dc4eec149403248c7b40b73.tar.gz |
Set the devstat priority for ccd devices to DEVSTAT_PRIORITY_CCD
instead of DEVSTAT_PRIORITY_OTHER.
-rw-r--r-- | sys/dev/ccd/ccd.c | 4 | ||||
-rw-r--r-- | sys/geom/geom_ccd.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/ccd/ccd.c b/sys/dev/ccd/ccd.c index 68885e9..f2666be 100644 --- a/sys/dev/ccd/ccd.c +++ b/sys/dev/ccd/ccd.c @@ -1,4 +1,4 @@ -/* $Id: ccd.c,v 1.39 1999/01/27 20:09:17 dillon Exp $ */ +/* $Id: ccd.c,v 1.40 1999/02/10 00:03:23 ken Exp $ */ /* $NetBSD: ccd.c,v 1.22 1995/12/08 19:13:26 thorpej Exp $ */ @@ -501,7 +501,7 @@ ccdinit(ccd, cpaths, p) devstat_add_entry(&cs->device_stats, "ccd", ccd->ccd_unit, ccg->ccg_secsize, DEVSTAT_ALL_SUPPORTED, DEVSTAT_TYPE_ASC0 |DEVSTAT_TYPE_IF_OTHER, - DEVSTAT_PRIORITY_OTHER); + DEVSTAT_PRIORITY_CCD); cs->sc_flags |= CCDF_INITED; cs->sc_cflags = ccd->ccd_flags; /* So we can find out later... */ diff --git a/sys/geom/geom_ccd.c b/sys/geom/geom_ccd.c index 68885e9..f2666be 100644 --- a/sys/geom/geom_ccd.c +++ b/sys/geom/geom_ccd.c @@ -1,4 +1,4 @@ -/* $Id: ccd.c,v 1.39 1999/01/27 20:09:17 dillon Exp $ */ +/* $Id: ccd.c,v 1.40 1999/02/10 00:03:23 ken Exp $ */ /* $NetBSD: ccd.c,v 1.22 1995/12/08 19:13:26 thorpej Exp $ */ @@ -501,7 +501,7 @@ ccdinit(ccd, cpaths, p) devstat_add_entry(&cs->device_stats, "ccd", ccd->ccd_unit, ccg->ccg_secsize, DEVSTAT_ALL_SUPPORTED, DEVSTAT_TYPE_ASC0 |DEVSTAT_TYPE_IF_OTHER, - DEVSTAT_PRIORITY_OTHER); + DEVSTAT_PRIORITY_CCD); cs->sc_flags |= CCDF_INITED; cs->sc_cflags = ccd->ccd_flags; /* So we can find out later... */ |