summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/amd64/amd64/pmap.c4
-rw-r--r--sys/amd64/pci/pci_bus.c17
-rw-r--r--sys/amd64/pci/pci_cfgreg.c17
-rw-r--r--sys/dev/joy/joy.c10
-rw-r--r--sys/i386/i386/pmap.c4
-rw-r--r--sys/i386/isa/elink.c6
-rw-r--r--sys/i386/isa/gsc.c34
-rw-r--r--sys/i386/isa/if_ze.c54
-rw-r--r--sys/i386/isa/if_zp.c16
-rw-r--r--sys/i386/isa/joy.c10
-rw-r--r--sys/i386/isa/lpt.c6
-rw-r--r--sys/i386/isa/pcibus.c17
-rw-r--r--sys/i386/isa/psm.c32
-rw-r--r--sys/i386/isa/spigot.c9
-rw-r--r--sys/i386/pci/pci_bus.c17
-rw-r--r--sys/i386/pci/pci_cfgreg.c17
-rw-r--r--sys/i386/pci/pci_pir.c17
-rw-r--r--sys/isa/joy.c10
18 files changed, 137 insertions, 160 deletions
diff --git a/sys/amd64/amd64/pmap.c b/sys/amd64/amd64/pmap.c
index 9ba6fc6..dfc3443 100644
--- a/sys/amd64/amd64/pmap.c
+++ b/sys/amd64/amd64/pmap.c
@@ -39,7 +39,7 @@
* SUCH DAMAGE.
*
* from: @(#)pmap.c 7.7 (Berkeley) 5/12/91
- * $Id: pmap.c,v 1.48 1995/02/02 08:45:14 davidg Exp $
+ * $Id: pmap.c,v 1.49 1995/02/15 04:36:31 davidg Exp $
*/
/*
@@ -95,7 +95,7 @@
#include <vm/vm_kern.h>
#include <vm/vm_page.h>
-#include <i386/include/cputypes.h>
+#include <machine/cputypes.h>
#include <i386/isa/isa.h>
diff --git a/sys/amd64/pci/pci_bus.c b/sys/amd64/pci/pci_bus.c
index fd22e08..f1cdd1e 100644
--- a/sys/amd64/pci/pci_bus.c
+++ b/sys/amd64/pci/pci_bus.c
@@ -1,6 +1,6 @@
/**************************************************************************
**
-** $Id: pcibus.c,v 1.2 1995/02/09 20:16:19 se Exp $
+** $Id: pcibus.c,v 1.3 1995/02/25 17:51:18 se Exp $
**
** pci bus subroutines for i386 architecture.
**
@@ -45,23 +45,18 @@
#define HAS_CPUFUNC_H
#endif
-#include <types.h>
-#include <param.h>
-#include <kernel.h>
+#include <sys/param.h>
+#include <sys/systm.h>
+#include <sys/kernel.h>
+
+#include <i386/isa/icu.h>
#include <i386/isa/isa.h>
#include <i386/isa/isa_device.h>
-#include <i386/isa/icu.h>
-
-#ifdef HAS_CPUFUNC_H
-#include <i386/include/cpufunc.h>
-#endif
#include <pci/pcivar.h>
#include <pci/pcireg.h>
#include <pci/pcibus.h>
-extern int printf();
-
static char pci_mode;
/*-----------------------------------------------------------------
diff --git a/sys/amd64/pci/pci_cfgreg.c b/sys/amd64/pci/pci_cfgreg.c
index fd22e08..f1cdd1e 100644
--- a/sys/amd64/pci/pci_cfgreg.c
+++ b/sys/amd64/pci/pci_cfgreg.c
@@ -1,6 +1,6 @@
/**************************************************************************
**
-** $Id: pcibus.c,v 1.2 1995/02/09 20:16:19 se Exp $
+** $Id: pcibus.c,v 1.3 1995/02/25 17:51:18 se Exp $
**
** pci bus subroutines for i386 architecture.
**
@@ -45,23 +45,18 @@
#define HAS_CPUFUNC_H
#endif
-#include <types.h>
-#include <param.h>
-#include <kernel.h>
+#include <sys/param.h>
+#include <sys/systm.h>
+#include <sys/kernel.h>
+
+#include <i386/isa/icu.h>
#include <i386/isa/isa.h>
#include <i386/isa/isa_device.h>
-#include <i386/isa/icu.h>
-
-#ifdef HAS_CPUFUNC_H
-#include <i386/include/cpufunc.h>
-#endif
#include <pci/pcivar.h>
#include <pci/pcireg.h>
#include <pci/pcibus.h>
-extern int printf();
-
static char pci_mode;
/*-----------------------------------------------------------------
diff --git a/sys/dev/joy/joy.c b/sys/dev/joy/joy.c
index 77ef121..5fae0d7 100644
--- a/sys/dev/joy/joy.c
+++ b/sys/dev/joy/joy.c
@@ -31,13 +31,15 @@
#if NJOY > 0
#include <errno.h>
+
#include <sys/types.h>
-#include <i386/isa/isa.h>
-#include <i386/isa/timerreg.h>
-#include <i386/isa/isa_device.h>
+
#include <machine/cpufunc.h>
+#include <machine/joystick.h>
-#include <i386/include/joystick.h>
+#include <i386/isa/isa.h>
+#include <i386/isa/isa_device.h>
+#include <i386/isa/timerreg.h>
/* The game port can manage 4 buttons and 4 variable resistors (usually 2
* joysticks, each with 2 buttons and 2 pots.) via the port at address 0x201.
diff --git a/sys/i386/i386/pmap.c b/sys/i386/i386/pmap.c
index 9ba6fc6..dfc3443 100644
--- a/sys/i386/i386/pmap.c
+++ b/sys/i386/i386/pmap.c
@@ -39,7 +39,7 @@
* SUCH DAMAGE.
*
* from: @(#)pmap.c 7.7 (Berkeley) 5/12/91
- * $Id: pmap.c,v 1.48 1995/02/02 08:45:14 davidg Exp $
+ * $Id: pmap.c,v 1.49 1995/02/15 04:36:31 davidg Exp $
*/
/*
@@ -95,7 +95,7 @@
#include <vm/vm_kern.h>
#include <vm/vm_page.h>
-#include <i386/include/cputypes.h>
+#include <machine/cputypes.h>
#include <i386/isa/isa.h>
diff --git a/sys/i386/isa/elink.c b/sys/i386/isa/elink.c
index 61516bf..4bf0016 100644
--- a/sys/i386/isa/elink.c
+++ b/sys/i386/isa/elink.c
@@ -26,7 +26,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
- * $Id: elink.c,v 1.2 1994/09/16 13:33:35 davidg Exp $
+ * $Id: elink.c,v 1.3 1994/09/17 16:51:47 se Exp $
*/
/*
@@ -35,8 +35,10 @@
#include <sys/types.h>
#include <sys/cdefs.h>
+
+#include <machine/cpufunc.h>
+
#include <i386/isa/elink.h>
-#include <i386/include/cpufunc.h>
/*
* Issue a `global reset' to all cards. We have to be careful to do this only
diff --git a/sys/i386/isa/gsc.c b/sys/i386/isa/gsc.c
index e6b019f..221571a 100644
--- a/sys/i386/isa/gsc.c
+++ b/sys/i386/isa/gsc.c
@@ -35,23 +35,23 @@
#include "gsc.h"
#if NGSC > 0
-#include "param.h"
-#include "systm.h"
-#include "proc.h"
-#include "user.h"
-#include "buf.h"
-#include "malloc.h"
-#include "kernel.h"
-#include "ioctl.h"
-#include "tty.h"
-#include "uio.h"
-#include "syslog.h"
-
-#include "i386/isa/isa.h"
-#include "i386/isa/isa_device.h"
-#include "i386/isa/gscreg.h"
-
-#include "i386/include/gsc.h"
+#include <sys/param.h>
+#include <sys/systm.h>
+#include <sys/proc.h>
+#include <sys/user.h>
+#include <sys/buf.h>
+#include <sys/malloc.h>
+#include <sys/kernel.h>
+#include <sys/ioctl.h>
+#include <sys/tty.h>
+#include <sys/uio.h>
+#include <sys/syslog.h>
+
+#include <machine/gsc.h>
+
+#include <i386/isa/isa.h>
+#include <i386/isa/isa_device.h>
+#include <i386/isa/gscreg.h>
/***********************************************************************
*
diff --git a/sys/i386/isa/if_ze.c b/sys/i386/isa/if_ze.c
index f447cc0..408ffe4 100644
--- a/sys/i386/isa/if_ze.c
+++ b/sys/i386/isa/if_ze.c
@@ -47,53 +47,53 @@
*/
/*
- * $Id: if_ze.c,v 1.10 1995/01/23 18:02:32 phk Exp $
+ * $Id: if_ze.c,v 1.11 1995/02/17 02:22:51 phk Exp $
*/
#include "ze.h"
#if NZE > 0
#include "bpfilter.h"
-#include "param.h"
-#include "systm.h"
-#include "errno.h"
-#include "ioctl.h"
-#include "mbuf.h"
-#include "socket.h"
-#include "syslog.h"
+#include <sys/param.h>
+#include <sys/systm.h>
+#include <sys/errno.h>
+#include <sys/ioctl.h>
+#include <sys/mbuf.h>
+#include <sys/socket.h>
+#include <sys/syslog.h>
-#include "net/if.h"
-#include "net/if_dl.h"
-#include "net/if_types.h"
-#include "net/netisr.h"
+#include <net/if.h>
+#include <net/if_dl.h>
+#include <net/if_types.h>
+#include <net/netisr.h>
#ifdef INET
-#include "netinet/in.h"
-#include "netinet/in_systm.h"
-#include "netinet/in_var.h"
-#include "netinet/ip.h"
-#include "netinet/if_ether.h"
+#include <netinet/in.h>
+#include <netinet/in_systm.h>
+#include <netinet/in_var.h>
+#include <netinet/ip.h>
+#include <netinet/if_ether.h>
#endif
#ifdef NS
-#include "netns/ns.h"
-#include "netns/ns_if.h"
+#include <netns/ns.h>
+#include <netns/ns_if.h>
#endif
#if NBPFILTER > 0
-#include "net/bpf.h"
-#include "net/bpfdesc.h"
+#include <net/bpf.h>
+#include <net/bpfdesc.h>
#endif
-#include "i386/isa/isa.h"
-#include "i386/isa/isa_device.h"
-#include "i386/isa/icu.h"
-#include "i386/isa/if_zereg.h"
-#include "i386/isa/pcic.h"
+#include <i386/isa/isa.h>
+#include <i386/isa/isa_device.h>
+#include <i386/isa/icu.h>
+#include <i386/isa/if_zereg.h>
+#include <i386/isa/pcic.h>
#include "apm.h"
#if NAPM > 0
-#include "i386/include/apm_bios.h"
+#include <machine/apm_bios.h>
#endif /* NAPM > 0 */
diff --git a/sys/i386/isa/if_zp.c b/sys/i386/isa/if_zp.c
index 27c7f3d..c8310fe 100644
--- a/sys/i386/isa/if_zp.c
+++ b/sys/i386/isa/if_zp.c
@@ -35,7 +35,7 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
* From: if_ep.c,v 1.9 1994/01/25 10:46:29 deraadt Exp $
- * $Id: if_ep.c,v 1.9 1994/05/02 22:27:33 ats Exp $
+ * $Id: if_zp.c,v 1.1 1995/02/17 02:22:52 phk Exp $
*/
/*-
* TODO:
@@ -183,7 +183,7 @@ enum memtype { COMMON, ATTRIBUTE };
#include "apm.h"
#if NAPM > 0
-#include "i386/include/apm_bios.h"
+#include <machine/apm_bios.h>
#endif /* NAPM > 0 */
#endif /* MACH_KERNEL */
@@ -258,13 +258,13 @@ static unsigned char card_info[256];
int zpprobe __P((struct isa_device *));
int zpattach __P((struct isa_device *));
-int zpioctl __P((struct ifnet * ifp, int, caddr_t));
+static int zpioctl __P((struct ifnet * ifp, int, caddr_t));
static u_short read_eeprom_data __P((int, int));
void zpinit __P((int));
void zpintr __P((int));
-void zpmbuffill __P((caddr_t));
-void zpmbufempty __P((struct zp_softc *));
+void zpmbuffill __P((void *));
+static void zpmbufempty __P((struct zp_softc *));
void zpread __P((struct zp_softc *));
void zpreset __P((int));
void zpstart __P((struct ifnet *));
@@ -1106,7 +1106,7 @@ zpinit(unit)
*/
sc->last_mb = 0;
sc->next_mb = 0;
- zpmbuffill((caddr_t)sc);
+ zpmbuffill(sc);
#endif /* MACH_KERNEL */
#ifdef MACH_KERNEL
#if 0 /* seiji */
@@ -1767,7 +1767,7 @@ zpread(sc)
if (m == 0)
goto out;
} else {
- timeout(zpmbuffill, (caddr_t)sc, 0);
+ timeout(zpmbuffill, sc, 0);
sc->next_mb = (sc->next_mb + 1) % MAX_MBS;
}
if (totlen >= MINCLSIZE)
@@ -2217,7 +2217,7 @@ f_is_eeprom_busy(is)
#ifndef MACH_KERNEL
void
zpmbuffill(sp)
- caddr_t sp;
+ void *sp;
{
struct zp_softc *sc = (struct zp_softc *)sp;
int s, i;
diff --git a/sys/i386/isa/joy.c b/sys/i386/isa/joy.c
index 77ef121..5fae0d7 100644
--- a/sys/i386/isa/joy.c
+++ b/sys/i386/isa/joy.c
@@ -31,13 +31,15 @@
#if NJOY > 0
#include <errno.h>
+
#include <sys/types.h>
-#include <i386/isa/isa.h>
-#include <i386/isa/timerreg.h>
-#include <i386/isa/isa_device.h>
+
#include <machine/cpufunc.h>
+#include <machine/joystick.h>
-#include <i386/include/joystick.h>
+#include <i386/isa/isa.h>
+#include <i386/isa/isa_device.h>
+#include <i386/isa/timerreg.h>
/* The game port can manage 4 buttons and 4 variable resistors (usually 2
* joysticks, each with 2 buttons and 2 pots.) via the port at address 0x201.
diff --git a/sys/i386/isa/lpt.c b/sys/i386/isa/lpt.c
index 8635144..2638b74 100644
--- a/sys/i386/isa/lpt.c
+++ b/sys/i386/isa/lpt.c
@@ -46,7 +46,7 @@
* SUCH DAMAGE.
*
* from: unknown origin, 386BSD 0.1
- * $Id: lpt.c,v 1.23 1994/11/13 21:14:30 nate Exp $
+ * $Id: lpt.c,v 1.24 1994/11/16 06:09:29 phk Exp $
*/
/*
@@ -114,12 +114,12 @@
#include <sys/syslog.h>
#include <sys/devconf.h>
+#include <machine/lpt.h>
+
#include <i386/isa/isa.h>
#include <i386/isa/isa_device.h>
#include <i386/isa/lptreg.h>
-#include <i386/include/lpt.h>
-
#ifdef INET
#include <sys/mbuf.h>
#include <sys/socket.h>
diff --git a/sys/i386/isa/pcibus.c b/sys/i386/isa/pcibus.c
index fd22e08..f1cdd1e 100644
--- a/sys/i386/isa/pcibus.c
+++ b/sys/i386/isa/pcibus.c
@@ -1,6 +1,6 @@
/**************************************************************************
**
-** $Id: pcibus.c,v 1.2 1995/02/09 20:16:19 se Exp $
+** $Id: pcibus.c,v 1.3 1995/02/25 17:51:18 se Exp $
**
** pci bus subroutines for i386 architecture.
**
@@ -45,23 +45,18 @@
#define HAS_CPUFUNC_H
#endif
-#include <types.h>
-#include <param.h>
-#include <kernel.h>
+#include <sys/param.h>
+#include <sys/systm.h>
+#include <sys/kernel.h>
+
+#include <i386/isa/icu.h>
#include <i386/isa/isa.h>
#include <i386/isa/isa_device.h>
-#include <i386/isa/icu.h>
-
-#ifdef HAS_CPUFUNC_H
-#include <i386/include/cpufunc.h>
-#endif
#include <pci/pcivar.h>
#include <pci/pcireg.h>
#include <pci/pcibus.h>
-extern int printf();
-
static char pci_mode;
/*-----------------------------------------------------------------
diff --git a/sys/i386/isa/psm.c b/sys/i386/isa/psm.c
index c4bb3b7..975e95f 100644
--- a/sys/i386/isa/psm.c
+++ b/sys/i386/isa/psm.c
@@ -49,24 +49,24 @@
#if NPSM > 0
-#include <param.h>
-#include <kernel.h>
-#include <systm.h>
-#include <buf.h>
-#include <malloc.h>
-#include <ioctl.h>
-#include <tty.h>
-#include <file.h>
-#include <proc.h>
-#include <vnode.h>
-
-#include <i386/include/mouse.h>
-#include <i386/isa/isa_device.h>
-
-#ifdef 0
-#include "syslog.h" /* For debugging */
+#include <sys/param.h>
+#include <sys/systm.h>
+#include <sys/kernel.h>
+#include <sys/buf.h>
+#include <sys/malloc.h>
+#include <sys/ioctl.h>
+#include <sys/tty.h>
+#include <sys/file.h>
+#include <sys/proc.h>
+#include <sys/vnode.h>
+#if 0
+#include <sys/syslog.h> /* For debugging */
#endif
+#include <machine/mouse.h>
+
+#include <i386/isa/isa_device.h>
+
#define DATA 0 /* Offset for data port, read-write */
#define CNTRL 4 /* Offset for control port, write-only */
#define STATUS 4 /* Offset for status port, read-only */
diff --git a/sys/i386/isa/spigot.c b/sys/i386/isa/spigot.c
index 13f5bb2..7ef54ad 100644
--- a/sys/i386/isa/spigot.c
+++ b/sys/i386/isa/spigot.c
@@ -48,24 +48,23 @@ error "Can only have 1 spigot configured."
#include <sys/param.h>
#include <sys/systm.h>
+#include <sys/kernel.h>
#include <sys/ioctl.h>
#include <sys/proc.h>
#include <sys/user.h>
#include <sys/file.h>
#include <sys/uio.h>
-#include <sys/kernel.h>
#include <sys/malloc.h>
#include <sys/devconf.h>
#include <sys/errno.h>
#include <sys/mman.h>
+#include <machine/spigot.h>
+#include <machine/psl.h>
+
#include <i386/isa/isa.h>
#include <i386/isa/isa_device.h>
-#include <i386/include/spigot.h>
-#include <i386/include/psl.h>
-
-
struct spigot_softc {
int flags;
caddr_t maddr;
diff --git a/sys/i386/pci/pci_bus.c b/sys/i386/pci/pci_bus.c
index fd22e08..f1cdd1e 100644
--- a/sys/i386/pci/pci_bus.c
+++ b/sys/i386/pci/pci_bus.c
@@ -1,6 +1,6 @@
/**************************************************************************
**
-** $Id: pcibus.c,v 1.2 1995/02/09 20:16:19 se Exp $
+** $Id: pcibus.c,v 1.3 1995/02/25 17:51:18 se Exp $
**
** pci bus subroutines for i386 architecture.
**
@@ -45,23 +45,18 @@
#define HAS_CPUFUNC_H
#endif
-#include <types.h>
-#include <param.h>
-#include <kernel.h>
+#include <sys/param.h>
+#include <sys/systm.h>
+#include <sys/kernel.h>
+
+#include <i386/isa/icu.h>
#include <i386/isa/isa.h>
#include <i386/isa/isa_device.h>
-#include <i386/isa/icu.h>
-
-#ifdef HAS_CPUFUNC_H
-#include <i386/include/cpufunc.h>
-#endif
#include <pci/pcivar.h>
#include <pci/pcireg.h>
#include <pci/pcibus.h>
-extern int printf();
-
static char pci_mode;
/*-----------------------------------------------------------------
diff --git a/sys/i386/pci/pci_cfgreg.c b/sys/i386/pci/pci_cfgreg.c
index fd22e08..f1cdd1e 100644
--- a/sys/i386/pci/pci_cfgreg.c
+++ b/sys/i386/pci/pci_cfgreg.c
@@ -1,6 +1,6 @@
/**************************************************************************
**
-** $Id: pcibus.c,v 1.2 1995/02/09 20:16:19 se Exp $
+** $Id: pcibus.c,v 1.3 1995/02/25 17:51:18 se Exp $
**
** pci bus subroutines for i386 architecture.
**
@@ -45,23 +45,18 @@
#define HAS_CPUFUNC_H
#endif
-#include <types.h>
-#include <param.h>
-#include <kernel.h>
+#include <sys/param.h>
+#include <sys/systm.h>
+#include <sys/kernel.h>
+
+#include <i386/isa/icu.h>
#include <i386/isa/isa.h>
#include <i386/isa/isa_device.h>
-#include <i386/isa/icu.h>
-
-#ifdef HAS_CPUFUNC_H
-#include <i386/include/cpufunc.h>
-#endif
#include <pci/pcivar.h>
#include <pci/pcireg.h>
#include <pci/pcibus.h>
-extern int printf();
-
static char pci_mode;
/*-----------------------------------------------------------------
diff --git a/sys/i386/pci/pci_pir.c b/sys/i386/pci/pci_pir.c
index fd22e08..f1cdd1e 100644
--- a/sys/i386/pci/pci_pir.c
+++ b/sys/i386/pci/pci_pir.c
@@ -1,6 +1,6 @@
/**************************************************************************
**
-** $Id: pcibus.c,v 1.2 1995/02/09 20:16:19 se Exp $
+** $Id: pcibus.c,v 1.3 1995/02/25 17:51:18 se Exp $
**
** pci bus subroutines for i386 architecture.
**
@@ -45,23 +45,18 @@
#define HAS_CPUFUNC_H
#endif
-#include <types.h>
-#include <param.h>
-#include <kernel.h>
+#include <sys/param.h>
+#include <sys/systm.h>
+#include <sys/kernel.h>
+
+#include <i386/isa/icu.h>
#include <i386/isa/isa.h>
#include <i386/isa/isa_device.h>
-#include <i386/isa/icu.h>
-
-#ifdef HAS_CPUFUNC_H
-#include <i386/include/cpufunc.h>
-#endif
#include <pci/pcivar.h>
#include <pci/pcireg.h>
#include <pci/pcibus.h>
-extern int printf();
-
static char pci_mode;
/*-----------------------------------------------------------------
diff --git a/sys/isa/joy.c b/sys/isa/joy.c
index 77ef121..5fae0d7 100644
--- a/sys/isa/joy.c
+++ b/sys/isa/joy.c
@@ -31,13 +31,15 @@
#if NJOY > 0
#include <errno.h>
+
#include <sys/types.h>
-#include <i386/isa/isa.h>
-#include <i386/isa/timerreg.h>
-#include <i386/isa/isa_device.h>
+
#include <machine/cpufunc.h>
+#include <machine/joystick.h>
-#include <i386/include/joystick.h>
+#include <i386/isa/isa.h>
+#include <i386/isa/isa_device.h>
+#include <i386/isa/timerreg.h>
/* The game port can manage 4 buttons and 4 variable resistors (usually 2
* joysticks, each with 2 buttons and 2 pots.) via the port at address 0x201.
OpenPOWER on IntegriCloud