Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | b_cylin -> b_cylinder; no functional change. | 2006-01-22 | 1 | -10/+8 | ||
| | ||||||
* | floppy support; form@openbsd.ru | 2005-09-19 | 1 | -2/+2 | ||
| | ||||||
* | Use biowait() instead of rolling our own. | 2005-03-16 | 1 | -22/+8 | ||
| | | | | tested krw@ moritz@, ok deraadt@ | |||||
* | Use list and queue macros where applicable to make the code easier to read; | 2004-12-26 | 1 | -6/+6 | ||
| | | | | no change in compiler assembly output. | |||||
* | new arg to disk_unbusy, to record separate read/write statistics. | 2004-02-15 | 1 | -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 Berkeley | 2003-06-02 | 1 | -6/+2 | ||
| | | | | rescinded 22 July 1999. Proofed by myself and Theo. | |||||
* | Some easy strcpy elimination. | 2003-04-06 | 1 | -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. | 2002-05-24 | 1 | -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 sys | 2002-03-14 | 1 | -16/+16 | ||
| | ||||||
* | First cut at a port of isadma and floppy driver. ok art@ | 2001-10-26 | 1 | -1/+15 | ||
| | | | | From NetBSD via jay@rootaction.net | |||||
* | Convert to new timeout API. mickey@ ok. | 2001-03-06 | 1 | -16/+25 | ||
| | ||||||
* | Add a delay() before turning the motor off; some controllers don't see it | 1999-10-07 | 1 | -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, NEWCONFIG | 1999-01-07 | 1 | -18/+1 | ||
| | ||||||
* | Add a "spoofonly" argument to readdisklabel() which will be used to | 1998-10-03 | 1 | -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. | 1998-08-08 | 1 | -2/+3 | ||
| | | | | Also disable the diag return check in wdc.c for now. | |||||
* | move to current OpenBSD isadma API | 1998-01-18 | 1 | -7/+6 | ||
| | ||||||
* | fix argh disklabel problem, pr#346 | 1997-11-12 | 1 | -2/+1 | ||
| | ||||||
* | avoid "no disklabel" error messages | 1997-10-18 | 1 | -3/+5 | ||
| | ||||||
* | cf_flags & 0x20 forces device to be found even if it won't probe. | 1997-04-07 | 1 | -2/+3 | ||
| | ||||||
* | let us get this right finally... | 1996-12-05 | 1 | -4/+2 | ||
| | ||||||
* | whoops, correct d_nsectors | 1996-12-05 | 1 | -2/+2 | ||
| | ||||||
* | remove duplicate code; nice readdisklabel warning messages | 1996-12-05 | 1 | -5/+7 | ||
| | ||||||
* | call readdisklabel() in the same fashion as sd.c does | 1996-12-05 | 1 | -14/+38 | ||
| | ||||||
* | Missing pieces of new bus.h that CVS lost behind my back | 1996-11-29 | 1 | -40/+40 | ||
| | ||||||
* | s/bus.h/bus.old.h/ to make the transit to the bus_space bus.h an easy road | 1996-11-12 | 1 | -2/+2 | ||
| | | | | possibly taken in small steps | |||||
* | Change block size handling and add untested support for Japanese 1.2mb | 1996-10-28 | 1 | -15/+27 | ||
| | | | | floppies. From <minoura@kw.netlaputa.or.jp>. | |||||
* | Merge in old/latest code. Untested support for 2.88mb floppy drives. | 1996-10-28 | 1 | -24/+25 | ||
| | ||||||
* | more move changes | 1996-10-26 | 1 | -2/+5 | ||
| | ||||||
* | move related trivial changes | 1996-10-26 | 1 | -3/+5 | ||
| | ||||||
* | the Wall thing, you know | 1996-10-16 | 1 | -1/+3 | ||
| | ||||||
* | propagte FD{UNIT,PART} definitions. | 1996-09-23 | 1 | -4/+1 | ||
| | ||||||
* | initial commit of split fdc/fd drivers | 1996-09-01 | 1 | -397/+68 | ||
| | ||||||
* | Add `flags' specification to floppy devices. | 1996-08-29 | 1 | -2/+26 | ||
| | ||||||
* | correct b_resid handling; pointed out by banshee@gabriella.abattoir.com | 1996-08-07 | 1 | -4/+3 | ||
| | ||||||
* | fdformat support: | 1996-06-20 | 1 | -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" | 1996-06-09 | 1 | -1/+6 | ||
| | ||||||
* | all ports have dk_establish() | 1996-06-01 | 1 | -4/+1 | ||
| | ||||||
* | sync | 1996-05-25 | 1 | -60/+95 | ||
| | ||||||
* | sync with 0504; prototype changes | 1996-05-07 | 1 | -12/+20 | ||
| | ||||||
* | partial sync with netbsd 960418, more to come | 1996-04-21 | 1 | -14/+22 | ||
| | ||||||
* | Merge of NetBSD 960317 | 1996-04-18 | 1 | -3/+4 | ||
| | ||||||
* | Fix back wrong patches. | 1996-03-20 | 1 | -1/+1 | ||
| | ||||||
* | Merging w/ NetBSD 021796. | 1996-03-19 | 1 | -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) | 1996-02-20 | 1 | -3/+2 | ||
| | ||||||
* | Pass device name to interrupt establish routines so it can be recorded in | 1996-02-20 | 1 | -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 floppies | 1996-02-02 | 1 | -0/+1 | ||
| | ||||||
* | from netbsd: | 1996-01-15 | 1 | -5/+12 | ||
| | | | | | Balance calls to disk_busy() and disk_unbusy() properly to avoid dk_busy < 0 panics. Count seeks. | |||||
* | from netbsd; | 1996-01-12 | 1 | -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: | 1995-12-30 | 1 | -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: | 1995-12-27 | 1 | -2/+2 | ||
| | | | | The IST_* and IPL_* constants are not bus-specific; don't treat them as such. |