diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2004-04-14 23:27:12 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2004-04-14 23:27:12 +0000 |
commit | 0d072d7542b18e884629189fc7ef2adb1e45e429 (patch) | |
tree | 1966319c7aea11e3a0b8dba7e035e2c9ff420063 /sys/arch/mvme88k/dev | |
parent | bbd4ab335233392f9aa44698987914cbca58b209 (diff) |
Way too much include files here...
Diffstat (limited to 'sys/arch/mvme88k/dev')
-rw-r--r-- | sys/arch/mvme88k/dev/syscon.c | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/sys/arch/mvme88k/dev/syscon.c b/sys/arch/mvme88k/dev/syscon.c index 8cb02bcb936..7ab3a24c9ca 100644 --- a/sys/arch/mvme88k/dev/syscon.c +++ b/sys/arch/mvme88k/dev/syscon.c @@ -1,4 +1,4 @@ -/* $OpenBSD: syscon.c,v 1.16 2004/04/14 22:33:28 miod Exp $ */ +/* $OpenBSD: syscon.c,v 1.17 2004/04/14 23:27:11 miod Exp $ */ /* * Copyright (c) 1999 Steve Murphree, Jr. * All rights reserved. @@ -30,15 +30,8 @@ #include <sys/param.h> #include <sys/conf.h> -#include <sys/ioctl.h> -#include <sys/proc.h> -#include <sys/user.h> -#include <sys/tty.h> -#include <sys/uio.h> #include <sys/systm.h> #include <sys/kernel.h> -#include <sys/syslog.h> -#include <sys/fcntl.h> #include <sys/device.h> #include <machine/autoconf.h> @@ -46,8 +39,6 @@ #include <machine/board.h> #include <machine/frame.h> -#include <dev/cons.h> - #include <mvme88k/dev/sysconfunc.h> #include <mvme88k/dev/sysconreg.h> @@ -152,7 +143,7 @@ syscon_scan(parent, child, args) bzero(&oca, sizeof oca); oca.ca_offset = cf->cf_loc[0]; oca.ca_ipl = cf->cf_loc[1]; - if (((int)oca.ca_offset != -1) && ISIIOVA(sc->sc_vaddr + oca.ca_offset)) { + if ((oca.ca_offset != -1) && ISIIOVA(sc->sc_vaddr + oca.ca_offset)) { oca.ca_vaddr = sc->sc_vaddr + oca.ca_offset; oca.ca_paddr = sc->sc_paddr + oca.ca_offset; } else { |