diff options
author | ken <ken@FreeBSD.org> | 1999-12-08 04:45:23 +0000 |
---|---|---|
committer | ken <ken@FreeBSD.org> | 1999-12-08 04:45:23 +0000 |
commit | 235e74ef14545e7100cec4fa645aff076da52816 (patch) | |
tree | 32b247bb1e4d2829469cabf6d97c96992ec8612b /sys/dev/amr/amr_disk.c | |
parent | 9ad09710679f41c5f78e53b1fa6541b8251a0867 (diff) | |
download | FreeBSD-src-235e74ef14545e7100cec4fa645aff076da52816.zip FreeBSD-src-235e74ef14545e7100cec4fa645aff076da52816.tar.gz |
Revamp the devstat priority system. All disks now have the same priority.
The same goes for CD drivers and tape drivers. In systems with mixed IDE
and SCSI, devices in the same priority class will be sorted in attach
order.
Also, the 'CCD' priority is now the 'ARRAY' priority, and a number of
drivers have been modified to use that priority.
This includes the necessary changes to all drivers, except the ATA drivers.
Soren will modify those separately.
This does not include and does not require any change in the devstat
version number, since no known userland applications use the priority
enumerations.
Reviewed by: msmith, sos, phk, jlemon, mjacob, bde
Diffstat (limited to 'sys/dev/amr/amr_disk.c')
-rw-r--r-- | sys/dev/amr/amr_disk.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/amr/amr_disk.c b/sys/dev/amr/amr_disk.c index 54d1213..e9c0567 100644 --- a/sys/dev/amr/amr_disk.c +++ b/sys/dev/amr/amr_disk.c @@ -288,8 +288,8 @@ amrd_attach(device_t dev) devstat_add_entry(&sc->amrd_stats, "amrd", sc->amrd_unit, AMR_BLKSIZE, DEVSTAT_NO_ORDERED_TAGS, - DEVSTAT_TYPE_DIRECT | DEVSTAT_TYPE_IF_OTHER, - DEVSTAT_PRIORITY_DA); + DEVSTAT_TYPE_STORARRAY | DEVSTAT_TYPE_IF_OTHER, + DEVSTAT_PRIORITY_ARRAY); disk_create(sc->amrd_unit, &sc->amrd_disk, 0, &amrd_cdevsw, &amrddisk_cdevsw); disks_registered++; |