Reset magneto-optical devices when IDE bus is reset.
This commit is contained in:
@@ -63,6 +63,7 @@
|
|||||||
#include "pic.h"
|
#include "pic.h"
|
||||||
#include "port92.h"
|
#include "port92.h"
|
||||||
#include "intel_piix.h"
|
#include "intel_piix.h"
|
||||||
|
#include "../disk/mo.h"
|
||||||
|
|
||||||
|
|
||||||
typedef struct
|
typedef struct
|
||||||
@@ -825,7 +826,8 @@ piix_reset(priv_t priv)
|
|||||||
{
|
{
|
||||||
//FIXME: this should be ide_reset() ...
|
//FIXME: this should be ide_reset() ...
|
||||||
cdrom_reset_bus(CDROM_BUS_ATAPI);
|
cdrom_reset_bus(CDROM_BUS_ATAPI);
|
||||||
zip_reset_bus(CDROM_BUS_ATAPI);
|
zip_reset_bus(ZIP_BUS_ATAPI);
|
||||||
|
mo_reset_bus(MO_BUS_ATAPI);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user