aboutsummaryrefslogtreecommitdiff
path: root/src/biosvar.h
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2009-08-11 21:59:37 -0400
committerKevin O'Connor <kevin@koconnor.net>2009-08-11 21:59:37 -0400
commitc892b138d897f93f8e863fff605e8c2a456b3fa6 (patch)
tree676f67b33b4cfe0844add2d999a6d746515ea09d /src/biosvar.h
parentf2d48a3d6584b05f6357e3efc34d78db1501eaa5 (diff)
downloadseabios-hppa-c892b138d897f93f8e863fff605e8c2a456b3fa6.zip
seabios-hppa-c892b138d897f93f8e863fff605e8c2a456b3fa6.tar.gz
seabios-hppa-c892b138d897f93f8e863fff605e8c2a456b3fa6.tar.bz2
Separate ATA code from generic disk code.
Move generic code from ata.c to new file block.c. Rename atabits.h to ata.h and move ata header definitions from disk.h. Rename ATA.channels to ATA_channels. Rename ATA structure to Drives. Support both CONFIG_DRIVES and CONFIG_ATA options.
Diffstat (limited to 'src/biosvar.h')
-rw-r--r--src/biosvar.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/biosvar.h b/src/biosvar.h
index 7eaa07b..9469c9a 100644
--- a/src/biosvar.h
+++ b/src/biosvar.h
@@ -228,7 +228,7 @@ struct extended_bios_data_area_s {
struct dpte_s dpte;
// Locks for removable devices
- u8 cdrom_locks[CONFIG_MAX_ATA_DEVICES];
+ u8 cdrom_locks[CONFIG_MAX_DRIVES];
u16 boot_sequence;