Patchwork ahci: increase MAX_SATA_DEVS to 4

login
register
mail settings
Submitter Sebastian Herbszt
Date May 13, 2010, 3:50 p.m.
Message ID <1273765820$1811@local>
Download mbox | patch
Permalink /patch/52491/
State New
Headers show

Comments

Sebastian Herbszt - May 13, 2010, 3:50 p.m.
All ICH6 ports are now available.

Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>

Patch

diff --git a/sysemu.h b/sysemu.h
index 70d5a33..022be18 100644
--- a/sysemu.h
+++ b/sysemu.h
@@ -177,7 +177,7 @@  typedef struct DriveInfo {
 
 #define MAX_IDE_DEVS	2
 #define MAX_SCSI_DEVS	7
-#define MAX_SATA_DEVS	1
+#define MAX_SATA_DEVS	4
 #define MAX_DRIVES 32
 
 extern QTAILQ_HEAD(drivelist, DriveInfo) drives;