refactored device_t and all declarations

This commit is contained in:
Jess Lovelace
2022-01-13 21:06:11 -05:00
parent 8bb18ef598
commit f18615ae87
219 changed files with 707 additions and 10 deletions

View File

@@ -2603,6 +2603,7 @@ static const device_config_t sb_awe64_gold_config[] =
const device_t sb_1_device =
{
"Sound Blaster v1.0",
"sb_1",
DEVICE_ISA,
0,
sb_1_init, sb_close, NULL, { NULL },
@@ -2614,6 +2615,7 @@ const device_t sb_1_device =
const device_t sb_15_device =
{
"Sound Blaster v1.5",
"sb_15",
DEVICE_ISA,
0,
sb_15_init, sb_close, NULL, { NULL },
@@ -2625,6 +2627,7 @@ const device_t sb_15_device =
const device_t sb_mcv_device =
{
"Sound Blaster MCV",
"sb_mcv",
DEVICE_MCA,
0,
sb_mcv_init, sb_close, NULL, { NULL },
@@ -2636,6 +2639,7 @@ const device_t sb_mcv_device =
const device_t sb_2_device =
{
"Sound Blaster v2.0",
"sb_2",
DEVICE_ISA,
0,
sb_2_init, sb_close, NULL, { NULL },
@@ -2647,6 +2651,7 @@ const device_t sb_2_device =
const device_t sb_pro_v1_device =
{
"Sound Blaster Pro v1",
"sb_pro_v1",
DEVICE_ISA,
0,
sb_pro_v1_init, sb_close, NULL, { NULL },
@@ -2658,6 +2663,7 @@ const device_t sb_pro_v1_device =
const device_t sb_pro_v2_device =
{
"Sound Blaster Pro v2",
"sb_pro_v2",
DEVICE_ISA,
0,
sb_pro_v2_init, sb_close, NULL, { NULL },
@@ -2669,6 +2675,7 @@ const device_t sb_pro_v2_device =
const device_t sb_pro_mcv_device =
{
"Sound Blaster Pro MCV",
"sb_pro_mcv",
DEVICE_MCA,
0,
sb_pro_mcv_init, sb_close, NULL, { NULL },
@@ -2680,6 +2687,7 @@ const device_t sb_pro_mcv_device =
const device_t sb_pro_compat_device =
{
"Sound Blaster Pro (Compatibility)",
"sb_pro_compat",
DEVICE_ISA | DEVICE_AT,
0,
sb_pro_compat_init, sb_close, NULL, { NULL },
@@ -2691,6 +2699,7 @@ const device_t sb_pro_compat_device =
const device_t sb_16_device =
{
"Sound Blaster 16",
"sb_16",
DEVICE_ISA | DEVICE_AT,
0,
sb_16_init, sb_close, NULL, { NULL },
@@ -2702,6 +2711,7 @@ const device_t sb_16_device =
const device_t sb_16_pnp_device =
{
"Sound Blaster 16 PnP",
"sb_16_pnp",
DEVICE_ISA | DEVICE_AT,
0,
sb_16_pnp_init, sb_close, NULL, { NULL },
@@ -2713,6 +2723,7 @@ const device_t sb_16_pnp_device =
const device_t sb_32_pnp_device =
{
"Sound Blaster 32 PnP",
"sb_32_pnp",
DEVICE_ISA | DEVICE_AT,
0,
sb_awe32_pnp_init, sb_awe32_close, NULL,
@@ -2726,6 +2737,7 @@ const device_t sb_32_pnp_device =
const device_t sb_awe32_device =
{
"Sound Blaster AWE32",
"sb_awe32",
DEVICE_ISA | DEVICE_AT,
0,
sb_awe32_init, sb_awe32_close, NULL,
@@ -2738,6 +2750,7 @@ const device_t sb_awe32_device =
const device_t sb_awe32_pnp_device =
{
"Sound Blaster AWE32 PnP",
"sb_awe32_pnp",
DEVICE_ISA | DEVICE_AT,
1,
sb_awe32_pnp_init, sb_awe32_close, NULL,
@@ -2750,6 +2763,7 @@ const device_t sb_awe32_pnp_device =
const device_t sb_awe64_gold_device =
{
"Sound Blaster AWE64 Gold",
"sb_awe64_gold",
DEVICE_ISA | DEVICE_AT,
2,
sb_awe32_pnp_init, sb_awe32_close, NULL,