summaryrefslogtreecommitdiffstats
path: root/sys/dev/isa/fd.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* b_cylin -> b_cylinder; no functional change.miod2006-01-221-10/+8
|
* floppy support; form@openbsd.ruderaadt2005-09-191-2/+2
|
* Use biowait() instead of rolling our own.miod2005-03-161-22/+8
| | | | tested krw@ moritz@, ok deraadt@
* Use list and queue macros where applicable to make the code easier to read;miod2004-12-261-6/+6
| | | | no change in compiler assembly output.
* new arg to disk_unbusy, to record separate read/write statistics.tedu2004-02-151-3/+4
| | | | | looked at by various, testing henning@ mcbride@ dan weeks mostly from netbsd via Pedro Martelletto <pbastos@rdc.puc-rio.br>
* Remove the advertising clause in the UCB license which Berkeleymillert2003-06-021-6/+2
| | | | rescinded 22 July 1999. Proofed by myself and Theo.
* Some easy strcpy elimination.krw2003-04-061-3/+3
| | | | | | | | | | a) strcpy -> strncpy for copies into disklabel fields d_packname and d_typename. b) '16' -> 'sizeof d_packname' or 'sizeof d_typename' in existing strncpy's. ok millert@
* More splbio around biodone protection.art2002-05-241-1/+5
| | | | | | In these drivers I'm probably using more paranoia than necessary. If you really need to squeeze out the last drop of performance from the fd driver, call me.
* First round of __P removal in sysmillert2002-03-141-16/+16
|
* First cut at a port of isadma and floppy driver. ok art@nate2001-10-261-1/+15
| | | | From NetBSD via jay@rootaction.net
* Convert to new timeout API. mickey@ ok.ho2001-03-061-16/+25
|
* Add a delay() before turning the motor off; some controllers don't see itdownsj1999-10-071-3/+6
| | | | | otherwise. Also move the motor off up so that it always gets performed, even if the probe is overridden via config flags.
* Die, NEWCONFIGniklas1999-01-071-18/+1
|
* Add a "spoofonly" argument to readdisklabel() which will be used tomillert1998-10-031-2/+2
| | | | | implement an ioctl to get a spoofed label even for disks that have a label on them.
* Split ioh allocations so that the devices no longer overlap.downsj1998-08-081-2/+3
| | | | Also disable the diag return check in wdc.c for now.
* move to current OpenBSD isadma APIniklas1998-01-181-7/+6
|
* fix argh disklabel problem, pr#346deraadt1997-11-121-2/+1
|
* avoid "no disklabel" error messagesderaadt1997-10-181-3/+5
|
* cf_flags & 0x20 forces device to be found even if it won't probe.rees1997-04-071-2/+3
|
* let us get this right finally...deraadt1996-12-051-4/+2
|
* whoops, correct d_nsectorsderaadt1996-12-051-2/+2
|
* remove duplicate code; nice readdisklabel warning messagesderaadt1996-12-051-5/+7
|
* call readdisklabel() in the same fashion as sd.c doesderaadt1996-12-051-14/+38
|
* Missing pieces of new bus.h that CVS lost behind my backniklas1996-11-291-40/+40
|
* s/bus.h/bus.old.h/ to make the transit to the bus_space bus.h an easy roadniklas1996-11-121-2/+2
| | | | possibly taken in small steps
* Change block size handling and add untested support for Japanese 1.2mbdownsj1996-10-281-15/+27
| | | | floppies. From <minoura@kw.netlaputa.or.jp>.
* Merge in old/latest code. Untested support for 2.88mb floppy drives.downsj1996-10-281-24/+25
|
* more move changesdownsj1996-10-261-2/+5
|
* move related trivial changesdownsj1996-10-261-3/+5
|
* the Wall thing, you knowderaadt1996-10-161-1/+3
|
* propagte FD{UNIT,PART} definitions.mickey1996-09-231-4/+1
|
* initial commit of split fdc/fd driversdownsj1996-09-011-397/+68
|
* Add `flags' specification to floppy devices.downsj1996-08-291-2/+26
|
* correct b_resid handling; pointed out by banshee@gabriella.abattoir.comderaadt1996-08-071-4/+3
|
* fdformat support:downsj1996-06-201-35/+141
| | | | | | patches taken from jtk's dosemu for NetBSD 1.1 and updated for the current driver. Some of the code is based an older FreeBSD version of the driver.
* support MTIOCTOP's MTOFFL to mean "eject"deraadt1996-06-091-1/+6
|
* all ports have dk_establish()deraadt1996-06-011-4/+1
|
* syncderaadt1996-05-251-60/+95
|
* sync with 0504; prototype changesderaadt1996-05-071-12/+20
|
* partial sync with netbsd 960418, more to comederaadt1996-04-211-14/+22
|
* Merge of NetBSD 960317niklas1996-04-181-3/+4
|
* Fix back wrong patches.mickey1996-03-201-1/+1
|
* Merging w/ NetBSD 021796.mickey1996-03-191-6/+8
| | | | | speaker upgraded to the current. some changes to the VM stuff (ie kern_thread.c added and so).
* Fix disk_unbusy panic (from NetBSD)hannken1996-02-201-3/+2
|
* Pass device name to interrupt establish routines so it can be recorded intholo1996-02-201-1/+1
| | | | | | | | | the device interrupt chain structures (isa, pci) Move interrupt chain structure definition to <machine/psl.h> so vmstat can get at it (i386) Remove hack to count interrupts the old way (i386)
* hannken: Fix disk_unbusy panic when booting from floppiesdm1996-02-021-0/+1
|
* from netbsd:deraadt1996-01-151-5/+12
| | | | | Balance calls to disk_busy() and disk_unbusy() properly to avoid dk_busy < 0 panics. Count seeks.
* from netbsd;deraadt1996-01-121-2/+15
| | | | | | | | | | | | | | | | 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.
* from perry:deraadt1995-12-301-0/+4
| | | | | | | fixed my own pr 1758 -- the floppy drive motor was not being turned off at halt time, especially if a floppy was mounted. Added a shutdown hook to turn off the motor. Per a request by mycroft, the cookie from the hook is saved in a new member I added to the fd_softc structure.
* from netbsd:deraadt1995-12-271-2/+2
| | | | The IST_* and IPL_* constants are not bus-specific; don't treat them as such.