summaryrefslogtreecommitdiffstats
path: root/sys/dev/fdc
diff options
context:
space:
mode:
authorjoerg <joerg@FreeBSD.org>1994-12-04 20:22:20 +0000
committerjoerg <joerg@FreeBSD.org>1994-12-04 20:22:20 +0000
commit4cfa77f86fefb5f881e224e3010a619827c67150 (patch)
tree262ad3fe41b7c7cd35bc17fefe10a90c335dc05d /sys/dev/fdc
parent58b2cf4ed5b3966ee2e2f6eab241f10f3030bdc5 (diff)
downloadFreeBSD-src-4cfa77f86fefb5f881e224e3010a619827c67150.zip
FreeBSD-src-4cfa77f86fefb5f881e224e3010a619827c67150.tar.gz
Here is a minor patch for FreeBSD 2.0R to allow it to recognize
2.88MB floppy drives. All it does is set the type to 1.44MB if it finds the 2.88MB drive. Submitted by: Andrew Gillham <gillham@andrews.edu>
Diffstat (limited to 'sys/dev/fdc')
-rw-r--r--sys/dev/fdc/fdc.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/dev/fdc/fdc.c b/sys/dev/fdc/fdc.c
index 628057c..241cf3b 100644
--- a/sys/dev/fdc/fdc.c
+++ b/sys/dev/fdc/fdc.c
@@ -40,7 +40,7 @@
* SUCH DAMAGE.
*
* from: @(#)fd.c 7.4 (Berkeley) 5/25/91
- * $Id: fd.c,v 1.44 1994/11/29 15:46:20 jkh Exp $
+ * $Id: fd.c,v 1.45 1994/11/30 12:04:28 jkh Exp $
*
*/
@@ -498,6 +498,10 @@ fdattach(dev)
printf("1.44MB 3.5in]");
fd->type = FD_1440;
break;
+ case RTCFDT_288M:
+ printf("2.88MB 3.5in - 1.44MB mode]");
+ fd->type = FD_1440;
+ break;
case RTCFDT_360K:
printf("360KB 5.25in]");
fd->type = FD_360;
OpenPOWER on IntegriCloud