Cosmetic change to the probe printf's
This commit is contained in:
parent
79cd39f2dd
commit
e0db7375ba
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=73869
@ -474,7 +474,7 @@ acd_describe(struct acd_softc *cdp)
|
||||
else
|
||||
sprintf(devnum, "%d", cdp->lun);
|
||||
|
||||
printf("acd%s: %s%s <%.40s> at ata%d-%s using %s\n",
|
||||
printf("acd%s: %s%s <%.40s> at ata%d-%s %s\n",
|
||||
devnum, (cdp->cap.write_dvdr) ? "DVD-R" :
|
||||
(cdp->cap.write_dvdram) ? "DVD-RAM" :
|
||||
(cdp->cap.write_cdrw) ? "CD-RW" :
|
||||
|
@ -202,7 +202,7 @@ afd_describe(struct afd_softc *fdp)
|
||||
printf("\n");
|
||||
}
|
||||
else {
|
||||
printf("afd%d: %luMB <%.40s> [%d/%d/%d] at ata%d-%s using %s\n",
|
||||
printf("afd%d: %luMB <%.40s> [%d/%d/%d] at ata%d-%s %s\n",
|
||||
fdp->lun, (fdp->cap.cylinders*fdp->cap.heads*fdp->cap.sectors) /
|
||||
((1024L * 1024L) / fdp->cap.sector_size),
|
||||
ATA_PARAM(fdp->atp->controller, fdp->atp->unit)->model,
|
||||
|
@ -234,7 +234,7 @@ ast_describe(struct ast_softc *stp)
|
||||
printf("\n");
|
||||
}
|
||||
else {
|
||||
printf("ast%d: TAPE <%.40s> at ata%d-%s using %s\n",
|
||||
printf("ast%d: TAPE <%.40s> at ata%d-%s %s\n",
|
||||
stp->lun, ATA_PARAM(stp->atp->controller, stp->atp->unit)->model,
|
||||
device_get_unit(stp->atp->controller->dev),
|
||||
(stp->atp->unit == ATA_MASTER) ? "master" : "slave",
|
||||
|
Loading…
Reference in New Issue
Block a user