History log of /haiku-fatelf/src/add-ons/kernel/busses/scsi/ahci/sata_request.cpp
Revision Date Author Comments
# a2f24998 21-Apr-2010 Axel Dörfler <axeld@pinc-software.de>

* Style and automatic whitespace cleanup, no functional change.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36410 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 1d4c4d3a 12-Jun-2009 Michael Lotz <mmlr@mlotz.ch>

* Call PostReset() at the end of ResetPort() as it's always used in that way.
* Reset the port directly after executing a command failed instead of letting
the next call do the reset first. This is arbitrary but looks cleaner to me.
* Provide a way to check if a given sata_request is a SCSI_OP_TEST_UNIT_READY
over ATAPI and use this info to calm down all error output. This avoids
spamming the syslog with error output on each media status poll when no disk
is present in a ATAPI device.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31014 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 0cd4d5fa 08-Jul-2008 Marcus Overhagen <marcusoverhagen@gmail.com>

Report SCSI_STATUS_GOOD after successful ATAPI commands. This makes CDDA-fs work with AHCI.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26332 a95241bf-73f2-0310-859d-f6bbb57e9c96


# d7c32123 01-Jul-2008 Marcus Overhagen <marcusoverhagen@gmail.com>

Set transfer length when doing ATAPI transfers.
Dump ATAPI command packet on error.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26205 a95241bf-73f2-0310-859d-f6bbb57e9c96


# d53ddcce 24-May-2008 Marcus Overhagen <marcusoverhagen@gmail.com>

Provide better sense data. Turn off auto-sense
for ATAPI, as we can't report anything.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25653 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 205acfb4 24-May-2008 Marcus Overhagen <marcusoverhagen@gmail.com>

first attempt to report sense data


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25652 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 47386374 21-May-2008 Marcus Overhagen <marcusoverhagen@gmail.com>

The AHCI controller doesn't natively support ATAPI commands.
Instead, one needs to execute the ATA command 0xa0 (PACKET) using
a normal ATA PIO FIS and in addition fill the SCSI CDB into the ACMD
space to transfer the ATAPI PACKET command.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25597 a95241bf-73f2-0310-859d-f6bbb57e9c96


# fd735f9b 20-May-2008 Marcus Overhagen <marcusoverhagen@gmail.com>

More preparation for sending ATAPI PACKET commands (pass through of SCSI commands).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25585 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 56f0b1a0 04-Jan-2008 Marcus Overhagen <marcusoverhagen@gmail.com>

A helper class to easier support Native Command Qeueuing and ATAPI support.
This class either encapsulates scsi_ccb or can be used stand alone.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23249 a95241bf-73f2-0310-859d-f6bbb57e9c96


# a2f249984063e429b403e409a05339632871022b 21-Apr-2010 Axel Dörfler <axeld@pinc-software.de>

* Style and automatic whitespace cleanup, no functional change.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36410 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 1d4c4d3a5bb167a4df0202a1c1d9e44abd4c156d 12-Jun-2009 Michael Lotz <mmlr@mlotz.ch>

* Call PostReset() at the end of ResetPort() as it's always used in that way.
* Reset the port directly after executing a command failed instead of letting
the next call do the reset first. This is arbitrary but looks cleaner to me.
* Provide a way to check if a given sata_request is a SCSI_OP_TEST_UNIT_READY
over ATAPI and use this info to calm down all error output. This avoids
spamming the syslog with error output on each media status poll when no disk
is present in a ATAPI device.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31014 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 0cd4d5fa023462d5e4281aae4676226afb060c49 08-Jul-2008 Marcus Overhagen <marcusoverhagen@gmail.com>

Report SCSI_STATUS_GOOD after successful ATAPI commands. This makes CDDA-fs work with AHCI.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26332 a95241bf-73f2-0310-859d-f6bbb57e9c96


# d7c321236fb72c4044f75bbad7144ecc37cc0a1a 01-Jul-2008 Marcus Overhagen <marcusoverhagen@gmail.com>

Set transfer length when doing ATAPI transfers.
Dump ATAPI command packet on error.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26205 a95241bf-73f2-0310-859d-f6bbb57e9c96


# d53ddcce75d9c0dffc1ec1f1b30898a6d470080f 24-May-2008 Marcus Overhagen <marcusoverhagen@gmail.com>

Provide better sense data. Turn off auto-sense
for ATAPI, as we can't report anything.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25653 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 205acfb4dc452e04bb015a7f64939d1f23e1dc63 24-May-2008 Marcus Overhagen <marcusoverhagen@gmail.com>

first attempt to report sense data


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25652 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 4738637486e91d326ef8d2fb16b19d9c36bc44ea 21-May-2008 Marcus Overhagen <marcusoverhagen@gmail.com>

The AHCI controller doesn't natively support ATAPI commands.
Instead, one needs to execute the ATA command 0xa0 (PACKET) using
a normal ATA PIO FIS and in addition fill the SCSI CDB into the ACMD
space to transfer the ATAPI PACKET command.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25597 a95241bf-73f2-0310-859d-f6bbb57e9c96


# fd735f9bb07a88b6f0b8c5ec1531106d9c2081b5 20-May-2008 Marcus Overhagen <marcusoverhagen@gmail.com>

More preparation for sending ATAPI PACKET commands (pass through of SCSI commands).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25585 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 56f0b1a01a8d47dcad7c9684285f031f2e6f9994 04-Jan-2008 Marcus Overhagen <marcusoverhagen@gmail.com>

A helper class to easier support Native Command Qeueuing and ATAPI support.
This class either encapsulates scsi_ccb or can be used stand alone.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23249 a95241bf-73f2-0310-859d-f6bbb57e9c96