From 2ab0d51d05d4fbb245049ff435ba828a3516ce92 Mon Sep 17 00:00:00 2001 From: Markus Friedl Date: Thu, 19 Feb 2004 20:11:34 +0000 Subject: fix typo, KNF --- sys/dev/pci/yds.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/sys/dev/pci/yds.c b/sys/dev/pci/yds.c index 1f5121c18e7..48a56acc4ed 100644 --- a/sys/dev/pci/yds.c +++ b/sys/dev/pci/yds.c @@ -1,4 +1,4 @@ -/* $OpenBSD: yds.c,v 1.21 2004/02/19 11:08:11 markus Exp $ */ +/* $OpenBSD: yds.c,v 1.22 2004/02/19 20:11:33 markus Exp $ */ /* $NetBSD: yds.c,v 1.5 2001/05/21 23:55:04 minoura Exp $ */ /* @@ -573,9 +573,8 @@ yds_configure_legacy (arg) reg = pci_conf_read(sc->sc_pc, sc->sc_pcitag, YDS_PCI_LEGACY); reg &= ~0x8133c03f; /* these bits are out of interest */ - reg |= ((YDS_PCI_EX_LEGACY_IMOD) | - (YDS_PCI_LEGACY_FMEN | - YDS_PCI_LEGACY_MEN /*| YDS_PCI_LEGACY_MIEN*/)); + reg |= (YDS_PCI_EX_LEGACY_IMOD | YDS_PCI_LEGACY_FMEN | + YDS_PCI_LEGACY_MEN /*| YDS_PCI_LEGACY_MIEN*/); if (sc->sc_flags & YDS_CAP_LEGACY_SMOD_DISABLE) reg |= YDS_PCI_EX_LEGACY_SMOD_DISABLE; if (FLEXIBLE) { @@ -706,7 +705,7 @@ yds_attach(parent, self, aux) sc->sc_id = pa->pa_id; sc->sc_revision = PCI_REVISION(pa->pa_class); sc->sc_flags = yds_get_dstype(sc->sc_id); - if (sc->sc_dev.dv_cfdata->cf_flags & YDS_CAP_LEGACY_SMOD_DISABLE); + if (sc->sc_dev.dv_cfdata->cf_flags & YDS_CAP_LEGACY_SMOD_DISABLE) sc->sc_flags |= YDS_CAP_LEGACY_SMOD_DISABLE; #ifdef AUDIO_DEBUG if (ydsdebug) -- cgit v1.2.3