summaryrefslogtreecommitdiffstats
path: root/sys/dev/ata
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/ata')
-rw-r--r--sys/dev/ata/ata-all.c2
-rw-r--r--sys/dev/ata/ata-raid.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/sys/dev/ata/ata-all.c b/sys/dev/ata/ata-all.c
index 5ac0510..6b25699 100644
--- a/sys/dev/ata/ata-all.c
+++ b/sys/dev/ata/ata-all.c
@@ -407,6 +407,7 @@ ataioctl(dev_t dev, u_long cmd, caddr_t addr, int32_t flag, struct thread *td)
}
#endif
default:
+ break;
}
return ENOTTY;
}
@@ -584,6 +585,7 @@ ata_intr(void *data)
intr_count, ch->active, ch->status);
}
#endif
+ break;
}
ch->active &= ATA_CONTROL;
if (ch->active & ATA_CONTROL)
diff --git a/sys/dev/ata/ata-raid.c b/sys/dev/ata/ata-raid.c
index 98eb180..eeb92ec 100644
--- a/sys/dev/ata/ata-raid.c
+++ b/sys/dev/ata/ata-raid.c
@@ -96,6 +96,7 @@ ata_raiddisk_attach(struct ad_softc *adp)
case 0x4d33105a: case 0x4d38105a: case 0x4d30105a:
case 0x0d30105a: case 0x4d68105a: case 0x6268105a:
case 0x00041103: case 0x00051103: case 0x00081103:
+ break;
}
if (ar_table) {
for (array = 0; array < MAX_ARRAYS; array++) {
@@ -148,6 +149,7 @@ ata_raiddisk_detach(struct ad_softc *adp)
case 0x4d33105a: case 0x4d38105a: case 0x4d30105a:
case 0x0d30105a: case 0x4d68105a: case 0x6268105a:
case 0x00041103: case 0x00051103: case 0x00081103:
+ break;
}
if (ar_table) {
for (array = 0; array < MAX_ARRAYS; array++) {
OpenPOWER on IntegriCloud