From af65a961b9f0524c817b7410b9a9478ceeb873d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20A=C3=9Fmus?= Date: Wed, 28 Nov 2007 18:38:34 +0000 Subject: [PATCH] * I don't know what's going on, but with this change, I can boot Haiku again on my P35 with JMircon controller. I still have the "pci fixup" disabled though. Without this change, I could boot until the blue desktop background with cursor, but all the apps were in frozen state and would not display on screen (F12 worked and showed Tracker and so on as running teams, but I could not even move the mouse) git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23015 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/add-ons/kernel/busses/scsi/ahci/ahci_controller.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/add-ons/kernel/busses/scsi/ahci/ahci_controller.cpp b/src/add-ons/kernel/busses/scsi/ahci/ahci_controller.cpp index eee8f25ce8..b48a5fbbdd 100644 --- a/src/add-ons/kernel/busses/scsi/ahci/ahci_controller.cpp +++ b/src/add-ons/kernel/busses/scsi/ahci/ahci_controller.cpp @@ -339,10 +339,11 @@ AHCIController::ResetDevice(uchar targetID, uchar targetLUN) void -AHCIController::GetRestrictions(uchar targetID, bool *isATAPI, bool *noAutoSense, uint32 *maxBlocks) +AHCIController::GetRestrictions(uchar targetID, bool *isATAPI, + bool *noAutoSense, uint32 *maxBlocks) { if (!fPort[targetID]) return; - return fPort[targetID]->ScsiGetRestrictions(isATAPI, noAutoSense, maxBlocks); + fPort[targetID]->ScsiGetRestrictions(isATAPI, noAutoSense, maxBlocks); }