summaryrefslogtreecommitdiff
path: root/sys/dev/ata/wd.c
AgeCommit message (Expand)Author
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
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