Skip to content

ac97: Allow 32-bit write to CR through index 08h #41

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions hw/audio/ac97.c
Original file line number Diff line number Diff line change
Expand Up @@ -913,6 +913,13 @@ static void nabm_writel (void *opaque, uint32_t addr, uint32_t val)
dolog ("BDBAR[%d] <- %#x (bdbar %#x)\n",
GET_BM (index), val, r->bdbar);
break;
case PI_PICB:
case PO_PICB:
case MC_PICB:
case SO_PICB:
/* PICB, PIV and CR. But PICB and PIV are RO */
nabm_writeb(opaque, addr + 3, (val >> 24) & 0xff);
break;
case GLOB_CNT:
if (val & GC_WR)
warm_reset (s);
Expand Down