Tue Jan 22 15:48:40 2013 UTC ()
Whitespace cleanup.


(tsutsui)
diff -r1.8 -r1.9 src/sys/arch/luna68k/stand/boot/Makefile
diff -r1.8 -r1.9 src/sys/arch/luna68k/stand/boot/locore.S
diff -r1.8 -r1.9 src/sys/arch/luna68k/stand/boot/samachdep.h
diff -r1.6 -r1.7 src/sys/arch/luna68k/stand/boot/autoconf.c
diff -r1.2 -r1.3 src/sys/arch/luna68k/stand/boot/disklabel.c
diff -r1.2 -r1.3 src/sys/arch/luna68k/stand/boot/if_le.c
diff -r1.2 -r1.3 src/sys/arch/luna68k/stand/boot/omron_disklabel.h
diff -r1.2 -r1.3 src/sys/arch/luna68k/stand/boot/prf.c
diff -r1.3 -r1.4 src/sys/arch/luna68k/stand/boot/parse.c
diff -r1.3 -r1.4 src/sys/arch/luna68k/stand/boot/sc.c
diff -r1.1 -r1.2 src/sys/arch/luna68k/stand/boot/scsireg.h
diff -r1.4 -r1.5 src/sys/arch/luna68k/stand/boot/sd.c

cvs diff -r1.8 -r1.9 src/sys/arch/luna68k/stand/boot/Makefile (expand / switch to context diff)
--- src/sys/arch/luna68k/stand/boot/Makefile 2013/01/21 11:58:12 1.8
+++ src/sys/arch/luna68k/stand/boot/Makefile 2013/01/22 15:48:40 1.9
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.8 2013/01/21 11:58:12 tsutsui Exp $
+#	$NetBSD: Makefile,v 1.9 2013/01/22 15:48:40 tsutsui Exp $
 #	@(#)Makefile	8.2 (Berkeley) 8/15/93
 
 NOMAN= # defined
@@ -37,7 +37,7 @@
 SRCS+=	devopen.c
 SRCS+=	conf.c
 SRCS+=	machdep.c
-SRCS+=	getline.c parse.c 
+SRCS+=	getline.c parse.c
 SRCS+=	boot.c
 SRCS+=	cons.c prf.c awaitkey.c
 SRCS+=	romcons.c

cvs diff -r1.8 -r1.9 src/sys/arch/luna68k/stand/boot/locore.S (expand / switch to context diff)
--- src/sys/arch/luna68k/stand/boot/locore.S 2013/01/21 11:58:12 1.8
+++ src/sys/arch/luna68k/stand/boot/locore.S 2013/01/22 15:48:40 1.9
@@ -1,4 +1,4 @@
-/*	$NetBSD: locore.S,v 1.8 2013/01/21 11:58:12 tsutsui Exp $	*/
+/*	$NetBSD: locore.S,v 1.9 2013/01/22 15:48:40 tsutsui Exp $	*/
 
 /*
  * Copyright (c) 1992 OMRON Corporation.
@@ -287,7 +287,7 @@
 
 /*
  * Trap/interrupt vector routines
- */ 
+ */
 
 ENTRY_NOPROFILE(buserr)
 	tstl	_C_LABEL(nofault)	| device probe?

cvs diff -r1.8 -r1.9 src/sys/arch/luna68k/stand/boot/samachdep.h (expand / switch to context diff)
--- src/sys/arch/luna68k/stand/boot/samachdep.h 2013/01/21 11:58:12 1.8
+++ src/sys/arch/luna68k/stand/boot/samachdep.h 2013/01/22 15:48:40 1.9
@@ -1,4 +1,4 @@
-/*	$NetBSD: samachdep.h,v 1.8 2013/01/21 11:58:12 tsutsui Exp $	*/
+/*	$NetBSD: samachdep.h,v 1.9 2013/01/22 15:48:40 tsutsui Exp $	*/
 
 /*
  * Copyright (c) 1982, 1990, 1993
@@ -127,7 +127,7 @@
 bool lance_init(void *);
 int lance_get(void *, void *, size_t);
 bool lance_put(void *, void *, size_t);
-bool lance_end(void *); 
+bool lance_end(void *);
 int lance_intr(void);
 
 /* locore.S */

cvs diff -r1.6 -r1.7 src/sys/arch/luna68k/stand/boot/autoconf.c (expand / switch to context diff)
--- src/sys/arch/luna68k/stand/boot/autoconf.c 2013/01/14 12:28:11 1.6
+++ src/sys/arch/luna68k/stand/boot/autoconf.c 2013/01/22 15:48:40 1.7
@@ -1,4 +1,4 @@
-/*	$NetBSD: autoconf.c,v 1.6 2013/01/14 12:28:11 tsutsui Exp $	*/
+/*	$NetBSD: autoconf.c,v 1.7 2013/01/22 15:48:40 tsutsui Exp $	*/
 
 /*
  * Copyright (c) 1992 OMRON Corporation.
@@ -70,7 +70,7 @@
  *	@(#)autoconf.c	8.1 (Berkeley) 6/10/93
  */
 
-/* 
+/*
  * autoconf.c -- Determine mass storage and memory configuration for a machine.
  *          by A.Fujita, NOV-30-1991
  *

cvs diff -r1.2 -r1.3 src/sys/arch/luna68k/stand/boot/disklabel.c (expand / switch to context diff)
--- src/sys/arch/luna68k/stand/boot/disklabel.c 2013/01/10 16:20:11 1.2
+++ src/sys/arch/luna68k/stand/boot/disklabel.c 2013/01/22 15:48:40 1.3
@@ -1,4 +1,4 @@
-/*	$NetBSD: disklabel.c,v 1.2 2013/01/10 16:20:11 tsutsui Exp $	*/
+/*	$NetBSD: disklabel.c,v 1.3 2013/01/22 15:48:40 tsutsui Exp $	*/
 
 /*
  * Copyright (c) 1992 OMRON Corporation.
@@ -391,7 +391,7 @@
 			else
 			    cnputc(' ');
 			printf("- %d",
-			    (pp->p_offset + 
+			    (pp->p_offset +
 			    pp->p_size + lp->d_secpercyl - 1) /
 			    lp->d_secpercyl - 1);
 			if (pp->p_size % lp->d_secpercyl)

cvs diff -r1.2 -r1.3 src/sys/arch/luna68k/stand/boot/if_le.c (expand / switch to context diff)
--- src/sys/arch/luna68k/stand/boot/if_le.c 2013/01/20 13:35:43 1.2
+++ src/sys/arch/luna68k/stand/boot/if_le.c 2013/01/22 15:48:40 1.3
@@ -1,4 +1,4 @@
-/* $NetBSD: if_le.c,v 1.2 2013/01/20 13:35:43 tsutsui Exp $ */
+/* $NetBSD: if_le.c,v 1.3 2013/01/22 15:48:40 tsutsui Exp $ */
 
 /*
  * Copyright (c) 2013 Izumi Tsutsui.  All rights reserved.
@@ -216,13 +216,13 @@
 	void *cookie = dif->dif_private;
 #ifdef DEBUG
  	struct ether_header *eh;
- 
+
  	eh = pkt;
  	printf("dst:  %s\n", ether_sprintf(eh->ether_dhost));
  	printf("src:  %s\n", ether_sprintf(eh->ether_shost));
  	printf("type: 0x%x\n", eh->ether_type & 0xffff);
 #endif
- 
+
 	return lance_put(cookie, pkt, len) ? len : -1;
 }
 
@@ -255,7 +255,7 @@
 			u = (u < 'A') ? u & 0xf : u - 'A' + 10;
 			l = ea[1];
 			l = (l < 'A') ? l & 0xf : l - 'A' + 10;
-                
+
 			ether[i] = l | (u << 4);
 			ea += 2;
 		}

cvs diff -r1.2 -r1.3 src/sys/arch/luna68k/stand/boot/omron_disklabel.h (expand / switch to context diff)
--- src/sys/arch/luna68k/stand/boot/omron_disklabel.h 2013/01/10 16:20:11 1.2
+++ src/sys/arch/luna68k/stand/boot/omron_disklabel.h 2013/01/22 15:48:40 1.3
@@ -1,4 +1,4 @@
-/*	$NetBSD: omron_disklabel.h,v 1.2 2013/01/10 16:20:11 tsutsui Exp $	*/
+/*	$NetBSD: omron_disklabel.h,v 1.3 2013/01/22 15:48:40 tsutsui Exp $	*/
 
 /*
  * Copyright (c) 1992 OMRON Corporation.
@@ -75,7 +75,7 @@
 
 
 #define DKL_MAGIC	0xDABE 			/* Disk label Magic number */
-#define NLPART		8			/* # of logical partition */ 
+#define NLPART		8			/* # of logical partition */
 
 struct scd_dk_label {
 	char	dkl_asciilabel[128];		/* for compatibility */

cvs diff -r1.2 -r1.3 src/sys/arch/luna68k/stand/boot/prf.c (expand / switch to context diff)
--- src/sys/arch/luna68k/stand/boot/prf.c 2013/01/21 11:58:12 1.2
+++ src/sys/arch/luna68k/stand/boot/prf.c 2013/01/22 15:48:40 1.3
@@ -1,4 +1,4 @@
-/*	$NetBSD: prf.c,v 1.2 2013/01/21 11:58:12 tsutsui Exp $	*/
+/*	$NetBSD: prf.c,v 1.3 2013/01/22 15:48:40 tsutsui Exp $	*/
 
 /*
  * Copyright (c) 1982, 1986, 1990, 1993
@@ -56,8 +56,8 @@
 	int c;
 
 	if ((c = cngetc()) == 0)
-        	return 0;
-        
+		return 0;
+
 	if (c == '\r')
 		c = '\n';
 	else if (c == ('c'&037)) {

cvs diff -r1.3 -r1.4 src/sys/arch/luna68k/stand/boot/parse.c (expand / switch to context diff)
--- src/sys/arch/luna68k/stand/boot/parse.c 2013/01/21 11:58:12 1.3
+++ src/sys/arch/luna68k/stand/boot/parse.c 2013/01/22 15:48:40 1.4
@@ -1,4 +1,4 @@
-/*	$NetBSD: parse.c,v 1.3 2013/01/21 11:58:12 tsutsui Exp $	*/
+/*	$NetBSD: parse.c,v 1.4 2013/01/22 15:48:40 tsutsui Exp $	*/
 
 /*
  * Copyright (c) 1992 OMRON Corporation.
@@ -152,7 +152,7 @@
 };
 
 
-int 
+int
 parse(int argc, char *argv[])
 {
 	int i, status = ST_NOTFOUND;

cvs diff -r1.3 -r1.4 src/sys/arch/luna68k/stand/boot/sc.c (expand / switch to context diff)
--- src/sys/arch/luna68k/stand/boot/sc.c 2013/01/14 01:37:57 1.3
+++ src/sys/arch/luna68k/stand/boot/sc.c 2013/01/22 15:48:40 1.4
@@ -1,4 +1,4 @@
-/*	$NetBSD: sc.c,v 1.3 2013/01/14 01:37:57 tsutsui Exp $	*/
+/*	$NetBSD: sc.c,v 1.4 2013/01/22 15:48:40 tsutsui Exp $	*/
 
 /*
  * Copyright (c) 1992 OMRON Corporation.
@@ -569,13 +569,13 @@
 			}
 			hs->sc_target = i;
 			*(hs->sc_lock) = SC_IN_PROGRESS;
-		} else 
+		} else
 			goto abort;
 	} else if (ints & INTS_DISCON) {
 		if ((hs->sc_msg[0] == MSG_CMD_COMPLETE) || (hs->sc_msg[0] == MSG_DISCONNECT)) {
 			hs->sc_phase  = BUS_FREE_PHASE;
 			hs->sc_target = SCSI_ID;
-			if (hs->sc_msg[0] == MSG_CMD_COMPLETE) 
+			if (hs->sc_msg[0] == MSG_CMD_COMPLETE)
 				/* SCSI IO complete */
 				*(hs->sc_lock) = SC_IO_COMPLETE;
 			else

cvs diff -r1.1 -r1.2 src/sys/arch/luna68k/stand/boot/scsireg.h (expand / switch to context diff)
--- src/sys/arch/luna68k/stand/boot/scsireg.h 2013/01/05 17:44:24 1.1
+++ src/sys/arch/luna68k/stand/boot/scsireg.h 2013/01/22 15:48:40 1.2
@@ -1,4 +1,4 @@
-/*	$NetBSD: scsireg.h,v 1.1 2013/01/05 17:44:24 tsutsui Exp $	*/
+/*	$NetBSD: scsireg.h,v 1.2 2013/01/22 15:48:40 tsutsui Exp $	*/
 
 /*
  * Copyright (c) 1990, 1992, 1993
@@ -286,7 +286,7 @@
 	u_int	number_blocks	:24;
 	u_int	rsvd3		: 8;
 	u_int	block_length	:24;
-}; 
+};
 
 struct scsi_modesense_hdr {
 	u_char	len;
@@ -298,14 +298,14 @@
 	u_int	number_blocks	:24;
 	u_int	rsvd2		: 8;
 	u_int	block_length	:24;
-}; 
+};
 
 /*
  * Mode Select / Mode sense "pages"
  */
 
 /*
- * Page One - Error Recovery Parameters 
+ * Page One - Error Recovery Parameters
  */
 struct scsi_err_recovery {
 	u_char	page_savable	: 1;	/* save parameters */
@@ -373,7 +373,7 @@
 };
 
 /*
- * Page Four - Rigid Disk Drive Geometry Parameters 
+ * Page Four - Rigid Disk Drive Geometry Parameters
  */
 struct scsi_geometry {
 	u_char	page_savable	: 1;	/* save parameters */

cvs diff -r1.4 -r1.5 src/sys/arch/luna68k/stand/boot/sd.c (expand / switch to context diff)
--- src/sys/arch/luna68k/stand/boot/sd.c 2013/01/21 13:21:04 1.4
+++ src/sys/arch/luna68k/stand/boot/sd.c 2013/01/22 15:48:40 1.5
@@ -1,4 +1,4 @@
-/*	$NetBSD: sd.c,v 1.4 2013/01/21 13:21:04 tsutsui Exp $	*/
+/*	$NetBSD: sd.c,v 1.5 2013/01/22 15:48:40 tsutsui Exp $	*/
 
 /*
  * Copyright (c) 1992 OMRON Corporation.
@@ -104,7 +104,7 @@
 	int	unit;		/* drive number */
 	int	part;		/* partition */
 };
- 
+
 static int sdinit(void *);
 static int sdident(struct sd_softc *, struct hp_device *);