summaryrefslogtreecommitdiff
path: root/sys/dev/ata/ata.c
AgeCommit message (Expand)Author
2006-08-27Add missing initializerchristos
2006-03-29Use device_cfdata().thorpej
2006-01-22For an IDENTIFY we have to wait for DRQ after issuing the command.bouyer
2005-12-11merge ktrace-lwp.christos
2005-07-07tighten the autoconf constraints by passing the atapi/ata/ata_hl attributedrochner
2005-05-29- remove casts [to avoid volatile]christos
2005-05-20Close a window where (disks) interrupts could be enabled while thebouyer
2005-05-16Add a ata_queue_idle() function, which freeze a queue and tsleep() until thebouyer
2005-04-11Fix mode printing. (don't panic on unmatched devices)matt
2005-03-04Disestablish powerhook while detaching atabus.tacha
2005-02-27nuke trailing whitespaceperry
2005-01-26Add powerhook for atabus.jmcneill
2004-11-14s/using DMA data transfers/using DMA/ to make it fit in 80 columns.soren
2004-10-30Allow polled commands to be queued, if ata_exec_xfer() is called in threadbouyer
2004-10-28Call xfer->c_start() with the channel from the xfer, not the one from thebouyer
2004-09-11If we're not going to handle a reset request because one if already pending,bouyer
2004-08-21Eliminate some gratuitous spl frobbing in atabus_thread().thorpej
2004-08-21atastart() (called only at splbio(), and from interrupts) can changethorpej
2004-08-20- atabus_detach(): Manipulate ch_flags at splbio().thorpej
2004-08-20WDC_DIAGNOSTIC -> ATA_DEBUGthorpej
2004-08-20- Add an (*ata_reset_channel)() member to ata_bustype.thorpej
2004-08-20Use ANSI function decls for atabus open/close/ioctl.thorpej
2004-08-20wdcreg.h is not needed here any more.thorpej
2004-08-20Move common parts of attaching an ata_channel to a new ata_channel_attach()thorpej
2004-08-20Move atabusconfig() to ata.c.thorpej
2004-08-20In ata_get_params(), use the (*ata_exec_command)() available from thethorpej
2004-08-20Move most of wdc_softc into a new atac_softc structure that containsthorpej
2004-08-14- Split the register handles out of struct wdc_channel into a separatethorpej
2004-08-13WDCDEBUG -> ATADEBUG.thorpej
2004-08-13Don't bother with bits that tell of the presence of optional callbacks;thorpej
2004-08-13Move wdcstart() to ata.c and rename it to atastart().thorpej
2004-08-13Move wdc_exec_xfer() to ata.c and rename it ata_exec_xfer().thorpej
2004-08-12Move wdc_addref() and wdc_delref() to ata.c and rename them tothorpej
2004-08-12Move wdc_kill_pending() to ata.c and rename it ata_kill_pending().thorpej
2004-08-12- Move wdc_xfer_pool, wdc_get_xfer(), wdc_free_xfer() to ata.c, and renamethorpej
2004-08-12Move wdc_probe_caps() to ata.c and rename it ata_probe_caps().thorpej
2004-08-12Move wdc_downgrade_mode() to ata.c and rename it to ata_downgrade_mode().thorpej
2004-08-12Move wdc_print_modes() into ata.c and rename it ata_print_modes().thorpej
2004-08-12Rename some constants:thorpej
2004-08-12Rename "struct wdc_command" to "struct ata_command".thorpej
2004-08-10Hold a reference between atabus_attach() and atabusconfig() to avoid an extramycroft
2004-08-04Change wdc_kill_pending() to take a struct ata_drive_datas * as argument,bouyer
2004-08-04Addbouyer
2004-08-03First cut at implementing ATABUSIODETACH. Still buggy.bouyer
2004-08-02Clean up interraction between wdc_reset_channel and the kernel thread.bouyer
2004-08-01Implement an atabus control device, and define some ATA bus controlbouyer
2004-05-27Clean-up of use of "precomp". It is used as "features" everywhere, sothorpej
2004-04-13Make wdc_channel->ch_flags volatile, and cast it to (void *) when usedbouyer
2004-01-03More structure member namespace cleanup: thread -> ch_threadthorpej
2004-01-03More wdc_channel structure member namespace cleanup:thorpej