diff options
author | Joerg Wunsch <joerg@FreeBSD.org> | 1995-10-09 15:00:39 +0000 |
---|---|---|
committer | Joerg Wunsch <joerg@FreeBSD.org> | 1995-10-09 15:00:39 +0000 |
commit | 86a727d96d02aa8620b0bb20b6b792293e1c3964 (patch) | |
tree | 4904837cd3d3f7f313b717274fd7dce5aa514a5c /sys | |
parent | 3950ae8dce2f68aa4c9c43cd070d55f585432e38 (diff) | |
download | src-86a727d96d02aa8620b0bb20b6b792293e1c3964.tar.gz src-86a727d96d02aa8620b0bb20b6b792293e1c3964.zip |
BIOS manufacturers don't seem to have a unique idea about 2.88 MB
floppy drive types in the CMOS; add 0x50 as an alias for 2.88 MB.
Notes
Notes:
svn path=/head/; revision=11375
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/fdc/fdc.c | 3 | ||||
-rw-r--r-- | sys/i386/isa/fd.c | 3 | ||||
-rw-r--r-- | sys/i386/isa/rtc.h | 3 | ||||
-rw-r--r-- | sys/isa/fd.c | 3 | ||||
-rw-r--r-- | sys/isa/rtc.h | 3 |
5 files changed, 10 insertions, 5 deletions
diff --git a/sys/dev/fdc/fdc.c b/sys/dev/fdc/fdc.c index 5efd298924ae..8eb88583c107 100644 --- a/sys/dev/fdc/fdc.c +++ b/sys/dev/fdc/fdc.c @@ -43,7 +43,7 @@ * SUCH DAMAGE. * * from: @(#)fd.c 7.4 (Berkeley) 5/25/91 - * $Id: fd.c,v 1.64 1995/09/16 17:03:36 bde Exp $ + * $Id: fd.c,v 1.65 1995/10/04 07:01:23 joerg Exp $ * */ @@ -722,6 +722,7 @@ fdattach(struct isa_device *dev) #endif /* DEVFS */ break; case RTCFDT_288M: + case RTCFDT_288M_1: printf("2.88MB 3.5in - 1.44MB mode\n"); fd->type = FD_1440; kdc_fd[fdu].kdc_description = diff --git a/sys/i386/isa/fd.c b/sys/i386/isa/fd.c index 5efd298924ae..8eb88583c107 100644 --- a/sys/i386/isa/fd.c +++ b/sys/i386/isa/fd.c @@ -43,7 +43,7 @@ * SUCH DAMAGE. * * from: @(#)fd.c 7.4 (Berkeley) 5/25/91 - * $Id: fd.c,v 1.64 1995/09/16 17:03:36 bde Exp $ + * $Id: fd.c,v 1.65 1995/10/04 07:01:23 joerg Exp $ * */ @@ -722,6 +722,7 @@ fdattach(struct isa_device *dev) #endif /* DEVFS */ break; case RTCFDT_288M: + case RTCFDT_288M_1: printf("2.88MB 3.5in - 1.44MB mode\n"); fd->type = FD_1440; kdc_fd[fdu].kdc_description = diff --git a/sys/i386/isa/rtc.h b/sys/i386/isa/rtc.h index f580ff367836..5e144fcee798 100644 --- a/sys/i386/isa/rtc.h +++ b/sys/i386/isa/rtc.h @@ -34,7 +34,7 @@ * SUCH DAMAGE. * * from: @(#)rtc.h 7.1 (Berkeley) 5/12/91 - * $Id: rtc.h,v 1.6 1994/09/20 00:31:07 ache Exp $ + * $Id: rtc.h,v 1.7 1994/12/04 20:22:20 joerg Exp $ */ #ifndef _I386_ISA_RTC_H_ @@ -104,6 +104,7 @@ #define RTCFDT_12M 0x20 /* 1.2M */ #define RTCFDT_720K 0x30 /* 720K */ #define RTCFDT_144M 0x40 /* 1.44M */ +#define RTCFDT_288M_1 0x50 /* 2.88M, some BIOSes */ #define RTCFDT_288M 0x60 /* 2.88M */ #define RTC_BASELO 0x15 /* low byte of basemem size */ diff --git a/sys/isa/fd.c b/sys/isa/fd.c index 5efd298924ae..8eb88583c107 100644 --- a/sys/isa/fd.c +++ b/sys/isa/fd.c @@ -43,7 +43,7 @@ * SUCH DAMAGE. * * from: @(#)fd.c 7.4 (Berkeley) 5/25/91 - * $Id: fd.c,v 1.64 1995/09/16 17:03:36 bde Exp $ + * $Id: fd.c,v 1.65 1995/10/04 07:01:23 joerg Exp $ * */ @@ -722,6 +722,7 @@ fdattach(struct isa_device *dev) #endif /* DEVFS */ break; case RTCFDT_288M: + case RTCFDT_288M_1: printf("2.88MB 3.5in - 1.44MB mode\n"); fd->type = FD_1440; kdc_fd[fdu].kdc_description = diff --git a/sys/isa/rtc.h b/sys/isa/rtc.h index f580ff367836..5e144fcee798 100644 --- a/sys/isa/rtc.h +++ b/sys/isa/rtc.h @@ -34,7 +34,7 @@ * SUCH DAMAGE. * * from: @(#)rtc.h 7.1 (Berkeley) 5/12/91 - * $Id: rtc.h,v 1.6 1994/09/20 00:31:07 ache Exp $ + * $Id: rtc.h,v 1.7 1994/12/04 20:22:20 joerg Exp $ */ #ifndef _I386_ISA_RTC_H_ @@ -104,6 +104,7 @@ #define RTCFDT_12M 0x20 /* 1.2M */ #define RTCFDT_720K 0x30 /* 720K */ #define RTCFDT_144M 0x40 /* 1.44M */ +#define RTCFDT_288M_1 0x50 /* 2.88M, some BIOSes */ #define RTCFDT_288M 0x60 /* 2.88M */ #define RTC_BASELO 0x15 /* low byte of basemem size */ |