diff options
author | imp <imp@FreeBSD.org> | 1998-12-12 08:16:01 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 1998-12-12 08:16:01 +0000 |
commit | ca6fd0503c7a84c68a40177a7fae7b198583e14e (patch) | |
tree | d29ffded57ec370abcb723d6271832993789aeee /sys/i386/conf | |
parent | 2da06b289548cde64f579509fa362683b2d0d9d4 (diff) | |
download | FreeBSD-src-ca6fd0503c7a84c68a40177a7fae7b198583e14e.zip FreeBSD-src-ca6fd0503c7a84c68a40177a7fae7b198583e14e.tar.gz |
Add support for the YE-Data external PCMCIA floppy driver. This
floppy is used on the toshiba Libretto line of subnotebook computers.
It differs from a normal floppy in that you must use PIO rather than
DMA to transfer the data.
To enable this, you must add options "FDC_YE" to your kernel. I don't
have a machine that has a floppy and a pcmcia slot to test to make
sure that this doesn't impact normal floppy units, so I've left this as
an option.
I have ported this to -current and made an attempt to ensure that the
indentation conforms to style(9), aka the bruce filter.
Reviewed by: nate, markm
Submitted by: David Horwitt (dhorwitt@ucsd.edu)
Diffstat (limited to 'sys/i386/conf')
-rw-r--r-- | sys/i386/conf/LINT | 8 | ||||
-rw-r--r-- | sys/i386/conf/NOTES | 8 | ||||
-rw-r--r-- | sys/i386/conf/options.i386 | 3 |
3 files changed, 16 insertions, 3 deletions
diff --git a/sys/i386/conf/LINT b/sys/i386/conf/LINT index 5d9da98..5851ec5 100644 --- a/sys/i386/conf/LINT +++ b/sys/i386/conf/LINT @@ -2,7 +2,7 @@ # LINT -- config file for checking all the sources, tries to pull in # as much of the source tree as it can. # -# $Id: LINT,v 1.506 1998/12/03 20:06:00 dillon Exp $ +# $Id: LINT,v 1.507 1998/12/04 18:01:23 wpaul Exp $ # # NB: You probably don't want to try running a kernel built from this # file. Instead, you should start from GENERIC, and add options from @@ -1017,6 +1017,12 @@ controller fdc0 at isa? port "IO_FD1" bio irq 6 drq 2 # gotta turn it actually on by setting the variable fd_debug with DDB, # however. options FDC_DEBUG +# FDC_YE enables support for the floppies used on the Libretto. This is a +# pcmcia floppy. You will also need to add +#card "Y-E DATA" "External FDD" +# config 0x4 "fdc0" 10 +# to your pccard.conf file. +options FDC_YE # This option is undocumented on purpose. options FDC_PRINT_BOGUS_CHIPTYPE # diff --git a/sys/i386/conf/NOTES b/sys/i386/conf/NOTES index 5d9da98..5851ec5 100644 --- a/sys/i386/conf/NOTES +++ b/sys/i386/conf/NOTES @@ -2,7 +2,7 @@ # LINT -- config file for checking all the sources, tries to pull in # as much of the source tree as it can. # -# $Id: LINT,v 1.506 1998/12/03 20:06:00 dillon Exp $ +# $Id: LINT,v 1.507 1998/12/04 18:01:23 wpaul Exp $ # # NB: You probably don't want to try running a kernel built from this # file. Instead, you should start from GENERIC, and add options from @@ -1017,6 +1017,12 @@ controller fdc0 at isa? port "IO_FD1" bio irq 6 drq 2 # gotta turn it actually on by setting the variable fd_debug with DDB, # however. options FDC_DEBUG +# FDC_YE enables support for the floppies used on the Libretto. This is a +# pcmcia floppy. You will also need to add +#card "Y-E DATA" "External FDD" +# config 0x4 "fdc0" 10 +# to your pccard.conf file. +options FDC_YE # This option is undocumented on purpose. options FDC_PRINT_BOGUS_CHIPTYPE # diff --git a/sys/i386/conf/options.i386 b/sys/i386/conf/options.i386 index df3e1b3..a49f537 100644 --- a/sys/i386/conf/options.i386 +++ b/sys/i386/conf/options.i386 @@ -1,4 +1,4 @@ -# $Id: options.i386,v 1.93 1998/12/03 20:06:01 dillon Exp $ +# $Id: options.i386,v 1.94 1998/12/05 03:19:51 dillon Exp $ DISABLE_PSE IDE_DELAY @@ -104,6 +104,7 @@ EISA_SLOTS opt_eisa.h FDC_DEBUG opt_fdc.h FDC_PRINT_BOGUS_CHIPTYPE opt_fdc.h +FDC_YE opt_fdc.h # pcvt(4) has a bunch of options FAT_CURSOR opt_pcvt.h |