summaryrefslogtreecommitdiffstats
path: root/sys/dev/ata/atapi-fd.c
diff options
context:
space:
mode:
authorsos <sos@FreeBSD.org>2000-01-25 20:14:51 +0000
committersos <sos@FreeBSD.org>2000-01-25 20:14:51 +0000
commitb5f4230b5557aa4ebed715b6fad6b54a2186ab6f (patch)
treec8153c4597fb6ad210c5e15ab8babe0f6b001834 /sys/dev/ata/atapi-fd.c
parentf89d1d8b6d89f552c70c95ff524a040e0eefd4b3 (diff)
downloadFreeBSD-src-b5f4230b5557aa4ebed715b6fad6b54a2186ab6f.zip
FreeBSD-src-b5f4230b5557aa4ebed715b6fad6b54a2186ab6f.tar.gz
Retry a bit more agressively on the atapi identify.
Try to support older systems reporting irq0 for the first channels. Support sharing of the std interrupts (says peter :) ) Dont use READ_CD on normal data reads (2048 bytes), too many old drives doesn't support this command even if the std says "shall" :(, but still use READ_CD on all other blocksizes. Add the geometry to the ad probe, its still usefull.
Diffstat (limited to 'sys/dev/ata/atapi-fd.c')
-rw-r--r--sys/dev/ata/atapi-fd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ata/atapi-fd.c b/sys/dev/ata/atapi-fd.c
index 949cd75..5bfa527 100644
--- a/sys/dev/ata/atapi-fd.c
+++ b/sys/dev/ata/atapi-fd.c
@@ -195,7 +195,7 @@ afd_describe(struct afd_softc *fdp)
printf("\n");
}
else {
- printf("afd%d: %luMB floppy <%.40s> at ata%d as %s mode %s\n",
+ printf("afd%d: %luMB floppy <%.40s> at ata%d-%s using %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,
OpenPOWER on IntegriCloud