summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpeadar <peadar@FreeBSD.org>2004-10-10 23:39:59 +0000
committerpeadar <peadar@FreeBSD.org>2004-10-10 23:39:59 +0000
commitd83296ea0ce1ef1188f67a8d453abc25bad72c96 (patch)
tree5846e61899b28c1bdda5f50dd057bfe8e0afe1bf
parentd52e344f9fc5c4d4661e51f42c380ccca24f4651 (diff)
downloadFreeBSD-src-d83296ea0ce1ef1188f67a8d453abc25bad72c96.zip
FreeBSD-src-d83296ea0ce1ef1188f67a8d453abc25bad72c96.tar.gz
Fix off-by-one error in fd_native_types that results in a panic on boot
for machines with 2.88M floppies. Reviewed By: phk
-rw-r--r--sys/dev/fdc/fdc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/fdc/fdc.c b/sys/dev/fdc/fdc.c
index 9e46194..8afaadd 100644
--- a/sys/dev/fdc/fdc.c
+++ b/sys/dev/fdc/fdc.c
@@ -173,6 +173,7 @@ static struct fd_type *fd_native_types[] = {
fd_searchlist_12m, /* FDT_12M */
fd_searchlist_720k, /* FDT_720K */
fd_searchlist_144m, /* FDT_144M */
+ fd_searchlist_288m, /* FDT_288M_1 (mapped to FDT_288M) */
fd_searchlist_288m, /* FDT_288M */
};
OpenPOWER on IntegriCloud