From 0538330e960618ef25d14be98c63a6e6b8805a43 Mon Sep 17 00:00:00 2001 From: dfr Date: Fri, 10 Sep 1999 08:20:23 +0000 Subject: [PATCH] Make sure that opti931's and guspnp's use the right offset from their ports. --- sys/dev/pcm/isa/mss.c | 2 ++ sys/dev/sound/isa/mss.c | 2 ++ 2 files changed, 4 insertions(+) diff --git a/sys/dev/pcm/isa/mss.c b/sys/dev/pcm/isa/mss.c index ee5431295ccc..39bb2a6f290f 100644 --- a/sys/dev/pcm/isa/mss.c +++ b/sys/dev/pcm/isa/mss.c @@ -1371,6 +1371,7 @@ pnpmss_attach(device_t dev) break; case 0x3100143e: /* opti931 */ + case 0x1093143e: /* OPT9310 */ mss->bd_flags |= BD_F_MSS_OFFSET; mss->conf_rid = 3; mss->bd_id = MD_OPTI931; @@ -1383,6 +1384,7 @@ pnpmss_attach(device_t dev) break; case 0x0100561e: /* guspnp */ + mss->bd_flags |= BD_F_MSS_OFFSET; mss->io_rid = 2; mss->conf_rid = 1; mss->drq1_rid = 1; diff --git a/sys/dev/sound/isa/mss.c b/sys/dev/sound/isa/mss.c index ee5431295ccc..39bb2a6f290f 100644 --- a/sys/dev/sound/isa/mss.c +++ b/sys/dev/sound/isa/mss.c @@ -1371,6 +1371,7 @@ pnpmss_attach(device_t dev) break; case 0x3100143e: /* opti931 */ + case 0x1093143e: /* OPT9310 */ mss->bd_flags |= BD_F_MSS_OFFSET; mss->conf_rid = 3; mss->bd_id = MD_OPTI931; @@ -1383,6 +1384,7 @@ pnpmss_attach(device_t dev) break; case 0x0100561e: /* guspnp */ + mss->bd_flags |= BD_F_MSS_OFFSET; mss->io_rid = 2; mss->conf_rid = 1; mss->drq1_rid = 1;