aboutsummaryrefslogtreecommitdiff
path: root/sys/i386/isa/sound/cs4232.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/i386/isa/sound/cs4232.c')
-rw-r--r--sys/i386/isa/sound/cs4232.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/i386/isa/sound/cs4232.c b/sys/i386/isa/sound/cs4232.c
index 7831f9e9ddb9..e5b87264cc76 100644
--- a/sys/i386/isa/sound/cs4232.c
+++ b/sys/i386/isa/sound/cs4232.c
@@ -191,12 +191,10 @@ attach_cs4232(struct address_info * hw_config)
hw_config2.card_subtype = 0;
hw_config2.osp = hw_config->osp;
- if (probe_mpu401(&hw_config2)) {
- mpu_detected = 1;
+ if (probe_mpu401(&hw_config2))
attach_mpu401(&hw_config2);
- } else {
+ else
mpu_base = mpu_irq = 0;
- }
}
#endif
}