summaryrefslogtreecommitdiff
path: root/sys/dev/ata/wd.c
AgeCommit message (Expand)Author
2016-01-20Set segflg member of uio struct with symbolic enum valueStefan Kempf
2015-08-26trivial size to free()Theo de Raadt
2015-08-17The 80's called and want their interface back. Remove last fragments ofKenneth R Westerback
2014-09-14remove uneeded proc.h includesJonathan Gray
2014-07-12add a size argument to free. will be used soon, but for now default to 0.Ted Unangst
2014-07-10remove most of the boolean_t infection outside uvm/ddb/pmap; ok jsgTheo de Raadt
2013-10-14Use DL_SECTOBLK() instead of handrolling same calculation to getKenneth R Westerback
2013-10-14XXsize() returns daddr_t, so calculate the return value in a daddr_tKenneth R Westerback
2013-09-27Try harder to ensure wddump() doesn't decrement the countKenneth R Westerback
2013-09-15Make it clearer that sc_wdc_bio.blkno is actuall a disk hardwareKenneth R Westerback
2013-06-11final removal of daddr64_t. daddr_t has been 64 bit for a long enoughTheo de Raadt
2012-10-08Revamp the sequences for suspend/hibernate -> resume so that the codeTheo de Raadt
2011-07-06Eliminate redundant buf validation checks in xxstrategy() methods nowMatthew Dempsky
2011-06-30Refactor some common open/close/detach disk driver code intoMatthew Dempsky
2011-06-20Call bufq_drain() in wddetach() instead of reimplementing the sameMatthew Dempsky
2011-06-19Use disk_lock_nointr() in the xxclose() routines so that they cannotTheo de Raadt
2011-06-19Use disk_lock/disk_unlock directly and in the same way in these drivers,Theo de Raadt
2011-06-05Drop kernel support for the useless DIOCWLABEL ioctl and prune a lotMatthew Dempsky
2011-06-03Get rid of the wlabel argument to bounds_check_with_label(). It'sMatthew Dempsky
2011-05-31Change a few of the more common disk drivers (sd, cd, wd, rd, and vnd)Matthew Dempsky
2011-04-18keep an eye out for wdc registers returning 0xff. if they return 0xff,Theo de Raadt
2011-04-15Change wdc_reset_channel() to take a `no wait' argument. Pass in turn thisMiod Vallat
2011-04-05wd_hibernate_io() is a standalone disk io writer which tries to notTheo de Raadt
2010-12-31Reintroduce the code that puts the drive into standby in shutdown, butMark Kettenis
2010-12-30The NVIDIA MCP89 SATA controller found on the 2010 Apple 13" MacBook ProMark Kettenis
2010-09-22All users of physio(9) now pass NULL as the buf pointer argument, soMatthew Dempsky
2010-09-20DVACT_ACTIVATE and DVACT_DEACTIVATE do nothing here; removeTheo de Raadt
2010-09-08Introduce a disk_lookup() function which calls device_lookup(), beforeJoel Sing
2010-09-08Store a struct device pointer within struct disk and populate this whenJoel Sing
2010-09-01make struct bufq a member of the softc for devices that use it,David Gwynne
2010-08-31sort DVACT_ actions in order of useTheo de Raadt
2010-08-28Garbage collect struct dkdriver.Matthew Dempsky
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