summaryrefslogtreecommitdiffstats
path: root/sys/dev/ata
Commit message (Collapse)AuthorAgeFilesLines
* Rearrange the SATA connect logic so that we so that we pickup ATAPI devices.sos2007-02-121-12/+4
| | | | The rest of the logic should be in place for most supporting chipsets.
* Add support for the NetCell NC3000/5000 series SATA RAID cards.rink2007-02-033-0/+53
| | | | | | Reviewed by: sos Approved by: imp (mentor) MFC after: 1 week
* Add the SMART command to the ATA instruction set.remko2007-01-271-0/+1
| | | | | | | | | When the disk has an error, it will now print SMART instead of 'Unknown CMD'. PR: kern/93368 Submitted by: Garry Belka <garry at NetworkPhysics dot COM> Approved by: sos
* Add support for the Marvell 6101/6145 PATA chips used on many new Intel boards.sos2007-01-042-34/+93
| | | | HW donated by: Sentex
* Add new PATA only JMicron chip.sos2007-01-042-2/+4
|
* Fix a typo in ata-queue.cremko2006-12-231-2/+2
| | | | | | PR: kern/107100 Submitted by: Stephen J. Roznowski <sjr at comcast dot net> Approved by: sos
* Do not special-case __ARMEB__, we handle that in the arm code.cognet2006-12-161-2/+0
| | | | Approved by: sos
* Deal more generically with the byteswap needed on !littleendian HW.sos2006-11-171-2/+2
| | | | Account for the odd layout on ARM bigendian HW.
* Sweep kernel replacing suser(9) calls with priv(9) calls, assigningrwatson2006-11-061-1/+5
| | | | | | | | | | | | | specific privilege names to a broad range of privileges. These may require some future tweaking. Sponsored by: nCircle Network Security, Inc. Obtained from: TrustedBSD Project Discussed on: arch@ Reviewed (at least in part) by: mlaier, jmg, pjd, bde, ceri, Alex Lyashkov <umka at sevcity dot net>, Skip Ford <skip dot ford at verizon dot net>, Antoine Brodin <antoine dot brodin at laposte dot net>
* 2nd and final commit that moves us to CAM_NEW_TRAN_CODEmjacob2006-11-021-12/+0
| | | | | | as the default. Reviewed by multitudes.
* Implement BIO_FLUSH handling for da(4), amr(4), ata(4) and ataraid(4).pjd2006-10-312-0/+82
| | | | Sponsored by: home.pl
* The first of 3 major steps to move the CAM layer forward to usingmjacob2006-10-311-3/+18
| | | | | | | | | | | | | | | | | | | | | the CAM_NEW_TRAN_CODE that has been in the tree for some years now. This first step consists solely of adding to or correcting CAM_NEW_TRAN_CODE pieces in the kernel source tree such that a both a GENERIC (at least on i386) and a LINT build with CAM_NEW_TRAN_CODE as an option will compile correctly and run (at least with some the h/w I have). After a short settle time, the other pieces (making CAM_NEW_TRAN_CODE the default and updating libcam and camcontrol) will be brought in. This will be an incompatible change in that the size of structures related to XPT_PATH_INQ and XPT_{GET,SET}_TRAN_SETTINGS change in both size and content. However, basic system operation and basic system utilities work well enough with this change. Reviewed by: freebsd-scsi and specific stakeholders
* Add missing PCI ID for the acer m5288sos2006-10-081-0/+1
|
* add support for the ALI/ULI M5288 AHCI part.sos2006-09-251-0/+7
| | | | patch by: Sven Petai
* If current_heads or current_sectors in the disk cap page are zero, dont try ↵sos2006-09-141-1/+2
| | | | | | to use the current_ geometry. This avoids a panic with BIOS'n that sets these to zero.
* Busmaster DMA address fix in VIA 6421 case.sos2006-09-121-1/+1
|
* Format mask lacks one bit.sos2006-09-121-1/+1
| | | | Reported by: jkim
* Add support for a few more Serverworks and lookalikes chips.sos2006-09-112-9/+15
|
* Update to fit latest USB cleanup crusade.sos2006-09-111-2/+2
|
* CF devices are ATA not ATAPI.sos2006-09-111-1/+3
|
* add a newbus method for obtaining the bus's bus_dma_tag_t... This isjmg2006-09-031-1/+1
| | | | | | | | | | | | | required by arches like sparc64 (not yet implemented) and sun4v where there are seperate IOMMU's for each PCI bus... For all other arches, it will end up returning NULL, which makes it a no-op... Convert a few drivers (the ones we've been working w/ on sun4v) to the new convection... Eventually all drivers will need to replace the parent tag of NULL, w/ bus_get_dma_tag(dev), though dev is usually different for each driver, and will require hand inspection... Reviewed by: scottl (earlier version)
* Add support for VIA 8237A.sos2006-09-022-0/+3
|
* Properly initialize the nVidia MCP5X interrupts etc.sos2006-08-301-2/+7
| | | | Suggested by: nVidia
* Properly initialize and destroy the RAID lock.sos2006-08-251-1/+4
| | | | Also dont mess with RAID's thats not attached yet and avoid panic.
* Update JMicron support to also work with chips where the PATA and SATAsos2006-08-181-19/+42
| | | | | | parts are on individual PCI functions. HW donated by: JMicron
* Appened ull to a really large integer constant to fix build on i386imp2006-08-181-1/+1
|
* Add support for the ICH8 and ESB2 chips, also add a few other missing ICH7 ↵sos2006-08-142-42/+70
| | | | | | parts. HW donated by: JMicron
* Unbreak nForce4 SATA support.sos2006-08-112-8/+8
| | | | Hopefully I dont break something else this time.....
* Most platforms map the actual drive geometry to the firmware's notionimp2006-08-091-0/+9
| | | | | | | | | | | | | | | | | | | | of geometry. However, some platforms have a more complicated mapping of the firmware values to the actual values. pc98 is the only platform that currently does this. This mapping is necessary for large disks connected to pc98 boxes, as the firmware labels require do special hacks to the actual geometry for interoperability. We cannot do this all in the geom layer because of initialization issues (geom looks for an already initialized pc98 label, but we need the geometry information prior to initialization, classic chicken and egg problem). We pass the disk and the device_t to this function because the geometry mapping depends on what kind of controller is used. This hook allows platforms that want to override things to do so, and has 0 overhead on all other platforms. These patches have been in use locally for a long time, and received good feedback from the pc98 community and sos@ at various times during their development. MFC After: 1 week
* Unbreak nForce3 SATA support.sos2006-08-052-21/+20
|
* Finally fix support for the newer MCP51/MCP55 nVidia chipsets.sos2006-07-242-42/+57
| | | | | | | | The register layout has changed since the original NV4 - sigh. Hotplug support has been fixed for all nVidia chipsets that supports it (including the MCP51/55). HW donated by: Kingsley College
* If we get an error w/o atapi sense information, just print a newlineimp2006-07-211-0/+2
| | | | | to terminate the message we started. I get non-terminated messages when reading audio tracks w/o this patch.
* Add preliminary support for the Serverworks HT1000 chip.sos2006-07-043-7/+74
| | | | HW sponsored by: Yahoo!
* Dont call free on non-alloc'd items.sos2006-06-281-2/+4
|
* Update AHCI support to be more generic.sos2006-06-282-67/+104
| | | | Add support for AHCI on the VIA VT8251.
* Fix type casts so that we get at the right response queue.sos2006-06-191-7/+10
| | | | Submitted by: glebius+ru
* Remove various bits of conditional Alpha code and fixup a few comments.jhb2006-05-122-23/+0
|
* Fix probe printing of highpoint and promise controllers.sos2006-05-111-5/+4
|
* Add missing ";"sos2006-04-171-1/+1
| | | | found by: jmg
* o s/PsuedoRAID/PseudoRAID/.maxim2006-04-151-1/+1
| | | | | PR: kern/94306 Submitted by: Esa Karkkainen
* Dont poll for ATA_IDLE on a detached channel in suspend.sos2006-04-141-2/+2
|
* Make the ATAPI sense data accessible when using the ioctl interfacesos2006-03-317-93/+64
| | | | MFC candidate.
* In afd_describe(), don't initialize sizestring. On ia64, gcc(1) willmarcel2006-03-301-1/+1
| | | | | | generate code that calls memset, which we don't have in the kernel. MFC after: 3 days
* Properly use the sense key infosos2006-03-182-3/+5
|
* Add support for the JMicron JMB361, 365 and 366 chips.sos2006-03-132-14/+21
| | | | HW and documentation kindly provided by JMicron.
* Put autosense data in the right place (needs a 4pos left shift).sos2006-03-131-5/+2
|
* Module that adds support for using USB storage devices through thesos2006-03-101-0/+980
| | | | | | ATA framework. Mainly written to be able to use USB Flash keys. This is work in progress so use with care :) Doesn't need CAM and cannot coexist with umass.c
* write the right unit # on verbose output.sos2006-03-101-1/+2
|
* Only use the channel in the request given to ata_completed if itssos2006-03-091-3/+7
| | | | still present.
* typo.sos2006-03-091-1/+1
|
OpenPOWER on IntegriCloud