aboutsummaryrefslogtreecommitdiff
path: root/src/config.h
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2010-02-28 01:28:11 -0500
committerKevin O'Connor <kevin@koconnor.net>2010-02-28 01:28:11 -0500
commit8f469b9676127ba6bb52609d89ec774e61db0ee1 (patch)
treedfb521bc0905ff1419c77dcc1a63943a856f6296 /src/config.h
parent575ffc8fd1127e3cb8fbb7f587cadfa85eb9b73d (diff)
downloadseabios-hppa-8f469b9676127ba6bb52609d89ec774e61db0ee1.zip
seabios-hppa-8f469b9676127ba6bb52609d89ec774e61db0ee1.tar.gz
seabios-hppa-8f469b9676127ba6bb52609d89ec774e61db0ee1.tar.bz2
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.h3
1 files changed, 0 insertions, 3 deletions
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