summaryrefslogtreecommitdiffstats
path: root/sys/dev/ata/atapi-cd.c
diff options
context:
space:
mode:
authorsos <sos@FreeBSD.org>2004-08-05 21:11:33 +0000
committersos <sos@FreeBSD.org>2004-08-05 21:11:33 +0000
commit54e73750902ac8a57e6d5447c0eae6969362a103 (patch)
treed6d4973ad63da6e43393bc527df59e532c9bb23a /sys/dev/ata/atapi-cd.c
parent301c6406982ff2e32eea0efcacd7b5f24f028e61 (diff)
downloadFreeBSD-src-54e73750902ac8a57e6d5447c0eae6969362a103.zip
FreeBSD-src-54e73750902ac8a57e6d5447c0eae6969362a103.tar.gz
Add firmware revision to probe printf.
Diffstat (limited to 'sys/dev/ata/atapi-cd.c')
-rw-r--r--sys/dev/ata/atapi-cd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/ata/atapi-cd.c b/sys/dev/ata/atapi-cd.c
index 76597c9..7722a1b 100644
--- a/sys/dev/ata/atapi-cd.c
+++ b/sys/dev/ata/atapi-cd.c
@@ -454,7 +454,8 @@ acd_describe(struct acd_softc *cdp)
(cdp->cap.media & MST_READ_DVDROM) ? "DVDROM" : "CDROM");
if (cdp->changer_info)
printf("with %d CD changer ", cdp->changer_info->slots);
- printf("<%.40s> at ata%d-%s %s\n", cdp->device->param->model,
+ printf("<%.40s/%.8s> at ata%d-%s %s\n",
+ cdp->device->param->model, cdp->device->param->revision,
device_get_unit(cdp->device->channel->dev),
(cdp->device->unit == ATA_MASTER) ? "master" : "slave",
ata_mode2str(cdp->device->mode) );
OpenPOWER on IntegriCloud