diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2010-02-28 01:28:11 -0500 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2010-02-28 01:28:11 -0500 |
commit | 8f469b9676127ba6bb52609d89ec774e61db0ee1 (patch) | |
tree | dfb521bc0905ff1419c77dcc1a63943a856f6296 /src/config.h | |
parent | 575ffc8fd1127e3cb8fbb7f587cadfa85eb9b73d (diff) | |
download | seabios-8f469b9676127ba6bb52609d89ec774e61db0ee1.tar.gz |
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.
Diffstat (limited to 'src/config.h')
-rw-r--r-- | src/config.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/config.h b/src/config.h index 13625814..a81c4ac9 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 |