macio: Add MIO_AUX_CTRL enum.

This commit is contained in:
joevt 2024-03-22 20:08:57 -07:00 committed by dingusdev
parent f55ad323b4
commit 1d9b0f7fa5
2 changed files with 2 additions and 1 deletions

View File

@ -341,7 +341,7 @@ void HeathrowIC::mio_ctrl_write(uint32_t offset, uint32_t value, int size) {
case MIO_OHARE_FEAT_CTRL:
this->feature_control(BYTESWAP_32(value));
break;
case 0x3C:
case MIO_AUX_CTRL:
LOG_F(9, "write %x to MIO:Aux_Ctrl register", value);
this->aux_ctrl = value;
break;

View File

@ -263,6 +263,7 @@ private:
enum {
MIO_OHARE_ID = 0x34, // IDs register
MIO_OHARE_FEAT_CTRL = 0x38, // feature control register
MIO_AUX_CTRL = 0x3C,
};
/** O'Hare/Heathrow DBDMA channels. */