Merge pull request #3130 from jriwanek-forks/wdxt

Fix the wdxt
This commit is contained in:
Miran Grča
2023-02-22 15:02:47 +01:00
committed by GitHub

View File

@@ -1733,6 +1733,12 @@ xebec_available(void)
return (rom_present(XEBEC_BIOS_FILE)); return (rom_present(XEBEC_BIOS_FILE));
} }
static int
wdxt_available(void)
{
return (rom_present(WDXT_GEN_BIOS_FILE));
}
static int static int
dtc5150x_available(void) dtc5150x_available(void)
{ {
@@ -2147,7 +2153,7 @@ const device_t st506_xt_wdxt_gen_device = {
.init = st506_init, .init = st506_init,
.close = st506_close, .close = st506_close,
.reset = NULL, .reset = NULL,
{ .available = xebec_available }, { .available = wdxt_available },
.speed_changed = NULL, .speed_changed = NULL,
.force_redraw = NULL, .force_redraw = NULL,
.config = NULL .config = NULL