diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2005-11-26 14:31:27 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2005-11-26 14:31:27 +0000 |
commit | 19be77508910c463d79ed46c5a61f31542ac9ac1 (patch) | |
tree | c99ba4b551c0e54b17a1e067a0e37edb9d936b70 /sys/dev/pci/auixp.c | |
parent | 3ce1ff6e08cbc198934820c6b831598e1e0873cd (diff) |
Add some missing 'break;'s in auich and auixp that lint spotted. While
here, use FALLTHRU or FALLTHROUGH to make lint even happier.
ok marco@ miod@
Diffstat (limited to 'sys/dev/pci/auixp.c')
-rw-r--r-- | sys/dev/pci/auixp.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/sys/dev/pci/auixp.c b/sys/dev/pci/auixp.c index 0b8fa974cbc..1bdf3005c9b 100644 --- a/sys/dev/pci/auixp.c +++ b/sys/dev/pci/auixp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: auixp.c,v 1.2 2005/11/21 18:16:40 millert Exp $ */ +/* $OpenBSD: auixp.c,v 1.3 2005/11/26 14:31:26 krw Exp $ */ /* $NetBSD: auixp.c,v 1.9 2005/06/27 21:13:09 thorpej Exp $ */ /* @@ -312,11 +312,11 @@ auixp_commit_settings(void *hdl) case 6: value |= ATI_REG_OUT_DMA_SLOT_BIT(7) | ATI_REG_OUT_DMA_SLOT_BIT(8); - /* fallthru */ + /* FALLTHRU */ case 4: value |= ATI_REG_OUT_DMA_SLOT_BIT(6) | ATI_REG_OUT_DMA_SLOT_BIT(9); - /* fallthru */ + /* FALLTHRU */ default: value |= ATI_REG_OUT_DMA_SLOT_BIT(3) | ATI_REG_OUT_DMA_SLOT_BIT(4); @@ -456,9 +456,11 @@ auixp_set_params(void *hdl, int setmode, int usemode, case 1: play->factor = 4; play->sw_code = alaw_to_slinear16_mts; + break; case 2: play->factor = 2; play->sw_code = alaw_to_slinear16; + break; default: return (EINVAL); } |