diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2008-04-13 16:59:49 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2008-04-13 16:59:49 -0400 |
commit | 109432efbb357fcea3727a054be421fd92506609 (patch) | |
tree | ff0b362f4d924b450e29bd77f713828da710f7bb | |
parent | ba2d0df1dbb97a0b2598af3884e73ec4a68c895a (diff) | |
download | seabios-hppa-109432efbb357fcea3727a054be421fd92506609.zip seabios-hppa-109432efbb357fcea3727a054be421fd92506609.tar.gz seabios-hppa-109432efbb357fcea3727a054be421fd92506609.tar.bz2 |
Fix typo causing fdpt1 from structure from being populated.
Also, remove redundant call to init_boot_vectors().
-rw-r--r-- | src/post.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -266,7 +266,7 @@ hard_drive_post() if ((diskinfo & 0x0f) == 0x0f) // XXX - bochs halts on any other type // Fill EBDA table for hard disk 1. - fill_hdinfo(&ebda->fdpt0, CMOS_DISK_DRIVE2_TYPE, CMOS_DISK_DRIVE2_CYL); + fill_hdinfo(&ebda->fdpt1, CMOS_DISK_DRIVE2_TYPE, CMOS_DISK_DRIVE2_CYL); } static void @@ -373,8 +373,6 @@ post() rombios32_init(); - init_boot_vectors(); - floppy_drive_post(); hard_drive_post(); if (CONFIG_ATA) { |