summaryrefslogtreecommitdiffstats
path: root/sys/dev/hfa/fore_intr.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2000-12-07 22:19:06 +0000
committerphk <phk@FreeBSD.org>2000-12-07 22:19:06 +0000
commit8ae10410a695676e430db201496928e71af10cbc (patch)
treefa2487ac73dd5d75748c838adf7980c69082b3d8 /sys/dev/hfa/fore_intr.c
parenta16fcb08d3dbbaac77039427720a0a061ec1d319 (diff)
downloadFreeBSD-src-8ae10410a695676e430db201496928e71af10cbc.zip
FreeBSD-src-8ae10410a695676e430db201496928e71af10cbc.tar.gz
Add back some now needed #include <sys/systm.h>
Fix various warnings while here anyway.
Diffstat (limited to 'sys/dev/hfa/fore_intr.c')
-rw-r--r--sys/dev/hfa/fore_intr.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/sys/dev/hfa/fore_intr.c b/sys/dev/hfa/fore_intr.c
index eebc6ec..2193a51 100644
--- a/sys/dev/hfa/fore_intr.c
+++ b/sys/dev/hfa/fore_intr.c
@@ -157,13 +157,8 @@ fore_intr(arg)
/*
* Clear the device interrupt
*/
- switch (fup->fu_config.ac_device) {
-
- case DEV_FORE_PCA200E:
+ if (fup->fu_config.ac_device == DEV_FORE_PCA200E)
PCA200E_HCR_SET(*fup->fu_ctlreg, PCA200E_CLR_HBUS_INT);
- break;
-
- }
aap->aali_intr_sent = CP_WRITE(0);
/*
OpenPOWER on IntegriCloud