diff options
Diffstat (limited to 'sys/arch/vax/stand')
-rw-r--r-- | sys/arch/vax/stand/boot/if_qe.c | 4 | ||||
-rw-r--r-- | sys/arch/vax/stand/boot/mfm.c | 8 | ||||
-rw-r--r-- | sys/arch/vax/stand/boot/ra.c | 4 | ||||
-rw-r--r-- | sys/arch/vax/stand/boot/rom.c | 6 | ||||
-rw-r--r-- | sys/arch/vax/stand/boot/tmscp.c | 8 | ||||
-rw-r--r-- | sys/arch/vax/stand/xxboot/bootxx.c | 14 |
6 files changed, 22 insertions, 22 deletions
diff --git a/sys/arch/vax/stand/boot/if_qe.c b/sys/arch/vax/stand/boot/if_qe.c index 247f82a4728..a1c1c248907 100644 --- a/sys/arch/vax/stand/boot/if_qe.c +++ b/sys/arch/vax/stand/boot/if_qe.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_qe.c,v 1.1 2000/04/27 02:26:25 bjc Exp $ */ +/* $OpenBSD: if_qe.c,v 1.2 2002/03/14 03:16:02 millert Exp $ */ /* $NetBSD: if_qe.c,v 1.2 1999/06/30 18:19:26 ragge Exp $ */ /* @@ -218,7 +218,7 @@ retry: if (len == 0) goto retry; - bcopy((void*)sc->qein,pkt,len); + bcopy((void *)sc->qein,pkt,len); end: diff --git a/sys/arch/vax/stand/boot/mfm.c b/sys/arch/vax/stand/boot/mfm.c index 33fbbbc3065..2e22bda7139 100644 --- a/sys/arch/vax/stand/boot/mfm.c +++ b/sys/arch/vax/stand/boot/mfm.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mfm.c,v 1.1 2000/04/27 02:26:25 bjc Exp $ */ +/* $OpenBSD: mfm.c,v 1.2 2002/03/14 03:16:02 millert Exp $ */ /* $NetBSD: mfm.c,v 1.2 1997/03/15 13:04:28 ragge Exp $ */ /* * Copyright (c) 1996 Ludd, University of Lule}, Sweden. @@ -78,9 +78,9 @@ char io_buf[DEV_BSIZE]; * These should probably be somewhere else, but ka410 is the only * one with mfm disks anyway... */ -volatile unsigned char *ka410_intreq = (void*)0x2008000f; -volatile unsigned char *ka410_intclr = (void*)0x2008000f; -volatile unsigned char *ka410_intmsk = (void*)0x2008000c; +volatile unsigned char *ka410_intreq = (void *)0x2008000f; +volatile unsigned char *ka410_intclr = (void *)0x2008000f; +volatile unsigned char *ka410_intmsk = (void *)0x2008000c; static volatile struct hdc9224_DKCreg *dkc = (void *) 0x200c0000; static volatile struct hdc9224_UDCreg sreg; /* input */ diff --git a/sys/arch/vax/stand/boot/ra.c b/sys/arch/vax/stand/boot/ra.c index 96be3fcfc00..a0eeaa4cfb0 100644 --- a/sys/arch/vax/stand/boot/ra.c +++ b/sys/arch/vax/stand/boot/ra.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ra.c,v 1.1 2000/04/27 02:26:25 bjc Exp $ */ +/* $OpenBSD: ra.c,v 1.2 2002/03/14 03:16:02 millert Exp $ */ /* $NetBSD: ra.c,v 1.4 1999/08/07 11:19:04 ragge Exp $ */ /* * Copyright (c) 1995 Ludd, University of Lule}, Sweden. @@ -111,7 +111,7 @@ raopen(f, adapt, ctlr, unit, part) nisse[494] = PG_V | (((u_int)&uda) >> 9); nisse[495] = nisse[494] + 1; udacsr = (int)uioaddr[adapt] + udaaddr[ctlr]; - ubauda = (void*)0x3dc00 + (((u_int)(&uda))&0x1ff); + ubauda = (void *)0x3dc00 + (((u_int)(&uda))&0x1ff); johan = (((u_int)ubauda) & 0xffff) + 8; johan2 = 3; ra->ra_ip = (short *)udacsr; diff --git a/sys/arch/vax/stand/boot/rom.c b/sys/arch/vax/stand/boot/rom.c index 21494022eb1..2d3f0c3a6b5 100644 --- a/sys/arch/vax/stand/boot/rom.c +++ b/sys/arch/vax/stand/boot/rom.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rom.c,v 1.2 2000/10/04 04:48:54 bjc Exp $ */ +/* $OpenBSD: rom.c,v 1.3 2002/03/14 03:16:02 millert Exp $ */ /* $NetBSD: rom.c,v 1.1 1996/08/02 11:22:21 ragge Exp $ */ /* * Copyright (c) 1996 Ludd, University of Lule}, Sweden. @@ -73,7 +73,7 @@ romopen(f, adapt, ctlr, unit, part) int i,err; bootregs[11] = XXRPB; - bqo = (void*)rpb->iovec; + bqo = (void *)rpb->iovec; if (rpb->unit > 0 && (rpb->unit % 100) == 0) { printf ("changing rpb->unit from %d ", rpb->unit); @@ -93,7 +93,7 @@ romopen(f, adapt, ctlr, unit, part) msg = getdisklabel(io_buf+LABELOFFSET, lp); if (msg) printf("getdisklabel: %s\n",msg); - f->f_devdata = (void*)rsc; + f->f_devdata = (void *)rsc; return(0); } diff --git a/sys/arch/vax/stand/boot/tmscp.c b/sys/arch/vax/stand/boot/tmscp.c index 5dbd5aef582..ec0f185a01c 100644 --- a/sys/arch/vax/stand/boot/tmscp.c +++ b/sys/arch/vax/stand/boot/tmscp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tmscp.c,v 1.1 2000/04/27 02:26:25 bjc Exp $ */ +/* $OpenBSD: tmscp.c,v 1.2 2002/03/14 03:16:02 millert Exp $ */ /* $NetBSD: tmscp.c,v 1.3 1999/06/30 18:19:26 ragge Exp $ */ /* * Copyright (c) 1995 Ludd, University of Lule}, Sweden. @@ -95,11 +95,11 @@ tmscpopen(f, adapt, ctlr, unit, part) ra->udaddr=uioaddr[adapt]+tmsaddr; ra->ubaddr=(int)ubaaddr[adapt]; ra->unit=unit; - udacsr=(void*)ra->udaddr; + udacsr=(void *)ra->udaddr; nisse=((u_int *)ubaaddr[adapt]) + 512; nisse[494]=PG_V|(((u_int)&uda)>>9); nisse[495]=nisse[494]+1; - ubauda=(void*)0x3dc00+(((u_int)(&uda))&0x1ff); + ubauda=(void *)0x3dc00+(((u_int)(&uda))&0x1ff); /* * Init of this tmscp ctlr. @@ -165,7 +165,7 @@ tmscpstrategy(ra, func, dblk, size, buf, rsize) u_int size, *rsize; { u_int i,j,pfnum, mapnr, nsize, bn, cn, sn, tn; - volatile struct udadevice *udadev=(void*)ra->udaddr; + volatile struct udadevice *udadev=(void *)ra->udaddr; volatile u_int *ptmapp = (u_int *)ra->ubaddr + 512; volatile int hej; diff --git a/sys/arch/vax/stand/xxboot/bootxx.c b/sys/arch/vax/stand/xxboot/bootxx.c index e91679f2a9e..30007379ea1 100644 --- a/sys/arch/vax/stand/xxboot/bootxx.c +++ b/sys/arch/vax/stand/xxboot/bootxx.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bootxx.c,v 1.3 2002/03/14 01:26:47 millert Exp $ */ +/* $OpenBSD: bootxx.c,v 1.4 2002/03/14 03:16:02 millert Exp $ */ /* $NetBSD: bootxx.c,v 1.2 1999/10/23 14:40:38 ragge Exp $ */ /*- * Copyright (c) 1982, 1986 The Regents of the University of California. @@ -118,11 +118,11 @@ Xmain() /* * now relocate rpb/bqo (which are used by ROM-routines) */ - rpb = (void*)XXRPB; - bcopy ((void*)bootregs[11], rpb, 512); + rpb = (void *)XXRPB; + bcopy ((void *)bootregs[11], rpb, 512); rpb->rpb_base = rpb; - bqo = (void*)(512+(int)rpb); - bcopy ((void*)rpb->iovec, bqo, rpb->iovecsz); + bqo = (void *)(512+(int)rpb); + bcopy ((void *)rpb->iovec, bqo, rpb->iovecsz); rpb->iovec = (int)bqo; bootregs[11] = (int)rpb; bootdev = rpb->devtyp; @@ -431,7 +431,7 @@ hpread(block, size, buf) char *buf; { volatile struct mba_regs *mr = (void *) bootregs[1]; - volatile struct hp_drv *hd = (void*)&mr->mba_md[bootregs[3]]; + volatile struct hp_drv *hd = (void *)&mr->mba_md[bootregs[3]]; struct disklabel *dp = &lp; u_int pfnum, nsize, mapnr, bn, cn, sn, tn; @@ -457,7 +457,7 @@ hpread(block, size, buf) } extern char end[]; -static char *top = (char*)end; +static char *top = (char *)end; void * alloc(size) |