Change the devstat priorities to the std values now in devicestats.h

This commit is contained in:
Søren Schmidt 1999-12-08 12:08:47 +00:00
parent 68d6a0593b
commit fed48464cc
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=54306
4 changed files with 4 additions and 4 deletions

View file

@ -229,7 +229,7 @@ ad_attach(void *notused)
devstat_add_entry(&adp->stats, "ad", adp->lun, DEV_BSIZE,
DEVSTAT_NO_ORDERED_TAGS,
DEVSTAT_TYPE_DIRECT | DEVSTAT_TYPE_IF_IDE,
0x180);
DEVSTAT_PRIORITY_DISK);
dev1 = disk_create(adp->lun, &adp->disk, 0, &ad_cdevsw,
&addisk_cdevsw);

View file

@ -183,7 +183,7 @@ acdattach(struct atapi_softc *atp)
devstat_add_entry(cdp->stats, string, tmpcdp->lun, DEV_BSIZE,
DEVSTAT_NO_ORDERED_TAGS,
DEVSTAT_TYPE_CDROM | DEVSTAT_TYPE_IF_IDE,
0x178);
DEVSTAT_PRIORITY_CD);
}
}
else {

View file

@ -113,7 +113,7 @@ afdattach(struct atapi_softc *atp)
devstat_add_entry(&fdp->stats, "afd", fdp->lun, DEV_BSIZE,
DEVSTAT_NO_ORDERED_TAGS,
DEVSTAT_TYPE_DIRECT | DEVSTAT_TYPE_IF_IDE,
0x174);
DEVSTAT_PRIORITY_WFD);
dev = disk_create(fdp->lun, &fdp->disk, 0, &afd_cdevsw, &afddisk_cdevsw);
dev->si_drv1 = fdp;
dev->si_iosize_max = 252 * DEV_BSIZE;

View file

@ -139,7 +139,7 @@ astattach(struct atapi_softc *atp)
devstat_add_entry(&stp->stats, "ast", stp->lun, DEV_BSIZE,
DEVSTAT_NO_ORDERED_TAGS,
DEVSTAT_TYPE_SEQUENTIAL | DEVSTAT_TYPE_IF_IDE,
0x170);
DEVSTAT_PRIORITY_TAPE);
dev = make_dev(&ast_cdevsw, dkmakeminor(stp->lun, 0, 0),
UID_ROOT, GID_OPERATOR, 0640, "rast%d", stp->lun);
dev->si_drv1 = stp;