From ba8cec5e233bb4dd5ea93b049a9d82533835d660 Mon Sep 17 00:00:00 2001 From: RichardG867 Date: Sat, 20 Mar 2021 23:44:10 -0300 Subject: [PATCH] Dependent function* --- src/device/isapnp.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/device/isapnp.c b/src/device/isapnp.c index 0c6a93973..6f869f9d4 100644 --- a/src/device/isapnp.c +++ b/src/device/isapnp.c @@ -746,8 +746,8 @@ isapnp_add_card(uint8_t *rom, uint16_t rom_size, break; #endif - case 0x06: /* start dependent functions */ - isapnp_log("ISAPnP: >> Start dependent functions: %s\n", (((len == 0) || (card->rom[i + 1] == 1)) ? "acceptable" : ((card->rom[i + 1] == 0) ? "good" : ((card->rom[i + 1] == 2) ? "sub-optimal" : "unknown priority")))); + case 0x06: /* start dependent function */ + isapnp_log("ISAPnP: >> Start dependent function: %s\n", (((len == 0) || (card->rom[i + 1] == 1)) ? "acceptable" : ((card->rom[i + 1] == 0) ? "good" : ((card->rom[i + 1] == 2) ? "sub-optimal" : "unknown priority")))); if (in_df) { /* We're in a dependent function and this is the next one starting. @@ -763,8 +763,8 @@ isapnp_add_card(uint8_t *rom, uint16_t rom_size, break; - case 0x07: /* end dependent functions */ - isapnp_log("ISAPnP: >> End dependent functions\n"); + case 0x07: /* end dependent function */ + isapnp_log("ISAPnP: >> End dependent function\n"); in_df = 0; break;