History log of /haiku/src/add-ons/kernel/bus_managers/ata/ATARequest.cpp
Revision Date Author Comments
# 8c8c904a 23-Apr-2009 Axel Dörfler <axeld@pinc-software.de>

* Fixed wrong indentation, and number of blank lines.


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


# d102012d 20-Apr-2009 Michael Lotz <mmlr@mlotz.ch>

Initialize the device_status field of the CCB. This makes modules using raw
commands work that check this value (like the CDDA filesystem, so audio CDs
work now).


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


# 33d80ba2 10-Apr-2009 Michael Lotz <mmlr@mlotz.ch>

* Rework ATAPI handling, removing all PIO interrupts. As Marcus pointed out the
complication is not really worth it and it would in any case be unreliable
in the shared interrupt case (even though you could always check the poll
condition in the interrupt handler).
* Probably broke ATAPI with those changes though.
* Change blocksLeft to bytesLeft to allow using it for arbitrary ATAPI requests.
* Check some more error conditions and actually let those states get through
to the SCSI layer.


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


# da4c9900 10-Apr-2009 Michael Lotz <mmlr@mlotz.ch>

Move the lock into the request.


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


# 118bb4e7 09-Apr-2009 Michael Lotz <mmlr@mlotz.ch>

* Fix race condition between finishing a request and returning a busy status
when the channel is in use, which would cause the SCSI scheduler to stop
sending requests.
* Indeed we need to return a status from the interrupt handler, as for PIO
transfers there is no way of knowning whether or not the interrupt at hand
was ours.
* Add some debug output.


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


# 6bb01f71 09-Apr-2009 Michael Lotz <mmlr@mlotz.ch>

* Adding/updating license headers.
* Add the standalone ata module to the Jamfile.


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


# bf9a3835 08-Apr-2009 Michael Lotz <mmlr@mlotz.ch>

* Work in progress commit of a reworked ATA bus_manager. It's now object based,
but doesn't really do anything more than before.
* It also replaces everything IDE with ATA counterparts and cleans up a lot
of the definitions.
* Cleaning up the old ATA bus_manager as well as some license headers missing.


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


# 8c8c904aca6e88d54c583b0c2742c56373f443b0 23-Apr-2009 Axel Dörfler <axeld@pinc-software.de>

* Fixed wrong indentation, and number of blank lines.


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


# d102012d3a2b98e414acf495d259d793aa933170 20-Apr-2009 Michael Lotz <mmlr@mlotz.ch>

Initialize the device_status field of the CCB. This makes modules using raw
commands work that check this value (like the CDDA filesystem, so audio CDs
work now).


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


# 33d80ba202e1cda4c2b97b9888b1cee94bcb74e1 10-Apr-2009 Michael Lotz <mmlr@mlotz.ch>

* Rework ATAPI handling, removing all PIO interrupts. As Marcus pointed out the
complication is not really worth it and it would in any case be unreliable
in the shared interrupt case (even though you could always check the poll
condition in the interrupt handler).
* Probably broke ATAPI with those changes though.
* Change blocksLeft to bytesLeft to allow using it for arbitrary ATAPI requests.
* Check some more error conditions and actually let those states get through
to the SCSI layer.


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


# da4c99002d66f9936d8b815ea4824b9f5559cce2 10-Apr-2009 Michael Lotz <mmlr@mlotz.ch>

Move the lock into the request.


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


# 118bb4e7505b6ca54926b39ab24d100efbdff121 09-Apr-2009 Michael Lotz <mmlr@mlotz.ch>

* Fix race condition between finishing a request and returning a busy status
when the channel is in use, which would cause the SCSI scheduler to stop
sending requests.
* Indeed we need to return a status from the interrupt handler, as for PIO
transfers there is no way of knowning whether or not the interrupt at hand
was ours.
* Add some debug output.


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


# 6bb01f71bc05b8280fa28bf0bc3d367a11bd57b0 09-Apr-2009 Michael Lotz <mmlr@mlotz.ch>

* Adding/updating license headers.
* Add the standalone ata module to the Jamfile.


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


# bf9a38352439cea6594757b3c0c47e5151548d0d 08-Apr-2009 Michael Lotz <mmlr@mlotz.ch>

* Work in progress commit of a reworked ATA bus_manager. It's now object based,
but doesn't really do anything more than before.
* It also replaces everything IDE with ATA counterparts and cleans up a lot
of the definitions.
* Cleaning up the old ATA bus_manager as well as some license headers missing.


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