summaryrefslogtreecommitdiffstats
path: root/sys/dev/ata
Commit message (Collapse)AuthorAgeFilesLines
* Zero donecount on auto request sense.sos2005-06-281-0/+1
| | | | | PR: 81450 Approved by: re@ (scottl)
* Dont call ata_finish in ad_dump as that is no longer needed and causes panic.sos2005-06-271-10/+11
| | | | | | | Dont try to enable read/write caching on devices that doesn't support it, this reduces the noise from ATA on flash devices and the like. Approved by: re@ (scottl)
* Eliminate unused argument in PCMCIA_CARD macro.imp2005-06-241-7/+7
| | | | | | | | Provide a backwards compatible way to have the extra macro by defining PCCARD_API_LEVEL 5 before including pccarddevs for driver writers that want/need to have the same driver on 5 and 6 with pccard attachments. Approved by: re (dwhite)
* Avoid GCC optimizations from injecting a call to memset(?) in ordermarcel2005-06-111-1/+2
| | | | | | | | | | to initialize the buffer array in ata_raid_attach() by removing the initializer. There's no memset(?) in the kernel. Instead, assign '\0' to the first element. The buffer array holds strings only, so this is functionally equivalent. Applies to: ia64 Tripped over by: tinderbox
* Enable SATA hotplug support.sos2005-06-101-0/+4
| | | | Submitted by: Olivier Houchard
* Fix the long standing problem with poor transferrates on Intel ICHH typesos2005-06-091-2/+3
| | | | | | chips. The DMA timing value was set on device 0 for all devices :/ Prodded by: Harald Schmalzbauer
* Fix the register offset for the ATAPI count register thats used tosos2005-06-091-2/+2
| | | | | | wrestle the older Promise chips to do 48bit addressing. Spotted by: Martin Birgmeier
* Use the presence of ctlr->dmainit instead of r_res1 to find out when tosos2005-06-091-1/+1
| | | | initialise DMA.
* Add support for the Intel 31244.sos2005-06-082-81/+255
| | | | | | | Most code by the submitters, hammered upon to get the right ATA fell by me. Submitted by: Olivier Houchard Submitted by: Jia-Shiun Li
* Apply the usual woodoo for 64bitness.sos2005-06-061-2/+2
|
* Add support for nVidia's software RAID "MediaShield".sos2005-06-062-7/+257
| | | | HW Sponsored by: Yahoo!
* Make nVidia SATA hotplug support DTRT.sos2005-06-051-26/+27
| | | | HW sponsored by: Yahoo!
* Unbreak the ICH6 AHCI support in !48Bit mode.sos2005-06-051-2/+7
|
* Make certain the the 48bit flag is reset if we dont translate LBA.sos2005-05-171-2/+2
|
* longer used (contents added to sys/ata.h)sos2005-05-161-130/+0
|
* Change the way ioctls are issue to ATA.sos2005-05-1611-425/+398
| | | | | | The most prominent part is that its now possible to issue ata_requests directly to say acd0, instead of going through the cumbersome /dev/ata device.
* Cleanup commentssos2005-05-135-22/+11
|
* Fix more ATAPI breakage.sos2005-05-131-3/+9
| | | | Apparently some devices are very picky on details :)
* Add new Intel PCI ID's for the ICH7 chips (untested).sos2005-05-112-2/+13
|
* Add support for AHCI compliant ATA devices.sos2005-05-112-14/+463
| | | | | | For now just support the Intel ICH6 as that the HW at hand. Sponsored by: pair.com
* Add back one line that got deleted in the last commit.sos2005-05-111-2/+4
| | | | | | Change the comment there so it better describes whats going on. This should fix the boot problems of late.
* Fix ATAPI DMA. We need to set the proper flags for DMA modes.sos2005-05-111-1/+3
|
* Reshape the dma code to be a bit more flexible so it can cope withsos2005-05-038-329/+289
| | | | | | | new HW that has new and different demands. Fix a few nits in former commit in this cleanup crusade. Sponsored by: pair.com
* Always attach a subdisk even if no valid metadata found.sos2005-05-021-1/+2
| | | | This allows the disks to be used later in a raid create.
* Update on the last commit, the dma* funciton needs to be called withsos2005-05-014-19/+19
| | | | | a channel device, not an ata device, or we'll be out of luck in reset/timeout where we dont have a device.
* Go back to the old way of finding the Promise metadata, the new way wassos2005-05-011-1/+1
| | | | too simple causing older controllers metadata to get lost.
* Take newbusification one step further, ie use the device_t more consequentlysos2005-04-3019-583/+601
| | | | | | | all way through the code down the layers, instead of the mix'n'match that resulted from the conversion done earlier. Sponsored by: pair.com
* Now that probing is working in the new fashion, we need to go back tosos2005-04-294-193/+165
| | | | | | having ata_getparm issue an ata_request and not fool around with the HW on its own. Needed for new HW support.
* Provide a default setmode method.sos2005-04-284-36/+9
| | | | This shaves off multiple copies of the same setmode stub.
* Rearrange the way the reset code is called.sos2005-04-286-14/+18
| | | | Prepare for different looking controllers.
* Fix a bug introduced in r1.89 thats caused leak of requests, and possiblysos2005-04-261-1/+1
| | | | bogus data to be written.
* Cosmeticssos2005-04-254-38/+26
|
* Only try to allocate and use the SATA resource if they are enabledsos2005-04-251-44/+40
| | | | | by the BIOS. It seems some BIOS's doesn't get this right, and that would result in ATA panic'ing.
* Rehash the timeout code to make it more simple.sos2005-04-214-169/+118
| | | | | | This also removes the warning timeout on the taskqueues stalling as I'm tired of getting ATA error reports for problems in other parts ;) Misc cosmetic and comment cleanups now we are here.
* When a rebuild is done, properly mark the arrays as functional again.sos2005-04-201-1/+17
|
* Properly hook in devices found by SATA connect events.sos2005-04-203-4/+3
| | | | This broke on the changes done to get atapicam happy earlier.
* CFA (Compact Flash) devices has a special config ID that fails thesos2005-04-192-1/+3
| | | | normal ATA device check in ata-disk.c. Add support for the CFA magic.
* Fix indentation problem in the last commitsos2005-04-191-16/+18
|
* Add a named reference-count KPI to hold off mounting of the root filesystem.phk2005-04-181-0/+3
| | | | | | | | | | | | While we wait for holds to be released, print a list of who holds us back once per second. Use the new KPI from GEOM instead of vfs_mount.c calling g_waitidle(). Use the new KPI also from ata. With ATAmkIII's newbusification, ata could narrowly miss the window and ad0 would not exist when we tried to mount root.
* Add uma zone for composite ops.sos2005-04-183-19/+42
| | | | Submitted by: des
* Adjust the RAID type pickup code for the VIA, we dont actually caresos2005-04-182-8/+18
| | | | if the array is bootable or not (yet).
* Add one more Promise SATAII/150 chip id.sos2005-04-172-0/+2
|
* Spell ATA_NFORCE4_S2 correctly.sos2005-04-161-1/+1
|
* Make things compile again with ATA_STATIC_ID.sos2005-04-151-2/+2
|
* Move the creation of ata_channel child devices to the channel code.sos2005-04-157-178/+134
| | | | | | | | | This allows to attach to the children (ATA devices) even without a driver being attached. This allows atapi-cam to do its work both with and without the pure ATAPI driver being present. ATA patches by /me ATAPI-cam pathes by Thomas
* Read back the real taskfile register values when in 48BIT mode.sos2005-04-142-6/+23
|
* Add a ata_setmode method so we dont panic on setmode.sos2005-04-133-4/+40
| | | | | Note that the mode is only set on the device, we (mostly) have no knowledge on how to set mode on the controller if at all possible.
* On amd64 int64_t != long long.sos2005-04-121-1/+2
|
* Better use the right name for the VIA software RAID.sos2005-04-122-3/+3
|
* Add support for VIA Tech metadata as used on thier SATA parts.sos2005-04-122-42/+235
|
OpenPOWER on IntegriCloud