summaryrefslogtreecommitdiffstats
path: root/sys/arch/vax
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2002-03-15 01:20:03 +0000
committermillert <millert@openbsd.org>2002-03-15 01:20:03 +0000
commit00caae4baf9e792d7b51ca1a041f452d045868fc (patch)
treeb2496c91d9c873ecb4b779c3dd430f13fe53beae /sys/arch/vax
parentThe previous commit broke the bootblocks, since uvmexp is not available (diff)
downloadwireguard-openbsd-00caae4baf9e792d7b51ca1a041f452d045868fc.tar.xz
wireguard-openbsd-00caae4baf9e792d7b51ca1a041f452d045868fc.zip
Cosmetic changes only, primarily making comments line up nicely after the
__P removal.
Diffstat (limited to 'sys/arch/vax')
-rw-r--r--sys/arch/vax/include/rpb.h4
-rw-r--r--sys/arch/vax/mscp/mscpvar.h38
-rw-r--r--sys/arch/vax/uba/ubavar.h4
3 files changed, 29 insertions, 17 deletions
diff --git a/sys/arch/vax/include/rpb.h b/sys/arch/vax/include/rpb.h
index 5e90a6c1752..e1971e5371a 100644
--- a/sys/arch/vax/include/rpb.h
+++ b/sys/arch/vax/include/rpb.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: rpb.h,v 1.8 2002/03/14 01:26:48 millert Exp $ */
+/* $OpenBSD: rpb.h,v 1.9 2002/03/15 01:20:04 millert Exp $ */
/* $NetBSD: rpb.h,v 1.6 1998/07/01 09:37:11 ragge Exp $ */
/*
* Copyright (c) 1995 Ludd, University of Lule}, Sweden.
@@ -40,7 +40,7 @@
struct rpb { /* size description */
struct rpb *rpb_base; /* 4 physical base address of block */
- void (*rpb_restart)/* 4 physical address of restart routine */(void);
+ void (*rpb_restart)(void);/* 4 physical address of restart routine */
long rpb_chksum;/* 4 checksum of first 31 longwords of restart */
long rpb_rstflg; /* 4 Restart in progress flag */
long rpb_haltpc; /* 4 PC at HALT/restart */
diff --git a/sys/arch/vax/mscp/mscpvar.h b/sys/arch/vax/mscp/mscpvar.h
index e51901ec482..1469dc11c78 100644
--- a/sys/arch/vax/mscp/mscpvar.h
+++ b/sys/arch/vax/mscp/mscpvar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: mscpvar.h,v 1.4 2002/03/14 01:26:48 millert Exp $ */
+/* $OpenBSD: mscpvar.h,v 1.5 2002/03/15 01:20:04 millert Exp $ */
/* $NetBSD: mscpvar.h,v 1.7 1999/06/06 19:16:18 ragge Exp $ */
/*
* Copyright (c) 1996 Ludd, University of Lule}, Sweden.
@@ -81,23 +81,35 @@ struct mscp_xi {
};
struct mscp_ctlr {
- void (*mc_ctlrdone) /* controller operation complete */(struct device *);
- void (*mc_go) /* device-specific start routine */(struct device *, struct mscp_xi *);
- void (*mc_saerror) /* ctlr error handling */(struct device *, int);
+ /* controller operation complete */
+ void (*mc_ctlrdone)(struct device *);
+ /* device-specific start routine */
+ void (*mc_go)(struct device *, struct mscp_xi *);
+ /* ctlr error handling */
+ void (*mc_saerror)(struct device *, int);
};
struct mscp_softc;
struct mscp_device {
- void (*me_dgram) /* error datagram */(struct device *, struct mscp *, struct mscp_softc *);
- void (*me_iodone) /* normal I/O is done */(struct device *, struct buf *);
- int (*me_online) /* drive on line */(struct device *, struct mscp *);
- int (*me_gotstatus) /* got unit status */(struct device *, struct mscp *);
- void (*me_replace) /* replace done */(struct device *, struct mscp *);
- int (*me_ioerr) /* read or write failed */(struct device *, struct mscp *, struct buf *);
- void (*me_bb) /* B_BAD io done */(struct device *, struct mscp *, struct buf *);
- void (*me_fillin) /* Fill in mscp info for this drive */(struct buf *,struct mscp *);
- void (*me_cmddone) /* Non-data transfer operation is done */(struct device *, struct mscp *);
+ /* error datagram */
+ void (*me_dgram)(struct device *, struct mscp *, struct mscp_softc *);
+ /* normal I/O is done */
+ void (*me_iodone)(struct device *, struct buf *);
+ /* drive on line */
+ int (*me_online)(struct device *, struct mscp *);
+ /* got unit status */
+ int (*me_gotstatus)(struct device *, struct mscp *);
+ /* replace done */
+ void (*me_replace)(struct device *, struct mscp *);
+ /* read or write failed */
+ int (*me_ioerr)(struct device *, struct mscp *, struct buf *);
+ /* B_BAD io done */
+ void (*me_bb)(struct device *, struct mscp *, struct buf *);
+ /* Fill in mscp info for this drive */
+ void (*me_fillin)(struct buf *,struct mscp *);
+ /* Non-data transfer operation is done */
+ void (*me_cmddone)(struct device *, struct mscp *);
};
/*
diff --git a/sys/arch/vax/uba/ubavar.h b/sys/arch/vax/uba/ubavar.h
index a397a841486..9647a831952 100644
--- a/sys/arch/vax/uba/ubavar.h
+++ b/sys/arch/vax/uba/ubavar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ubavar.h,v 1.11 2002/03/14 01:26:48 millert Exp $ */
+/* $OpenBSD: ubavar.h,v 1.12 2002/03/15 01:20:04 millert Exp $ */
/* $NetBSD: ubavar.h,v 1.21 1999/01/19 21:04:48 ragge Exp $ */
/*
@@ -79,7 +79,7 @@ struct uba_softc {
struct pte *uh_mr; /* start of page map */
int uh_memsize; /* size of uba memory, pages */
caddr_t uh_iopage; /* start of uba io page */
- void (**uh_reset)(int);/* UBA reset function array */
+ void (**uh_reset)(int); /* UBA reset function array */
int *uh_resarg; /* array of ubareset args */
int uh_resno; /* Number of devices to reset */
short uh_mrwant; /* someone is waiting for map reg */