Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/hpcsh/dev/hd6446x Drop unnecessary include. Add fe...



details:   https://anonhg.NetBSD.org/src/rev/73bcffd8d840
branches:  trunk
changeset: 586406:73bcffd8d840
user:      uwe <uwe%NetBSD.org@localhost>
date:      Sun Dec 18 21:25:55 2005 +0000

description:
Drop unnecessary include.  Add few blank lines for better readability.

diffstat:

 sys/arch/hpcsh/dev/hd6446x/hd6446x_subr.S |  8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diffs (40 lines):

diff -r 7cd1aa68a671 -r 73bcffd8d840 sys/arch/hpcsh/dev/hd6446x/hd6446x_subr.S
--- a/sys/arch/hpcsh/dev/hd6446x/hd6446x_subr.S Sun Dec 18 21:20:48 2005 +0000
+++ b/sys/arch/hpcsh/dev/hd6446x/hd6446x_subr.S Sun Dec 18 21:25:55 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: hd6446x_subr.S,v 1.2 2002/05/09 12:41:09 uch Exp $     */
+/*     $NetBSD: hd6446x_subr.S,v 1.3 2005/12/18 21:25:55 uwe Exp $     */
 
 /*-
  * Copyright (c) 2002 The NetBSD Foundation, Inc.
@@ -37,7 +37,6 @@
  */
 
 #include <sh3/asm.h>
-#include <sh3/locore.h>
 #include <hpcsh/dev/hd6446x/hd6446xintcreg.h>
 
 /*
@@ -67,11 +66,13 @@
        mov.l   3f,     r1
        mov.w   r2,     @r1     /* Set new interrupt mask to HD6446x */
 1:     rts
-        nop    /* return (SR & 0xf0) */
+        nop                    /* return (SR & 0xf0) */
+
        .align  2
 2:     .long   _C_LABEL(hd6446x_imask)
 3:     .long   HD6446X_NIMR
 
+
 /*
  * int hd6446x_intr_resume(int s):
  *     Set SR.IMASK and HD6446x interrupt mask register to
@@ -95,6 +96,7 @@
        ldc     r4,     sr      /* Set new IMASK to SR */
        rts
         and    r2,     r0      /* return (SR & 0xf0) */
+
        .align  2
 2:     .long   _C_LABEL(hd6446x_imask)
 3:     .long   HD6446X_NIMR



Home | Main Index | Thread Index | Old Index