From a53e060c17316afe2c56eac8ce999c9800eea872 Mon Sep 17 00:00:00 2001 From: Marcus Overhagen Date: Sun, 26 Aug 2007 19:59:12 +0000 Subject: [PATCH] set scsi target id maximum to 33 (32 devices + controller) for ahci controller git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22072 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/add-ons/kernel/busses/scsi/ahci/ahci.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/add-ons/kernel/busses/scsi/ahci/ahci.c b/src/add-ons/kernel/busses/scsi/ahci/ahci.c index d77157f578..56c6e5dfd3 100644 --- a/src/add-ons/kernel/busses/scsi/ahci/ahci.c +++ b/src/add-ons/kernel/busses/scsi/ahci/ahci.c @@ -116,6 +116,9 @@ ahci_register_device(device_node_handle parent) // info about ourself and our consumer { B_DRIVER_MODULE, B_STRING_TYPE, { string: AHCI_DEVICE_MODULE_NAME }}, + { SCSI_DEVICE_MAX_TARGET_COUNT, B_UINT32_TYPE, + { ui32: 33 }}, + // DMA properties // data must be word-aligned; { B_BLOCK_DEVICE_DMA_ALIGNMENT, B_UINT32_TYPE,