mirror of
https://github.com/86Box/86Box.git
synced 2025-01-23 17:52:01 -05:00
snd_cs423x: Temporarily disable PnP key disabling mechanism
This commit is contained in:
parent
de6a5b4e79
commit
520820a6a8
1 changed files with 6 additions and 1 deletions
|
@ -548,7 +548,12 @@ cs423x_pnp_enable(cs423x_t *dev, uint8_t update_rom, uint8_t update_hwconfig)
|
|||
isapnp_update_card_rom(dev->pnp_card, &dev->ram_data[dev->pnp_offset], 384);
|
||||
|
||||
/* Disable PnP key if the PKD bit is set, or if it was disabled by command 0x55. */
|
||||
isapnp_enable_card(dev->pnp_card, ((dev->ram_data[0x4002] & 0x20) || !dev->pnp_enable) ? ISAPNP_CARD_NO_KEY : ISAPNP_CARD_ENABLE);
|
||||
/* But wait! The TriGem Delhi-III BIOS sends command 0x55, and its behavior doesn't
|
||||
line up with real hardware (still listed in the POST summary and seen by software).
|
||||
Disable the PnP key disabling mechanism until someone figures something out. */
|
||||
//isapnp_enable_card(dev->pnp_card, ((dev->ram_data[0x4002] & 0x20) || !dev->pnp_enable) ? ISAPNP_CARD_NO_KEY : ISAPNP_CARD_ENABLE);
|
||||
if ((dev->ram_data[0x4002] & 0x20) || !dev->pnp_enable)
|
||||
pclog("CS423x: Attempted to disable PnP key\n");
|
||||
}
|
||||
|
||||
/* Update some register bits based on the config data in RAM if requested. */
|
||||
|
|
Loading…
Add table
Reference in a new issue