summaryrefslogtreecommitdiffstats
path: root/sys/dev/atapiscsi/atapiscsi.c
diff options
context:
space:
mode:
authorjsg <jsg@openbsd.org>2007-02-14 00:53:47 +0000
committerjsg <jsg@openbsd.org>2007-02-14 00:53:47 +0000
commit83344e41421b7b24c3a018529e91e580978b87cc (patch)
tree07d05bf79ea9f82571ca07f6e04bd57f9c612f79 /sys/dev/atapiscsi/atapiscsi.c
parentbus_space does byte swapping to cope with host endianness for us, so remove (diff)
downloadwireguard-openbsd-83344e41421b7b24c3a018529e91e580978b87cc.tar.xz
wireguard-openbsd-83344e41421b7b24c3a018529e91e580978b87cc.zip
Consistently spell FALLTHROUGH to appease lint.
ok kettenis@ cloder@ tom@ henning@
Diffstat (limited to 'sys/dev/atapiscsi/atapiscsi.c')
-rw-r--r--sys/dev/atapiscsi/atapiscsi.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/atapiscsi/atapiscsi.c b/sys/dev/atapiscsi/atapiscsi.c
index a93222ca4b6..cfd0c2084ad 100644
--- a/sys/dev/atapiscsi/atapiscsi.c
+++ b/sys/dev/atapiscsi/atapiscsi.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: atapiscsi.c,v 1.76 2006/11/28 23:59:45 dlg Exp $ */
+/* $OpenBSD: atapiscsi.c,v 1.77 2007/02/14 00:53:47 jsg Exp $ */
/*
* This code is derived from code with the copyright below.
@@ -1429,7 +1429,7 @@ wdc_atapi_ctrl(chp, xfer, timeout, ret)
break;
case ATAPI_DEVICE_RESET_WAIT_STATE:
- /* fall through */
+ /* FALLTHROUGH */
case ATAPI_IDENTIFY_STATE:
wdccommandshort(chp, drvp->drive, ATAPI_IDENTIFY_DEVICE);
@@ -1482,7 +1482,7 @@ wdc_atapi_ctrl(chp, xfer, timeout, ret)
drvp->PIO_mode = 3;
chp->wdc->set_modes(chp);
}
- /* fall through */
+ /* FALLTHROUGH */
case ATAPI_DMAMODE_STATE:
if (drvp->drive_flags & DRIVE_UDMA) {
@@ -1505,7 +1505,7 @@ wdc_atapi_ctrl(chp, xfer, timeout, ret)
chp->wdc->irqack(chp);
if (chp->ch_status & WDCS_ERR)
drvp->drive_flags &= ~(DRIVE_DMA | DRIVE_UDMA);
- /* fall through */
+ /* FALLTHROUGH */
case ATAPI_READY_STATE:
ready: