From 235e74ef14545e7100cec4fa645aff076da52816 Mon Sep 17 00:00:00 2001 From: ken Date: Wed, 8 Dec 1999 04:45:23 +0000 Subject: 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 --- sys/dev/ida/ida_disk.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sys/dev/ida') diff --git a/sys/dev/ida/ida_disk.c b/sys/dev/ida/ida_disk.c index 294b85b..5b996d4 100644 --- a/sys/dev/ida/ida_disk.c +++ b/sys/dev/ida/ida_disk.c @@ -312,7 +312,8 @@ idattach(device_t dev) devstat_add_entry(&drv->stats, "id", drv->unit, drv->secsize, DEVSTAT_NO_ORDERED_TAGS, - DEVSTAT_TYPE_DIRECT | DEVSTAT_TYPE_IF_OTHER, DEVSTAT_PRIORITY_DA); + DEVSTAT_TYPE_STORARRAY| DEVSTAT_TYPE_IF_OTHER, + DEVSTAT_PRIORITY_ARRAY); return (0); } -- cgit v1.1