diff options
author | Warner Losh <imp@FreeBSD.org> | 1998-12-12 08:16:01 +0000 |
---|---|---|
committer | Warner Losh <imp@FreeBSD.org> | 1998-12-12 08:16:01 +0000 |
commit | 69acd21dfd4d320496e1345b821009802be59c6f (patch) | |
tree | a8290ec68e76afb7c3d552f4ce76fe6f01772133 /sys/i386/isa/fdc.h | |
parent | 01e85cb38da437bcb1b7c464e7bb7272c884d5e1 (diff) | |
download | src-69acd21dfd4d320496e1345b821009802be59c6f.tar.gz src-69acd21dfd4d320496e1345b821009802be59c6f.zip |
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)
Notes
Notes:
svn path=/head/; revision=41693
Diffstat (limited to 'sys/i386/isa/fdc.h')
-rw-r--r-- | sys/i386/isa/fdc.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/i386/isa/fdc.h b/sys/i386/isa/fdc.h index fdaf694f8d35..c8c275f78cc6 100644 --- a/sys/i386/isa/fdc.h +++ b/sys/i386/isa/fdc.h @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * from: @(#)fd.c 7.4 (Berkeley) 5/25/91 - * $Id: fdc.h,v 1.10 1998/07/11 06:35:39 bde Exp $ + * $Id: fdc.h,v 1.11 1998/07/29 13:00:42 bde Exp $ * */ @@ -56,6 +56,10 @@ struct fdc_data #define FDC_STAT_VALID 0x08 #define FDC_HAS_FIFO 0x10 #define FDC_NEEDS_RESET 0x20 +#ifdef FDC_YE +#define FDC_PCMCIA 0x40 +#define FDC_UNLOADED 0x80 +#endif struct fd_data *fd; int fdu; /* the active drive */ int state; |