History log of /haiku/src/add-ons/kernel/bus_managers/scsi/scsi_internal.h
Revision Date Author Comments
# b4f4368b 11-Feb-2022 Augustin Cavalier <waddlesplash@gmail.com>

bus_managers/scsi: Use kernel mutex API directly and not through a wrapper.

No functional change intended.


# e5b82f80 28-May-2019 Jérôme Duval <jerome.duval@gmail.com>

scsi: change sg_count to uint32.

coding style.

Change-Id: Ie2e1a71e55b8fe8ac984d47b9b97409b1e436b69
Reviewed-on: https://review.haiku-os.org/c/1489
Reviewed-by: Rene Gollent <rene@gollent.com>


# a0f12421 08-Nov-2013 Jérôme Duval <jerome.duval@gmail.com>

scsi: define SCSI_DEVICE_MAX_LUN_COUNT to set a custom max lun count.

* virtio_scsi can have 16384 luns, though we cap at 256 as our scsi_ccb
only uses uchar as a type for target_lun and target_id members.
* minor code cleanup in scsi_scan_bus().


# 0063d2ba 20-Jul-2012 Alex Smith <alex@alex-smith.me.uk>

Various 64-bit fixes to SCSI and ATA bus managers/drivers.

Mostly compilation fixes, as well as a few 64-bit safety fixes. I've
briefly looked through everything for any obvious issues and fixed
the ones I've found, and it seems like they're working properly, though
there could be some more well hidden ones that I've missed.


# 297bfa1a 10-Jun-2010 Ingo Weinhold <ingo_weinhold@gmx.de>

Converted sources that include the private <vm/vm.h> to C++. Fixes the build.


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


# 2b07b8e0 28-May-2008 Ingo Weinhold <ingo_weinhold@gmx.de>

* Replaced all instances of benaphores in the kernel code by mutexes.
* Removed kernel benaphores.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25690 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


# 8ce98e44 28-Sep-2007 Marcus Overhagen <marcusoverhagen@gmail.com>

convert files to new include file locations


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


# 402a4a4e 26-Aug-2007 Marcus Overhagen <marcusoverhagen@gmail.com>

Set scsi target id limit to 16, was previously hardcoded to 2. Add a node attribute to allow overriding this value.


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


# 6be1e37d 10-May-2007 Axel Dörfler <axeld@pinc-software.de>

* Cleaned up SCSI headers a bit.
* scsi_cmds.h declared several variables instead of naming enums.
* the CD-ROM standard retrieval was broken (always checked index 0).


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


# 6094d89f 11-May-2005 Axel Dörfler <axeld@pinc-software.de>

Merged branches/developer/axeld/driver_recognition changed r12307:12637 into trunk.


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


# 9c4f4c03 11-Jan-2005 Axel Dörfler <axeld@pinc-software.de>

Changes because of renaming various data structures (pnp_node -> device_node, ...).
Minor cleanup.


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


# 55aea1cc 26-Oct-2004 Axel Dörfler <axeld@pinc-software.de>

Calm down SCSI bus manager.


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


# 1450572a 06-Jun-2004 Axel Dörfler <axeld@pinc-software.de>

Added SCSI bus manager written by Thomas Kurschel.


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


# a0f124211a035461631ac52b9dd0b3e274f1156c 08-Nov-2013 Jérôme Duval <jerome.duval@gmail.com>

scsi: define SCSI_DEVICE_MAX_LUN_COUNT to set a custom max lun count.

* virtio_scsi can have 16384 luns, though we cap at 256 as our scsi_ccb
only uses uchar as a type for target_lun and target_id members.
* minor code cleanup in scsi_scan_bus().


# 0063d2ba513ddb6bd54c329aa0d16c7e184862da 20-Jul-2012 Alex Smith <alex@alex-smith.me.uk>

Various 64-bit fixes to SCSI and ATA bus managers/drivers.

Mostly compilation fixes, as well as a few 64-bit safety fixes. I've
briefly looked through everything for any obvious issues and fixed
the ones I've found, and it seems like they're working properly, though
there could be some more well hidden ones that I've missed.


# 297bfa1ababaab0c24474d829a19f9e5fc869048 10-Jun-2010 Ingo Weinhold <ingo_weinhold@gmx.de>

Converted sources that include the private <vm/vm.h> to C++. Fixes the build.


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


# 2b07b8e0f1a7f1e76f31db24a21a42cbb01d7b9c 28-May-2008 Ingo Weinhold <ingo_weinhold@gmx.de>

* Replaced all instances of benaphores in the kernel code by mutexes.
* Removed kernel benaphores.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25690 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


# 8ce98e44ccce2220ad96b65043d7df792229f552 28-Sep-2007 Marcus Overhagen <marcusoverhagen@gmail.com>

convert files to new include file locations


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


# 402a4a4e7bb8c9d69d8edef436cc547c7841acb0 26-Aug-2007 Marcus Overhagen <marcusoverhagen@gmail.com>

Set scsi target id limit to 16, was previously hardcoded to 2. Add a node attribute to allow overriding this value.


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


# 6be1e37d9490908b044b5a01a026ab66d94eeb6f 10-May-2007 Axel Dörfler <axeld@pinc-software.de>

* Cleaned up SCSI headers a bit.
* scsi_cmds.h declared several variables instead of naming enums.
* the CD-ROM standard retrieval was broken (always checked index 0).


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


# 6094d89f2f0db00588b30428810e3cddc6b22731 11-May-2005 Axel Dörfler <axeld@pinc-software.de>

Merged branches/developer/axeld/driver_recognition changed r12307:12637 into trunk.


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


# 9c4f4c037d1026f630885f682de9d5a4c24cc124 11-Jan-2005 Axel Dörfler <axeld@pinc-software.de>

Changes because of renaming various data structures (pnp_node -> device_node, ...).
Minor cleanup.


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


# 55aea1cc5d1c12eec7e3a84097034ddf523d93ac 26-Oct-2004 Axel Dörfler <axeld@pinc-software.de>

Calm down SCSI bus manager.


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


# 1450572a5d28572db7a58bb04c1148522f137878 06-Jun-2004 Axel Dörfler <axeld@pinc-software.de>

Added SCSI bus manager written by Thomas Kurschel.


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