Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/sparc64/sparc64 clean up for fd changes.



details:   https://anonhg.NetBSD.org/src/rev/56ef1e1b3c16
branches:  trunk
changeset: 516380:56ef1e1b3c16
user:      mrg <mrg%NetBSD.org@localhost>
date:      Mon Oct 22 15:19:55 2001 +0000

description:
clean up for fd changes.

diffstat:

 sys/arch/sparc64/sparc64/genassym.c  |  10 +++++-----
 sys/arch/sparc64/sparc64/genassym.cf |  10 +++++-----
 2 files changed, 10 insertions(+), 10 deletions(-)

diffs (80 lines):

diff -r ed38e16ec1f8 -r 56ef1e1b3c16 sys/arch/sparc64/sparc64/genassym.c
--- a/sys/arch/sparc64/sparc64/genassym.c       Mon Oct 22 14:47:44 2001 +0000
+++ b/sys/arch/sparc64/sparc64/genassym.c       Mon Oct 22 15:19:55 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: genassym.c,v 1.21 2001/10/05 21:53:56 eeh Exp $ */
+/*     $NetBSD: genassym.c,v 1.22 2001/10/22 15:19:55 mrg Exp $ */
 
 /*
  * Copyright (c) 1992, 1993
@@ -72,11 +72,11 @@
 
 #include <dev/ic/am7930reg.h>
 #include <dev/ic/am7930var.h>
+
+#include <dev/sun/fdreg.h>
+#include <dev/sun/fdvar.h>
 #endif
 
-#include <sparc64/dev/fdreg.h>
-#include <sparc64/dev/fdvar.h>
-
 #include <stdio.h>
 #include <stddef.h>
 
@@ -241,6 +241,7 @@
        off("M_DATA", struct mbuf, m_data);
        off("M_LEN", struct mbuf, m_len);
 
+#if 0
        /* floppy trap handler fields */
        off("FDC_REG_MSR", struct fdcio, fdcio_reg_msr);
        off("FDC_REG_FIFO", struct fdcio, fdcio_reg_fifo);
@@ -251,7 +252,6 @@
        off("FDC_TC", struct fdcio, fdcio_tc);
        off("FDC_EVCNT", struct fdcio, fdcio_intrcnt.ev_count);
 
-#if 0
        /* db_regs structure so we can save all registers */
        off("DBR_TRAPS", struct db_regs, dbr_traps);
        off("DBR_Y", struct db_regs, dbr_y);
diff -r ed38e16ec1f8 -r 56ef1e1b3c16 sys/arch/sparc64/sparc64/genassym.cf
--- a/sys/arch/sparc64/sparc64/genassym.cf      Mon Oct 22 14:47:44 2001 +0000
+++ b/sys/arch/sparc64/sparc64/genassym.cf      Mon Oct 22 15:19:55 2001 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: genassym.cf,v 1.24 2001/10/05 21:53:56 eeh Exp $
+#      $NetBSD: genassym.cf,v 1.25 2001/10/22 15:19:55 mrg Exp $
 
 #
 # Copyright (c) 1997 The NetBSD Foundation, Inc.
@@ -108,11 +108,11 @@
 ifdef notyet
 include <dev/ic/am7930reg.h>
 include <dev/ic/am7930var.h>
+
+include <dev/sun/fdreg.h>
+include <dev/sun/fdvar.h>
 endif
 
-include <sparc64/dev/fdreg.h>
-include <sparc64/dev/fdvar.h>
-
 # general constants
 define BSD             BSD
 define USRSTACK        USRSTACK
@@ -239,6 +239,7 @@
 define M_DATA          offsetof(struct mbuf, m_data)
 define M_LEN           offsetof(struct mbuf, m_len)
 
+ifdef notyet
 # floppy trap handler fields
 define FDC_REG_MSR     offsetof(struct fdcio, fdcio_reg_msr)
 define FDC_REG_FIFO    offsetof(struct fdcio, fdcio_reg_fifo)
@@ -249,7 +250,6 @@
 define FDC_TC          offsetof(struct fdcio, fdcio_tc)
 define FDC_EVCNT       offsetof(struct fdcio, fdcio_intrcnt.ev_count)
 
-ifdef notyet
 # db_regs structure so we can save all registers
 define DBR_TRAPS       offsetof(struct db_regs, dbr_traps)
 define DBR_Y           offsetof(struct db_regs, dbr_y)



Home | Main Index | Thread Index | Old Index