Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/amiga/dev Nuke unused clock struct, was used by a2k...



details:   https://anonhg.NetBSD.org/src/rev/08d254f7fb38
branches:  trunk
changeset: 782691:08d254f7fb38
user:      rkujawa <rkujawa%NetBSD.org@localhost>
date:      Wed Nov 14 13:36:02 2012 +0000

description:
Nuke unused clock struct, was used by a2kbbc before conversion to MI msm6242b
driver.

diffstat:

 sys/arch/amiga/dev/rtc.h |  32 +-------------------------------
 1 files changed, 1 insertions(+), 31 deletions(-)

diffs (53 lines):

diff -r f99e425cb628 -r 08d254f7fb38 sys/arch/amiga/dev/rtc.h
--- a/sys/arch/amiga/dev/rtc.h  Wed Nov 14 09:22:58 2012 +0000
+++ b/sys/arch/amiga/dev/rtc.h  Wed Nov 14 13:36:02 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rtc.h,v 1.9 2002/05/14 00:08:22 matt Exp $     */
+/*     $NetBSD: rtc.h,v 1.10 2012/11/14 13:36:02 rkujawa Exp $ */
 
 /*
  * Copyright (c) 1994 Christian E. Hopps
@@ -29,7 +29,6 @@
  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  *
- * information on A2000 clock from Harald Backert.
  * information on A3000 clock from Holger Emden.
  */
 #ifndef _RTCVAR_H_
@@ -41,35 +40,6 @@
 extern int (*ugettod)(struct timeval *);
 extern int (*usettod)(struct timeval *);
 
-struct rtclock2000 {
-       u_int  :28, second2:4;  /* lower digit */
-       u_int  :28, second1:4;  /* upper digit */
-       u_int  :28, minute2:4;  /* lower digit */
-       u_int  :28, minute1:4;  /* upper digit */
-       u_int  :28, hour2:4;    /* lower digit */
-       u_int  :28, hour1:4;    /* upper digit */
-       u_int  :28, day2:4;     /* lower digit */
-       u_int  :28, day1:4;     /* upper digit */
-       u_int  :28, month2:4;   /* lower digit */
-       u_int  :28, month1:4;   /* upper digit */
-       u_int  :28, year2:4;    /* lower digit */
-       u_int  :28, year1:4;    /* upper digit */
-       u_int  :28, weekday:4;  /* weekday */
-       u_int  :28, control1:4; /* control-byte 1 */
-       u_int  :28, control2:4; /* control-byte 2 */
-       u_int  :28, control3:4; /* control-byte 3 */
-};
-
-/*
- * commands written to control1, HOLD before reading the clock,
- * FREE after done reading.
- */
-
-#define A2CONTROL1_HOLD                (1<<0)
-#define A2CONTROL1_BUSY                (1<<1)
-#define A2CONTROL3_24HMODE     (1<<2)
-#define A2HOUR1_PM             (1<<2)
-
 struct rtclock3000 {
        u_int  :28, second2:4;  /* 0x03  lower digit */
        u_int  :28, second1:4;  /* 0x07  upper digit */



Home | Main Index | Thread Index | Old Index