From 8f469b9676127ba6bb52609d89ec774e61db0ee1 Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Sun, 28 Feb 2010 01:28:11 -0500 Subject: Dynamically allocate ata_channel info; introduce custom atadrive_s struct. Don't limit the number of ATA controllers supported - just dynamically allocate the structs. Create an atadrive_s struct that extends the standard 'struct drive_s' and have the new struct store a pointer to the ata channel info. Also, prefer storing drive_s pointers as 32bit "flat" pointers - adjust them as needed in the 16bit code. --- src/config.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/config.h') diff --git a/src/config.h b/src/config.h index 1362581..a81c4ac 100644 --- a/src/config.h +++ b/src/config.h @@ -125,9 +125,6 @@ #define CONFIG_MAX_BIOSTABLE 2048 // Space to reserve in high-memory for tables #define CONFIG_MAX_HIGHTABLE (64*1024) - -// Maximum number of ATA controllers to support -#define CONFIG_MAX_ATA_INTERFACES 4 // Largest supported externaly facing drive id #define CONFIG_MAX_EXTDRIVE 16 -- cgit v1.1