History log of /haiku/src/add-ons/kernel/busses/scsi/ahci/ahci_sim.cpp
Revision Date Author Comments
# e523d3cf 02-Mar-2011 Jérôme Duval <korli@users.berlios.de>

changed ioctl hook return code when the opcode isn't supported.


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


# 501ba967 08-Sep-2009 Marcus Overhagen <marcusoverhagen@gmail.com>

remove color usage from debug output


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


# 1a4dcbd8 28-May-2008 Axel Dörfler <axeld@pinc-software.de>

* gPCI was never set anymore after my changes. I replaced it now by a fPCI
member in AHCIController, since, at least in theory, every PCI device could
come with its own module.
* Fixed exported module names to indicate compliance with the new device
manager.
* Apparently, GCC4 doesn't like mixing C++/C linkage even for variables anymore,
though it really shouldn't care about that.


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


# 368167ed 26-May-2008 Axel Dörfler <axeld@pinc-software.de>

* Integration of the new driver architecture.
* Moved devfs from fs/ to device_manager/, and separated the legacy driver
support from it.
* Removed fast_log module.
* There are a couple of (temporary) regressions, though:
- legacy SATA and ISA IDE support is disabled, the drivers haven't been
ported yet.
- The not yet used ATA bus manager hasn't been ported yet, either.
- AHCI changes have not been tested.
- the listdev command has been removed from the build (as it currently
doesn't work anymore).
- device manager generated IDs currently are not freed anymore when a device
node is removed.
- generic drivers can't yet use the new driver architecture.
- simple busses that do not support device types won't work yet.
- legacy driver publishing/unpublishing (ie. what USB needs) has not been
tested, and may be broken.


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


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

Implemented ExecuteSataRequest() to execute all ATA and (later) ATAPI commands.
Converted Identify Device and Read / Write commands, they now create a sata_request
and pass it to ExecuteSataRequest. Added support for cache flushing.



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


# 79844706 10-Nov-2007 Marcus Overhagen <marcusoverhagen@gmail.com>

Propagate is-ATAPI restriction to the SCSI bus manager.


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


# 83447512 03-Oct-2007 Marcus Overhagen <marcusoverhagen@gmail.com>

Changed device detection. The driver now first uses device and vendor id to check
for devices. This allows using devices that are in IDE compatibility mode.


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


# a2a169fe 30-Sep-2007 Marcus Overhagen <marcusoverhagen@gmail.com>

Improved interrupt handling
Removed DBC_I interrupt
Reduce debug output


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


# 036a8857 28-Aug-2007 Marcus Overhagen <marcusoverhagen@gmail.com>

added a workaround to prevent loading the driver multiple times for the same device


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


# 4f6fa362 27-Aug-2007 Axel Dörfler <axeld@pinc-software.de>

* Fixed driver initialization - you are supposed to call init_driver()
and uninit_driver() yourself. We're also using this to let the controller
access the pci_device object.
* Fixed some style violations for your pleasure ;-)


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


# 183bd9f4 26-Aug-2007 Jérôme Duval <korli@users.berlios.de>

black on black isn't easy to read : it's better to switch to the default color


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


# 21255d1f 26-Aug-2007 Marcus Overhagen <marcusoverhagen@gmail.com>

moved controller specific functionality into it's own class


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


# 2210148f 26-Aug-2007 Marcus Overhagen <marcusoverhagen@gmail.com>

compile the sim as C++


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


# e523d3cfc19042fd61bc09cb10935947dfd16c71 02-Mar-2011 Jérôme Duval <korli@users.berlios.de>

changed ioctl hook return code when the opcode isn't supported.


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


# 501ba9675989ad39474756d9c3cce54f1feaa559 08-Sep-2009 Marcus Overhagen <marcusoverhagen@gmail.com>

remove color usage from debug output


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


# 1a4dcbd8dedf06b9625fcf6ad4c74b14cb796803 28-May-2008 Axel Dörfler <axeld@pinc-software.de>

* gPCI was never set anymore after my changes. I replaced it now by a fPCI
member in AHCIController, since, at least in theory, every PCI device could
come with its own module.
* Fixed exported module names to indicate compliance with the new device
manager.
* Apparently, GCC4 doesn't like mixing C++/C linkage even for variables anymore,
though it really shouldn't care about that.


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


# 368167ede8118f72da8c9ac5bb98ce9b46a8a639 26-May-2008 Axel Dörfler <axeld@pinc-software.de>

* Integration of the new driver architecture.
* Moved devfs from fs/ to device_manager/, and separated the legacy driver
support from it.
* Removed fast_log module.
* There are a couple of (temporary) regressions, though:
- legacy SATA and ISA IDE support is disabled, the drivers haven't been
ported yet.
- The not yet used ATA bus manager hasn't been ported yet, either.
- AHCI changes have not been tested.
- the listdev command has been removed from the build (as it currently
doesn't work anymore).
- device manager generated IDs currently are not freed anymore when a device
node is removed.
- generic drivers can't yet use the new driver architecture.
- simple busses that do not support device types won't work yet.
- legacy driver publishing/unpublishing (ie. what USB needs) has not been
tested, and may be broken.


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


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

Implemented ExecuteSataRequest() to execute all ATA and (later) ATAPI commands.
Converted Identify Device and Read / Write commands, they now create a sata_request
and pass it to ExecuteSataRequest. Added support for cache flushing.



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


# 79844706c278112c1e949850c11757de3fd26fc0 10-Nov-2007 Marcus Overhagen <marcusoverhagen@gmail.com>

Propagate is-ATAPI restriction to the SCSI bus manager.


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


# 83447512ed157f2fbe0165c57a924aad1de14c43 03-Oct-2007 Marcus Overhagen <marcusoverhagen@gmail.com>

Changed device detection. The driver now first uses device and vendor id to check
for devices. This allows using devices that are in IDE compatibility mode.


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


# a2a169feab7494700b4595eaa6f144c5fefaa2f2 30-Sep-2007 Marcus Overhagen <marcusoverhagen@gmail.com>

Improved interrupt handling
Removed DBC_I interrupt
Reduce debug output


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


# 036a8857a688d19fa7d268315d2df9253112e573 28-Aug-2007 Marcus Overhagen <marcusoverhagen@gmail.com>

added a workaround to prevent loading the driver multiple times for the same device


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


# 4f6fa362cfa47f22a0c789a42d35556d7ac25a31 27-Aug-2007 Axel Dörfler <axeld@pinc-software.de>

* Fixed driver initialization - you are supposed to call init_driver()
and uninit_driver() yourself. We're also using this to let the controller
access the pci_device object.
* Fixed some style violations for your pleasure ;-)


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


# 183bd9f43432c8cb5cf41e21bfe113e48c171e05 26-Aug-2007 Jérôme Duval <korli@users.berlios.de>

black on black isn't easy to read : it's better to switch to the default color


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


# 21255d1fc7c8179fbcb979c4600884605b8973c3 26-Aug-2007 Marcus Overhagen <marcusoverhagen@gmail.com>

moved controller specific functionality into it's own class


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


# 2210148f94f7125132b4803d571c3d3e39cbb907 26-Aug-2007 Marcus Overhagen <marcusoverhagen@gmail.com>

compile the sim as C++


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