diff options
author | Markus Friedl <markus@cvs.openbsd.org> | 2004-02-19 20:11:34 +0000 |
---|---|---|
committer | Markus Friedl <markus@cvs.openbsd.org> | 2004-02-19 20:11:34 +0000 |
commit | 2ab0d51d05d4fbb245049ff435ba828a3516ce92 (patch) | |
tree | 58c0eb3d6100e23aed00ec337a073a621a994c75 /sys/dev/pci | |
parent | 65472d61ef85a99cfc1fa3b809a865310d3f390a (diff) |
fix typo, KNF
Diffstat (limited to 'sys/dev/pci')
-rw-r--r-- | sys/dev/pci/yds.c | 9 |
1 files 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) |