summaryrefslogtreecommitdiff
path: root/sys/arch/amiga/dev/fd.c
AgeCommit message (Collapse)Author
2002-06-11Include <sys/conf.h> from <machine/conf.h> like in other arches. ChangesMiod Vallat
to come soon depend on this.
2002-06-05splbio around biodoneArtur Grabowski
2002-03-14First round of __P removal in sysTodd C. Miller
2001-05-05Get rid of CLSIZE and all related stuff.Artur Grabowski
CLSIZE -> 1 CLBYTES -> PAGE_SIZE OLOFSET -> PAGE_MASK etc. At the same time some archs needed some cleaning in vmparam.h so that goes in at the same time.
2001-02-16zap old timeoutMarc Espie
1997-08-08Change the bounds_check_with_label API to also take a cpu_disklabelNiklas Hallqvist
reference for making transferral of meta-information possible from readdisklabel to bounds_check_with_label. The first (and maybe only) thing that will use this is the multi-disklabel-format code on the alpha where the labelsector is passed via cpu_disklabel so the label write-protection can work correctly no matter what label was found. Also use a new macro DKBAD to get at the dkbad field of the cpu_disklabel implementations that contain it. This too is for multi-disklabel architectures where the "bad" field can be inside a union. Use this macro as a means for a driver to check if an architecture supports dkbad constructs. Remove proto of bounds_check_with_label from all MD disklabel.h as it is in sys/disklabel.h. I have not been able to test the changes everywhere, if I break anything I apologize, and promise to fix it as soon as I become aware of it.
1997-01-16Sync to NetBSD 970110Niklas Hallqvist
1996-11-23added const to second parameter of cfprint_t routineskstailey
1996-05-07From NetBSD:Niklas Hallqvist
Floppy driver now supports MSDOS track format. Minor device 1 (/dev/fd?b) uses MSDOS MFM track encoding. From Ezra Story (ezy@panix.com) with a couple of changes by Michael Hitch.
1996-05-04NetBSD RCS Id updateNiklas Hallqvist
1996-05-04Drop sys/cpu.hNiklas Hallqvist
1996-05-02Sync with NetBSD 9600430. The port has gone over a major -Wall treatNiklas Hallqvist
1996-04-21partial sync with netbsd 960418, more to comeTheo de Raadt
1996-01-31from netbsd: make sure master enable is set.Niklas Hallqvist
Call disk_busy() a bit earlier in case an exceptional condition causes fddone() (and thus disk_unbusy()) to be called directly from fdstart(). Pointed out by Ezra Story <ezy@panix.com>.
1996-01-14Fix typoNiklas Hallqvist
1996-01-12from netbsd;Theo de Raadt
New generic disk framework. Highlights: New metrics handling. Metrics are now kept in the new `struct disk'. Busy time is now stored as a timeval, and transfer count in bytes. Storage for disklabels is now dynamically allocated, so that the size of the disk structure is not machine-dependent. Several new functions for attaching and detaching disks, and handling metrics calculation. Old-style instrumentation is still supported in drivers that did it before. However, old-style instrumentation is being deprecated, and will go away once the userland utilities are updated for the new framework. For usage and architectural details, see the forthcoming disk(9) manual page.
1995-10-18initial import of NetBSD treeTheo de Raadt