summaryrefslogtreecommitdiff
path: root/sys/dev/isa/wd.c
AgeCommit message (Collapse)Author
1999-08-10support DIOCRLDINFOTheo de Raadt
1999-05-09Fix wdsize() to not call wdopen/wdclose unless it is needed.Tobias Weingartner
1999-02-25Fix autosetting of d_type and d_typename that I introduced in revTodd C. Miller
1.36. Checking wdp_config for WD_CFG_FIXED is incorrect. Default to ESDI/IDE if WD_CAP_LBA is set in wdp_capabilities instead. Also, set d_typename for non-IDE/ESDI to "ST506/MFM/RLL" not "ST506/MFM/RLL di" (the latter caused by truncation to 16 characters).
1998-10-04Add DIOCGPDINFO supportTodd C. Miller
1998-10-03Add a "spoofonly" argument to readdisklabel() which will be used toTodd C. Miller
implement an ioctl to get a spoofed label even for disks that have a label on them.
1998-10-01Set d_type properly in spoofed labelsTodd C. Miller
1998-08-06Use single line geometry printing. Looks just like sd, now.Jason Downs
1998-07-23Support drives > 8.4GBConstantine Sapuntzakis
For LBA-capable drives, return the number of LBA sectors as secperunit, not the number you get from CHS. Note, DOS partition tables are limited to 8.4GB. The interactive disklabel editor will notice that the OpenBSD partition ends at 8.4GB and limit the user to that size unless the user explicitly specifies the bounds. This should probably be changed.
1998-07-23Print LBA-based size as well as CHS size.Constantine Sapuntzakis
Fix some bugs in getting drive parameters into the wdparams array
1997-12-10Compute blkno in ata_start routine instead of wdstartJim Rees
(see bug list in wdc.c change log)
1997-10-18oopsTheo de Raadt
1997-10-18avoid "no disklabel" error messagesTheo de Raadt
1997-09-13move int error out of ifdef DKBAD, it was used elsewhereNiklas Hallqvist
1997-08-08typoNiklas Hallqvist
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-07-06get rid of long, and let alpha grok the bad sectoringNiklas Hallqvist
1997-04-18alpha is like amiga in the sense it doesn't support bad block lists.Niklas Hallqvist
This ought to be done differently, but for now this will suffice.
1997-01-04readdisklabel() with correct dev_tTheo de Raadt
1996-11-29Missing pieces of new bus.h that CVS lost behind my backNiklas Hallqvist
1996-11-28Pull in laptop changes from cgd, a couple from me, and a few slight formattingJason Downs
nits.
1996-11-23added const to second parameter of cfprint_t routineskstailey
1996-11-12s/bus.h/bus.old.h/ to make the transit to the bus_space bus.h an easy roadNiklas Hallqvist
possibly taken in small steps
1996-09-22Get some things ready for later.Jason Downs
1996-09-16pretty pretty pointless supportJason Downs
1996-08-07bus.h using wd/wdc drivers, by niklas. IDE now works on both i386 and amiga.Jason Downs
1996-06-09acd.c: Removed some pointless code, cleaned up some more debug statements.Jason Downs
everything: added RCS ids.
1996-06-08Initial support ATAPI CD-ROMs.Jason Downs
Based on Manuel Bouyer's drivers.
1996-06-01all ports have dk_establish()Theo de Raadt
1996-05-26sync 0521Theo de Raadt
1996-05-07sync with 0504 -- prototypes and bus.hTheo de Raadt
1996-04-29Pull in John Kohl's [jtk@netbsd.org] most recent (15Apr96) APM and PCMCIA workhvozda
(original PCMCIA framework by Stefan Grefen [grefen@convex.com]).
1996-04-21partial sync with netbsd 960418, more to comeTheo de Raadt
1996-04-18NetBSD 960317 mergeNiklas Hallqvist
1996-03-20Fix back wrong patches.Michael Shalayeff
1996-03-19Merging w/ NetBSD 021796.Michael Shalayeff
speaker upgraded to the current. some changes to the VM stuff (ie kern_thread.c added and so).
1996-02-20Pass device name to interrupt establish routines so it can be recorded inThorsten Lockert
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)
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.
1996-01-05included isadmavar.hdm
1995-12-27from netbsd:Theo de Raadt
The IST_* and IPL_* constants are not bus-specific; don't treat them as such. Change splimp -> splnet in Ethernet, ARCnet, and FDDI drivers.
1995-11-28i386 isa bounce buffers by hannken@eis.cs.tu-bs.deTheo de Raadt
ultra14f does not bounce properly yet.
1995-10-18initial import of NetBSD treeTheo de Raadt