Clean up .available & .poll

This commit is contained in:
Jasmine Iwanek
2025-01-07 01:12:42 -05:00
parent de488fe779
commit 81b8038bc5
254 changed files with 1214 additions and 1313 deletions

View File

@@ -351,7 +351,7 @@ const device_t bugger_device = {
.init = bug_init,
.close = bug_close,
.reset = NULL,
{ .available = NULL },
.available = NULL,
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL

View File

@@ -722,7 +722,7 @@ const device_t cassette_device = {
.init = cassette_init,
.close = cassette_close,
.reset = NULL,
{ .available = NULL },
.available = NULL,
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL

View File

@@ -325,7 +325,7 @@ const device_t gl518sm_2c_device = {
.init = gl518sm_init,
.close = gl518sm_close,
.reset = NULL,
{ .available = NULL },
.available = NULL,
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
@@ -340,7 +340,7 @@ const device_t gl518sm_2d_device = {
.init = gl518sm_init,
.close = gl518sm_close,
.reset = NULL,
{ .available = NULL },
.available = NULL,
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
@@ -355,7 +355,7 @@ const device_t gl520sm_2c_device = {
.init = gl518sm_init,
.close = gl518sm_close,
.reset = NULL,
{ .available = NULL },
.available = NULL,
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
@@ -371,7 +371,7 @@ const device_t gl520sm_2d_device = {
.init = gl518sm_init,
.close = gl518sm_close,
.reset = NULL,
{ .available = NULL },
.available = NULL,
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL

View File

@@ -243,7 +243,7 @@ const device_t lm75_1_4a_device = {
.init = lm75_init,
.close = lm75_close,
.reset = NULL,
{ .available = NULL },
.available = NULL,
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
@@ -259,7 +259,7 @@ const device_t lm75_w83781d_device = {
.init = lm75_init,
.close = lm75_close,
.reset = NULL,
{ .available = NULL },
.available = NULL,
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL

View File

@@ -857,7 +857,7 @@ const device_t lm78_device = {
.init = lm78_init,
.close = lm78_close,
.reset = lm78_reset,
{ .available = NULL },
.available = NULL,
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
@@ -872,7 +872,7 @@ const device_t w83781d_device = {
.init = lm78_init,
.close = lm78_close,
.reset = lm78_reset,
{ .available = NULL },
.available = NULL,
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
@@ -887,7 +887,7 @@ const device_t w83781d_p5a_device = {
.init = lm78_init,
.close = lm78_close,
.reset = lm78_reset,
{ .available = NULL },
.available = NULL,
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
@@ -903,7 +903,7 @@ const device_t as99127f_device = {
.init = lm78_init,
.close = lm78_close,
.reset = lm78_reset,
{ .available = NULL },
.available = NULL,
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
@@ -918,7 +918,7 @@ const device_t as99127f_rev2_device = {
.init = lm78_init,
.close = lm78_close,
.reset = lm78_reset,
{ .available = NULL },
.available = NULL,
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
@@ -933,7 +933,7 @@ const device_t w83782d_device = {
.init = lm78_init,
.close = lm78_close,
.reset = lm78_reset,
{ .available = NULL },
.available = NULL,
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL

View File

@@ -222,7 +222,7 @@ const device_t via_vt82c686_hwm_device = {
.init = vt82c686_init,
.close = vt82c686_close,
.reset = NULL,
{ .available = NULL },
.available = NULL,
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL

View File

@@ -116,7 +116,7 @@ const device_t ibm_5161_device = {
.init = ibm_5161_init,
.close = ibm_5161_close,
.reset = NULL,
{ .available = NULL },
.available = NULL,
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL

View File

@@ -895,7 +895,7 @@ static const device_t ibmxt_32k_device = {
.init = isamem_init,
.close = isamem_close,
.reset = NULL,
{ .available = NULL },
.available = NULL,
.speed_changed = NULL,
.force_redraw = NULL,
.config = ibmxt_32k_config
@@ -943,7 +943,7 @@ static const device_t ibmxt_64k_device = {
.init = isamem_init,
.close = isamem_close,
.reset = NULL,
{ .available = NULL },
.available = NULL,
.speed_changed = NULL,
.force_redraw = NULL,
.config = ibmxt_64k_config
@@ -991,7 +991,7 @@ static const device_t ibmxt_device = {
.init = isamem_init,
.close = isamem_close,
.reset = NULL,
{ .available = NULL },
.available = NULL,
.speed_changed = NULL,
.force_redraw = NULL,
.config = ibmxt_config
@@ -1039,7 +1039,7 @@ static const device_t genericxt_device = {
.init = isamem_init,
.close = isamem_close,
.reset = NULL,
{ .available = NULL },
.available = NULL,
.speed_changed = NULL,
.force_redraw = NULL,
.config = genericxt_config
@@ -1087,7 +1087,7 @@ static const device_t msramcard_device = {
.init = isamem_init,
.close = isamem_close,
.reset = NULL,
{ .available = NULL },
.available = NULL,
.speed_changed = NULL,
.force_redraw = NULL,
.config = msramcard_config
@@ -1135,7 +1135,7 @@ static const device_t mssystemcard_device = {
.init = isamem_init,
.close = isamem_close,
.reset = NULL,
{ .available = NULL },
.available = NULL,
.speed_changed = NULL,
.force_redraw = NULL,
.config = mssystemcard_config
@@ -1149,7 +1149,7 @@ static const device_t ibmat_128k_device = {
.init = isamem_init,
.close = isamem_close,
.reset = NULL,
{ .available = NULL },
.available = NULL,
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
@@ -1197,7 +1197,7 @@ static const device_t ibmat_device = {
.init = isamem_init,
.close = isamem_close,
.reset = NULL,
{ .available = NULL },
.available = NULL,
.speed_changed = NULL,
.force_redraw = NULL,
.config = ibmat_config
@@ -1245,7 +1245,7 @@ static const device_t genericat_device = {
.init = isamem_init,
.close = isamem_close,
.reset = NULL,
{ .available = NULL },
.available = NULL,
.speed_changed = NULL,
.force_redraw = NULL,
.config = genericat_config
@@ -1293,7 +1293,7 @@ static const device_t p5pak_device = {
.init = isamem_init,
.close = isamem_close,
.reset = NULL,
{ .available = NULL },
.available = NULL,
.speed_changed = NULL,
.force_redraw = NULL,
.config = p5pak_config
@@ -1341,7 +1341,7 @@ static const device_t a6pak_device = {
.init = isamem_init,
.close = isamem_close,
.reset = NULL,
{ .available = NULL },
.available = NULL,
.speed_changed = NULL,
.force_redraw = NULL,
.config = a6pak_config
@@ -1392,7 +1392,7 @@ static const device_t ems5150_device = {
.init = isamem_init,
.close = isamem_close,
.reset = NULL,
{ .available = NULL },
.available = NULL,
.speed_changed = NULL,
.force_redraw = NULL,
.config = ems5150_config
@@ -1534,7 +1534,7 @@ static const device_t ev159_device = {
.init = isamem_init,
.close = isamem_close,
.reset = NULL,
{ .available = NULL },
.available = NULL,
.speed_changed = NULL,
.force_redraw = NULL,
.config = ev159_config
@@ -1629,7 +1629,7 @@ static const device_t ev165a_device = {
.init = isamem_init,
.close = isamem_close,
.reset = NULL,
{ .available = NULL },
.available = NULL,
.speed_changed = NULL,
.force_redraw = NULL,
.config = ev165a_config
@@ -1693,7 +1693,7 @@ static const device_t brxt_device = {
.init = isamem_init,
.close = isamem_close,
.reset = NULL,
{ .available = NULL },
.available = NULL,
.speed_changed = NULL,
.force_redraw = NULL,
.config = brxt_config
@@ -1799,7 +1799,7 @@ static const device_t brat_device = {
.init = isamem_init,
.close = isamem_close,
.reset = NULL,
{ .available = NULL },
.available = NULL,
.speed_changed = NULL,
.force_redraw = NULL,
.config = brat_config
@@ -1865,7 +1865,7 @@ static const device_t lotech_device = {
.init = isamem_init,
.close = isamem_close,
.reset = NULL,
{ .available = NULL },
.available = NULL,
.speed_changed = NULL,
.force_redraw = NULL,
.config = lotech_config
@@ -1934,7 +1934,7 @@ static const device_t rampage_device = {
.init = isamem_init,
.close = isamem_close,
.reset = NULL,
{ .available = NULL },
.available = NULL,
.speed_changed = NULL,
.force_redraw = NULL,
.config = rampage_config
@@ -2033,7 +2033,7 @@ static const device_t iab_device = {
.init = isamem_init,
.close = isamem_close,
.reset = NULL,
{ .available = NULL },
.available = NULL,
.speed_changed = NULL,
.force_redraw = NULL,
.config = iab_config

View File

@@ -1231,7 +1231,7 @@ static const device_t isapnp_device = {
.init = isapnp_init,
.close = isapnp_close,
.reset = NULL,
{ .available = NULL },
.available = NULL,
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL

View File

@@ -2417,7 +2417,7 @@ const device_t keyboard_at_device = {
.init = kbc_at_init,
.close = kbc_at_close,
.reset = kbc_at_reset,
{ .available = NULL },
.available = NULL,
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
@@ -2431,7 +2431,7 @@ const device_t keyboard_at_siemens_device = {
.init = kbc_at_init,
.close = kbc_at_close,
.reset = kbc_at_reset,
{ .available = NULL },
.available = NULL,
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
@@ -2445,7 +2445,7 @@ const device_t keyboard_at_ami_device = {
.init = kbc_at_init,
.close = kbc_at_close,
.reset = kbc_at_reset,
{ .available = NULL },
.available = NULL,
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
@@ -2459,7 +2459,7 @@ const device_t keyboard_at_tg_ami_device = {
.init = kbc_at_init,
.close = kbc_at_close,
.reset = kbc_at_reset,
{ .available = NULL },
.available = NULL,
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
@@ -2473,7 +2473,7 @@ const device_t keyboard_at_toshiba_device = {
.init = kbc_at_init,
.close = kbc_at_close,
.reset = kbc_at_reset,
{ .available = NULL },
.available = NULL,
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
@@ -2487,7 +2487,7 @@ const device_t keyboard_at_olivetti_device = {
.init = kbc_at_init,
.close = kbc_at_close,
.reset = kbc_at_reset,
{ .available = NULL },
.available = NULL,
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
@@ -2501,7 +2501,7 @@ const device_t keyboard_at_ncr_device = {
.init = kbc_at_init,
.close = kbc_at_close,
.reset = kbc_at_reset,
{ .available = NULL },
.available = NULL,
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
@@ -2515,7 +2515,7 @@ const device_t keyboard_at_compaq_device = {
.init = kbc_at_init,
.close = kbc_at_close,
.reset = kbc_at_reset,
{ .available = NULL },
.available = NULL,
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
@@ -2529,7 +2529,7 @@ const device_t keyboard_ps2_device = {
.init = kbc_at_init,
.close = kbc_at_close,
.reset = kbc_at_reset,
{ .available = NULL },
.available = NULL,
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
@@ -2543,7 +2543,7 @@ const device_t keyboard_ps2_ps1_device = {
.init = kbc_at_init,
.close = kbc_at_close,
.reset = kbc_at_reset,
{ .available = NULL },
.available = NULL,
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
@@ -2557,7 +2557,7 @@ const device_t keyboard_ps2_ps1_pci_device = {
.init = kbc_at_init,
.close = kbc_at_close,
.reset = kbc_at_reset,
{ .available = NULL },
.available = NULL,
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
@@ -2571,7 +2571,7 @@ const device_t keyboard_ps2_xi8088_device = {
.init = kbc_at_init,
.close = kbc_at_close,
.reset = kbc_at_reset,
{ .available = NULL },
.available = NULL,
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
@@ -2585,7 +2585,7 @@ const device_t keyboard_ps2_ami_device = {
.init = kbc_at_init,
.close = kbc_at_close,
.reset = kbc_at_reset,
{ .available = NULL },
.available = NULL,
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
@@ -2599,7 +2599,7 @@ const device_t keyboard_ps2_holtek_device = {
.init = kbc_at_init,
.close = kbc_at_close,
.reset = kbc_at_reset,
{ .available = NULL },
.available = NULL,
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
@@ -2613,7 +2613,7 @@ const device_t keyboard_ps2_phoenix_device = {
.init = kbc_at_init,
.close = kbc_at_close,
.reset = kbc_at_reset,
{ .available = NULL },
.available = NULL,
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
@@ -2627,7 +2627,7 @@ const device_t keyboard_ps2_tg_ami_device = {
.init = kbc_at_init,
.close = kbc_at_close,
.reset = kbc_at_reset,
{ .available = NULL },
.available = NULL,
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
@@ -2641,7 +2641,7 @@ const device_t keyboard_ps2_mca_1_device = {
.init = kbc_at_init,
.close = kbc_at_close,
.reset = kbc_at_reset,
{ .available = NULL },
.available = NULL,
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
@@ -2655,7 +2655,7 @@ const device_t keyboard_ps2_mca_2_device = {
.init = kbc_at_init,
.close = kbc_at_close,
.reset = kbc_at_reset,
{ .available = NULL },
.available = NULL,
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
@@ -2669,7 +2669,7 @@ const device_t keyboard_ps2_quadtel_device = {
.init = kbc_at_init,
.close = kbc_at_close,
.reset = kbc_at_reset,
{ .available = NULL },
.available = NULL,
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
@@ -2683,7 +2683,7 @@ const device_t keyboard_ps2_pci_device = {
.init = kbc_at_init,
.close = kbc_at_close,
.reset = kbc_at_reset,
{ .available = NULL },
.available = NULL,
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
@@ -2697,7 +2697,7 @@ const device_t keyboard_ps2_ami_pci_device = {
.init = kbc_at_init,
.close = kbc_at_close,
.reset = kbc_at_reset,
{ .available = NULL },
.available = NULL,
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
@@ -2711,7 +2711,7 @@ const device_t keyboard_ps2_ali_pci_device = {
.init = kbc_at_init,
.close = kbc_at_close,
.reset = kbc_at_reset,
{ .available = NULL },
.available = NULL,
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
@@ -2725,7 +2725,7 @@ const device_t keyboard_ps2_intel_ami_pci_device = {
.init = kbc_at_init,
.close = kbc_at_close,
.reset = kbc_at_reset,
{ .available = NULL },
.available = NULL,
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
@@ -2739,7 +2739,7 @@ const device_t keyboard_ps2_tg_ami_pci_device = {
.init = kbc_at_init,
.close = kbc_at_close,
.reset = kbc_at_reset,
{ .available = NULL },
.available = NULL,
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
@@ -2753,7 +2753,7 @@ const device_t keyboard_ps2_acer_pci_device = {
.init = kbc_at_init,
.close = kbc_at_close,
.reset = kbc_at_reset,
{ .available = NULL },
.available = NULL,
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL

View File

@@ -1188,7 +1188,7 @@ const device_t keyboard_pc_device = {
.init = kbd_init,
.close = kbd_close,
.reset = kbd_reset,
{ .available = NULL },
.available = NULL,
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
@@ -1202,7 +1202,7 @@ const device_t keyboard_pc82_device = {
.init = kbd_init,
.close = kbd_close,
.reset = kbd_reset,
{ .available = NULL },
.available = NULL,
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
@@ -1216,7 +1216,7 @@ const device_t keyboard_pravetz_device = {
.init = kbd_init,
.close = kbd_close,
.reset = kbd_reset,
{ .available = NULL },
.available = NULL,
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
@@ -1230,7 +1230,7 @@ const device_t keyboard_xt_device = {
.init = kbd_init,
.close = kbd_close,
.reset = kbd_reset,
{ .available = NULL },
.available = NULL,
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
@@ -1244,7 +1244,7 @@ const device_t keyboard_xt86_device = {
.init = kbd_init,
.close = kbd_close,
.reset = kbd_reset,
{ .available = NULL },
.available = NULL,
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
@@ -1258,7 +1258,7 @@ const device_t keyboard_xt_compaq_device = {
.init = kbd_init,
.close = kbd_close,
.reset = kbd_reset,
{ .available = NULL },
.available = NULL,
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
@@ -1272,7 +1272,7 @@ const device_t keyboard_tandy_device = {
.init = kbd_init,
.close = kbd_close,
.reset = kbd_reset,
{ .available = NULL },
.available = NULL,
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
@@ -1286,7 +1286,7 @@ const device_t keyboard_xt_t1x00_device = {
.init = kbd_init,
.close = kbd_close,
.reset = kbd_reset,
{ .available = NULL },
.available = NULL,
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
@@ -1301,7 +1301,7 @@ const device_t keyboard_xt_lxt3_device = {
.init = kbd_init,
.close = kbd_close,
.reset = kbd_reset,
{ .available = NULL },
.available = NULL,
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
@@ -1316,7 +1316,7 @@ const device_t keyboard_xt_olivetti_device = {
.init = kbd_init,
.close = kbd_close,
.reset = kbd_reset,
{ .available = NULL },
.available = NULL,
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
@@ -1330,7 +1330,7 @@ const device_t keyboard_xt_zenith_device = {
.init = kbd_init,
.close = kbd_close,
.reset = kbd_reset,
{ .available = NULL },
.available = NULL,
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
@@ -1344,7 +1344,7 @@ const device_t keyboard_xt_hyundai_device = {
.init = kbd_init,
.close = kbd_close,
.reset = kbd_reset,
{ .available = NULL },
.available = NULL,
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
@@ -1358,7 +1358,7 @@ const device_t keyboard_xtclone_device = {
.init = kbd_init,
.close = kbd_close,
.reset = kbd_reset,
{ .available = NULL },
.available = NULL,
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL

View File

@@ -812,7 +812,7 @@ const device_t mouse_logibus_device = {
.init = bm_init,
.close = bm_close,
.reset = NULL,
{ .poll = bm_poll },
.poll = bm_poll,
.speed_changed = NULL,
.force_redraw = NULL,
.config = lt_config
@@ -826,7 +826,7 @@ const device_t mouse_logibus_onboard_device = {
.init = bm_init,
.close = bm_close,
.reset = NULL,
{ .poll = bm_poll },
.poll = bm_poll,
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
@@ -840,7 +840,7 @@ const device_t mouse_msinport_device = {
.init = bm_init,
.close = bm_close,
.reset = NULL,
{ .poll = bm_poll },
.poll = bm_poll,
.speed_changed = NULL,
.force_redraw = NULL,
.config = ms_config

View File

@@ -599,7 +599,7 @@ const device_t mouse_mtouch_device = {
.init = mtouch_init,
.close = mtouch_close,
.reset = NULL,
{ .poll = mtouch_poll },
.poll = mtouch_poll,
.speed_changed = NULL,
.force_redraw = NULL,
.config = mtouch_config

View File

@@ -396,7 +396,7 @@ const device_t mouse_ps2_device = {
.init = mouse_ps2_init,
.close = ps2_close,
.reset = NULL,
{ .poll = ps2_poll },
.poll = ps2_poll,
.speed_changed = NULL,
.force_redraw = NULL,
.config = ps2_config

View File

@@ -1061,7 +1061,7 @@ const device_t mouse_mssystems_device = {
.init = sermouse_init,
.close = sermouse_close,
.reset = NULL,
{ .poll = sermouse_poll },
.poll = sermouse_poll,
.speed_changed = sermouse_speed_changed,
.force_redraw = NULL,
.config = msssermouse_config
@@ -1075,7 +1075,7 @@ const device_t mouse_msserial_device = {
.init = sermouse_init,
.close = sermouse_close,
.reset = NULL,
{ .poll = sermouse_poll },
.poll = sermouse_poll,
.speed_changed = sermouse_speed_changed,
.force_redraw = NULL,
.config = mssermouse_config
@@ -1089,7 +1089,7 @@ const device_t mouse_ltserial_device = {
.init = sermouse_init,
.close = sermouse_close,
.reset = NULL,
{ .poll = sermouse_poll },
.poll = sermouse_poll,
.speed_changed = sermouse_speed_changed,
.force_redraw = NULL,
.config = ltsermouse_config

View File

@@ -720,7 +720,7 @@ const device_t mouse_wacom_device = {
.init = wacom_init,
.close = wacom_close,
.reset = NULL,
{ .poll = wacom_poll },
.poll = wacom_poll,
.speed_changed = wacom_speed_changed,
.force_redraw = NULL,
.config = wacom_config
@@ -730,11 +730,11 @@ const device_t mouse_wacom_artpad_device = {
.name = "Wacom ArtPad",
.internal_name = "wacom_serial_artpad",
.flags = DEVICE_COM,
.local = (uintptr_t)&artpad_id,
.local = (uintptr_t) &artpad_id,
.init = wacom_init,
.close = wacom_close,
.reset = NULL,
{ .poll = wacom_poll },
.poll = wacom_poll,
.speed_changed = wacom_speed_changed,
.force_redraw = NULL,
.config = wacom_config

View File

@@ -68,7 +68,7 @@ const device_t nec_mate_unk_device = {
.init = nec_mate_unk_init,
.close = nec_mate_unk_close,
.reset = NULL,
{ .available = NULL },
.available = NULL,
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL

View File

@@ -116,7 +116,7 @@ const device_t novell_keycard_device = {
.init = novell_cardkey_init,
.close = novell_cardkey_close,
.reset = NULL,
{ .available = NULL },
.available = NULL,
.speed_changed = NULL,
.force_redraw = NULL,
.config = keycard_config

View File

@@ -542,7 +542,7 @@ const device_t dec21150_device = {
.init = pci_bridge_init,
.close = NULL,
.reset = pci_bridge_reset,
{ .available = NULL },
.available = NULL,
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
@@ -557,7 +557,7 @@ const device_t ali5243_agp_device = {
.init = pci_bridge_init,
.close = NULL,
.reset = pci_bridge_reset,
{ .available = NULL },
.available = NULL,
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
@@ -572,7 +572,7 @@ const device_t ali5247_agp_device = {
.init = pci_bridge_init,
.close = NULL,
.reset = pci_bridge_reset,
{ .available = NULL },
.available = NULL,
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
@@ -586,7 +586,7 @@ const device_t i440lx_agp_device = {
.init = pci_bridge_init,
.close = NULL,
.reset = pci_bridge_reset,
{ .available = NULL },
.available = NULL,
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
@@ -600,7 +600,7 @@ const device_t i440bx_agp_device = {
.init = pci_bridge_init,
.close = NULL,
.reset = pci_bridge_reset,
{ .available = NULL },
.available = NULL,
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
@@ -614,7 +614,7 @@ const device_t i440gx_agp_device = {
.init = pci_bridge_init,
.close = NULL,
.reset = pci_bridge_reset,
{ .available = NULL },
.available = NULL,
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
@@ -628,7 +628,7 @@ const device_t via_vp3_agp_device = {
.init = pci_bridge_init,
.close = NULL,
.reset = pci_bridge_reset,
{ .available = NULL },
.available = NULL,
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
@@ -642,7 +642,7 @@ const device_t via_mvp3_agp_device = {
.init = pci_bridge_init,
.close = NULL,
.reset = pci_bridge_reset,
{ .available = NULL },
.available = NULL,
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
@@ -656,7 +656,7 @@ const device_t via_apro_agp_device = {
.init = pci_bridge_init,
.close = NULL,
.reset = pci_bridge_reset,
{ .available = NULL },
.available = NULL,
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
@@ -670,7 +670,7 @@ const device_t via_vt8601_agp_device = {
.init = pci_bridge_init,
.close = NULL,
.reset = pci_bridge_reset,
{ .available = NULL },
.available = NULL,
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
@@ -684,7 +684,7 @@ const device_t sis_5xxx_agp_device = {
.init = pci_bridge_init,
.close = NULL,
.reset = pci_bridge_reset,
{ .available = NULL },
.available = NULL,
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL

View File

@@ -130,7 +130,7 @@ const device_t phoenix_486_jumper_device = {
.init = phoenix_486_jumper_init,
.close = phoenix_486_jumper_close,
.reset = phoenix_486_jumper_reset,
{ .available = NULL },
.available = NULL,
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
@@ -144,7 +144,7 @@ const device_t phoenix_486_jumper_pci_device = {
.init = phoenix_486_jumper_init,
.close = phoenix_486_jumper_close,
.reset = phoenix_486_jumper_reset,
{ .available = NULL },
.available = NULL,
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL

View File

@@ -187,7 +187,7 @@ const device_t postcard_device = {
.init = postcard_init,
.close = postcard_close,
.reset = NULL,
{ .available = NULL },
.available = NULL,
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL

View File

@@ -996,7 +996,7 @@ const device_t ns8250_device = {
.init = serial_init,
.close = serial_close,
.reset = serial_reset,
{ .available = NULL },
.available = NULL,
.speed_changed = serial_speed_changed,
.force_redraw = NULL,
.config = NULL
@@ -1010,7 +1010,7 @@ const device_t ns8250_pcjr_device = {
.init = serial_init,
.close = serial_close,
.reset = serial_reset,
{ .available = NULL },
.available = NULL,
.speed_changed = serial_speed_changed,
.force_redraw = NULL,
.config = NULL
@@ -1024,7 +1024,7 @@ const device_t ns16450_device = {
.init = serial_init,
.close = serial_close,
.reset = serial_reset,
{ .available = NULL },
.available = NULL,
.speed_changed = serial_speed_changed,
.force_redraw = NULL,
.config = NULL
@@ -1038,7 +1038,7 @@ const device_t ns16550_device = {
.init = serial_init,
.close = serial_close,
.reset = serial_reset,
{ .available = NULL },
.available = NULL,
.speed_changed = serial_speed_changed,
.force_redraw = NULL,
.config = NULL
@@ -1052,7 +1052,7 @@ const device_t ns16650_device = {
.init = serial_init,
.close = serial_close,
.reset = serial_reset,
{ .available = NULL },
.available = NULL,
.speed_changed = serial_speed_changed,
.force_redraw = NULL,
.config = NULL
@@ -1066,7 +1066,7 @@ const device_t ns16750_device = {
.init = serial_init,
.close = serial_close,
.reset = serial_reset,
{ .available = NULL },
.available = NULL,
.speed_changed = serial_speed_changed,
.force_redraw = NULL,
.config = NULL
@@ -1080,7 +1080,7 @@ const device_t ns16850_device = {
.init = serial_init,
.close = serial_close,
.reset = serial_reset,
{ .available = NULL },
.available = NULL,
.speed_changed = serial_speed_changed,
.force_redraw = NULL,
.config = NULL
@@ -1094,7 +1094,7 @@ const device_t ns16950_device = {
.init = serial_init,
.close = serial_close,
.reset = serial_reset,
{ .available = NULL },
.available = NULL,
.speed_changed = serial_speed_changed,
.force_redraw = NULL,
.config = NULL

View File

@@ -370,13 +370,13 @@ static const device_config_t serial_passthrough_config[] = {
// clang-format on
const device_t serial_passthrough_device = {
.name = "Serial Passthrough Device",
.flags = 0,
.local = 0,
.init = serial_passthrough_dev_init,
.close = serial_passthrough_dev_close,
.reset = NULL,
{ .poll = NULL },
.name = "Serial Passthrough Device",
.flags = 0,
.local = 0,
.init = serial_passthrough_dev_init,
.close = serial_passthrough_dev_close,
.reset = NULL,
.poll = NULL,
.speed_changed = serial_passthrough_speed_changed,
.force_redraw = NULL,
.config = serial_passthrough_config

View File

@@ -307,7 +307,7 @@ const device_t ali7101_smbus_device = {
.init = smbus_ali7101_init,
.close = smbus_ali7101_close,
.reset = smbus_ali7101_reset,
{ .available = NULL },
.available = NULL,
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL

View File

@@ -392,7 +392,7 @@ const device_t piix4_smbus_device = {
.init = smbus_piix4_init,
.close = smbus_piix4_close,
.reset = NULL,
{ .available = NULL },
.available = NULL,
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
@@ -406,7 +406,7 @@ const device_t via_smbus_device = {
.init = smbus_piix4_init,
.close = smbus_piix4_close,
.reset = NULL,
{ .available = NULL },
.available = NULL,
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL

View File

@@ -379,7 +379,7 @@ const device_t sis5595_smbus_device = {
.init = smbus_sis5595_init,
.close = smbus_sis5595_close,
.reset = smbus_sis5595_reset,
{ .available = NULL },
.available = NULL,
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL

View File

@@ -115,12 +115,16 @@ static struct unittester_state unittester_defaults = {
};
static const device_config_t unittester_config[] = {
{ .name = "exit_enabled",
.description = "Enable 0x04 \"Exit 86Box\" command",
.type = CONFIG_BINARY,
.default_int = 1,
.default_string = "" },
{ .type = CONFIG_END }
// clang-format off
{
.name = "exit_enabled",
.description = "Enable 0x04 \"Exit 86Box\" command",
.type = CONFIG_BINARY,
.default_int = 1,
.default_string = ""
},
{ .name = "", .description = "", .type = CONFIG_END }
// clang-format on
};
/* Kept separate, as we will be reusing this object */
@@ -628,7 +632,7 @@ const device_t unittester_device = {
.init = unittester_init,
.close = unittester_close,
.reset = NULL,
{ .available = NULL },
.available = NULL,
.speed_changed = NULL,
.force_redraw = NULL,
.config = unittester_config,