summaryrefslogtreecommitdiff
path: root/sys/dev/ata/wd.c
AgeCommit message (Expand)Author
2009-10-13Get rid of devact enum, substitute it with an int and coresponding defines.Paul Irofti
2009-08-13Replace the error strings that were being passed around with much simplerTheo de Raadt
2009-06-17Revert bufq's. this is inline with the major midlayer reverts thatThordur I. Bjornsson
2009-06-03add a flexible buffer queue (bufq) api, based on the never usedThordur I. Bjornsson
2008-11-08remove dead stores and newly created unused variables.Charles Longeau
2008-09-10Convert timeout_add() calls using multiples of hz to timeout_add_sec()Bret Lambert
2008-06-27More removal of clauses 3 and 4 from NetBSD licenses.Ray Lai
2008-06-15Don't bypass partition bounds check for RAW_PART. We now guarantee thatKenneth R Westerback
2008-02-07enable DMA for 1-sector devices (i.e. most flash devices).Stuart Henderson
2007-12-05Switch set features commands to use wdc_exec_command() to allowJonathan Gray
2007-11-26Enable read ahead and write cache enable if supported byJonathan Gray
2007-06-20b_cylinder does not need to be set on the callpath down into drivers.Theo de Raadt
2007-06-18avoid modification race in DIOCRLDINFO; ok krw miodTheo de Raadt
2007-06-08all drivers should spoof version 1 labelsTheo de Raadt
2007-06-07strncpy -> strlcpy, plus a little spacing line up.Ray Lai
2007-06-06now that all partition size/offsets are potentially 64-bit, change theTheo de Raadt
2007-06-05use six new macros to access & store the 48-bit disklabel fields relatedTheo de Raadt
2007-06-01Don't initialize d_partitions[RAW_DISK] just before callingKenneth R Westerback
2007-05-31Kill old, no longer necessary kludge to try fooling readdisklabel()Kenneth R Westerback
2007-04-28Fix comments above DISKMINOR uses. DISKMINOR provides minor not majorKenneth R Westerback
2007-04-27Nuke WDUNIT/WDPART/etc. defines and just use standard DISKUNIT/DISKPART/etc.Kenneth R Westerback
2007-04-26Eliminate CPU_BIOS from userland and wd(4) by always using the BIOSKenneth R Westerback
2007-03-27OK, I understand why jsg wanted the disk_unbusy() in wdretry(), and heTheo de Raadt
2007-03-25wdc retries (including after suspends) caused a disk to remain busy whenTheo de Raadt
2007-02-15Don't print the error strings returned by readdisklabel(). If youKenneth R Westerback
2007-02-06De-register. No object code change.Kenneth R Westerback
2006-10-17For non-CPU_BIOS architectures calculate the number of cylinders onKenneth R Westerback
2006-10-04Zap bad144 bad sector info in disklabels. Sparsely used if at all forKenneth R Westerback
2006-08-21Delete #ifdef/#ifndef __OpenBSD__ chunks, leaving just the code weKenneth R Westerback
2006-08-12Setting d_secsize to DEV_BSIZE (or 1 << DEV_BSHIFT, or 512) and thenKenneth R Westerback
2006-03-05Remove more NRND NetBSDisms.Kenneth R Westerback
2006-01-21Invoke disk_detach() and related cleanup work in detach(), rather thanMiod Vallat
2005-11-09Don't fall back to fake geometry if ata_get_params() fails.Uwe Stuehler
2005-09-01On zaurus, don't fall back to fake geometry if ata_get_params() fails,Uwe Stuehler
2005-08-27Use the ATA security FREEZE LOCK command on disks beforeJonathan Gray
2005-05-15Use FLUSHCACHE EXT instead of FLUSHCACHE for LBA48 operations.Alexander Yurchenko
2004-07-06Replace magic number with a more descriptive #define. This magic number wasAaron Campbell
2004-03-03remove bufq support until i figure out just what's going wrong. ok deraadt@Ted Unangst
2004-02-15new arg to disk_unbusy, to record separate read/write statistics.Ted Unangst
2004-02-02as grange pointed out, BUFQ_ALLOC might failTed Unangst
2004-01-21dynamic bufq support. basically a nullop. ok grange@Ted Unangst
2004-01-16Do not print CHS info for LBA drives, it's useless for drives withAlexander Yurchenko
2004-01-15ansi and some spaces; no f/cAlexander Yurchenko
2003-10-21typos from Tom Cosgrove;Jason McIntyre
2003-09-28kill trailing spaces, no functional changesAlexander Yurchenko
2003-07-20Use LBA48 only when accessing blocks after 137Gb limit or using sectorsAlexander Yurchenko
2003-06-25implement new means of manipulating buf queues, bufq.Ted Unangst
2003-05-20change spaces to tabs so i can mail grange diffs :)Ted Unangst
2003-04-09sprintf->snprintf. miod@, grange@ ok.Hakan Olsson
2003-04-06Some easy strcpy elimination.Kenneth R Westerback