Fixed the ATi Mach64 and S3 Virge graphics cards;
HDD controller initializer now ignores non-IDE controllers if the specified model has IDE; The RTL8029AS NIC and BusLogic BT-958D SCSI controller are now APIC-aware.
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
#include "ibm.h"
|
||||
#include "CPU/cpu.h"
|
||||
#include "device.h"
|
||||
#include "hdd.h"
|
||||
#include "model.h"
|
||||
|
||||
#include "hdd_esdi.h"
|
||||
#include "mfm_at.h"
|
||||
@@ -63,7 +65,12 @@ int hdd_controller_current_is_mfm()
|
||||
void hdd_controller_init(char *internal_name)
|
||||
{
|
||||
int c = 0;
|
||||
|
||||
|
||||
if (models[model].flags & MODEL_HAS_IDE)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
while (hdd_controllers[c].device)
|
||||
{
|
||||
if (!strcmp(internal_name, hdd_controllers[c].internal_name))
|
||||
|
||||
Reference in New Issue
Block a user