summaryrefslogtreecommitdiff
path: root/sys/dev/ata/wd.c
AgeCommit message (Expand)Author
2010-07-23Manuel Bouyer rescinded clauses 3 and 4 of his license text.Jonathan Gray
2010-07-22Give the drive a little bit more time to complete the STANDBY IMMED command.Mark Kettenis
2010-07-22First part of better pciide resume. Wake the channel by performing twoMike Larkin
2010-06-28Move disk_attach() to the end of the attach functions, at which point theJoel Sing
2010-06-07partial backout of 1.81 as invoking standby in shutdownJonathan Gray
2010-05-26Reintroduce bufqs. A few changes since it was backed out after some goodThordur I. Bjornsson
2010-05-24Flush cache before suspend.Mark Kettenis
2010-05-23Place drive in standby mode before shutdown. Avoids the loud click heard onMark Kettenis
2010-05-18dont let sys/ioctl.h imply that you get the ioctls in dkio.h. thisDavid Gwynne
2010-04-23Recycle unused disklabel fields in order to create a disklabel uniqueJoel Sing
2010-04-11Send "STANDBY IMMEDIATE" command to ATA disks upon suspend. For this to work,Mark Kettenis
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