Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/shark/include Remove #ifdef RC7500 defines.



details:   https://anonhg.NetBSD.org/src/rev/907c97b6cab3
branches:  trunk
changeset: 526355:907c97b6cab3
user:      wiz <wiz%NetBSD.org@localhost>
date:      Thu May 02 17:25:31 2002 +0000

description:
Remove #ifdef RC7500 defines.

diffstat:

 sys/arch/shark/include/io.h   |  22 +---------------------
 sys/arch/shark/include/vidc.h |  25 +------------------------
 2 files changed, 2 insertions(+), 45 deletions(-)

diffs (75 lines):

diff -r c9ce353a50fa -r 907c97b6cab3 sys/arch/shark/include/io.h
--- a/sys/arch/shark/include/io.h       Thu May 02 17:17:29 2002 +0000
+++ b/sys/arch/shark/include/io.h       Thu May 02 17:25:31 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: io.h,v 1.1 2002/02/10 01:57:22 thorpej Exp $   */
+/*     $NetBSD: io.h,v 1.2 2002/05/02 17:25:31 wiz Exp $       */
 
 /*
  * Copyright (c) 1994 Mark Brinicombe.
@@ -71,26 +71,6 @@
 
 #define PARALLEL_CONTROLLER_BASE       0xf62109e0
 
-#ifdef RC7500
-
-#define IDE_CONTROLLER_BASE2           0xf622B000
-
-/*
- * a bit low turns attached LED on
- */
-#define LEDPORT        (IO_BASE + 0x0002B060)
-#define LED0   0x01
-#define LED1   0x02
-#define LED2   0x04
-#define LED3   0x08
-#define LED4   0x10
-#define LED5   0x20
-#define LED6   0x40
-#define LED7   0x80
-#define LEDOFF 0x00
-#define LEDALL 0xFF
-#endif
-
 
 #define EASI_HW_BASE           0x08000000
 #define EASI_BASE              0xf8000000
diff -r c9ce353a50fa -r 907c97b6cab3 sys/arch/shark/include/vidc.h
--- a/sys/arch/shark/include/vidc.h     Thu May 02 17:17:29 2002 +0000
+++ b/sys/arch/shark/include/vidc.h     Thu May 02 17:25:31 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vidc.h,v 1.1 2002/02/10 01:57:47 thorpej Exp $ */
+/*     $NetBSD: vidc.h,v 1.2 2002/05/02 17:25:31 wiz Exp $     */
 
 /*
  * Copyright (c) 1994,1995 Mark Brinicombe.
@@ -109,29 +109,6 @@
 #define VIDC_BLUE(b)  (b << 16)
 #define VIDC_COL(r, g, b) (VIDC_RED(r) | VIDC_GREEN(g) | VIDC_BLUE(b))
 
-#ifdef RC7500
-/*
- * Video frequency definitions
- */
-#define VIDFREQ_25_18  0x00
-#define VIDFREQ_28_32  0x01
-#define VIDFREQ_40_00  0x02
-#define VIDFREQ_72_00  0x03
-#define VIDFREQ_50_00  0x04
-#define VIDFREQ_77_00  0x05
-#define VIDFREQ_36_00  0x06
-#define VIDFREQ_44_90  0x07
-#define VIDFREQ_130_0  0x08
-#define VIDFREQ_120_0  0x09
-#define VIDFREQ_80_00  0x0A
-#define VIDFREQ_31_50  0x0B
-#define VIDFREQ_110_0  0x0C
-#define VIDFREQ_65_00  0x0D
-#define VIDFREQ_75_00  0x0E
-#define VIDFREQ_94_50  0x0F
-#endif
-
-
 /* Sound registers */
 
 #define VIDC_SIR0    0xa0000000



Home | Main Index | Thread Index | Old Index