summaryrefslogtreecommitdiffstats
path: root/sys/pc98/cbus/30line.h
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2005-01-08 22:29:23 +0000
committerimp <imp@FreeBSD.org>2005-01-08 22:29:23 +0000
commit496874ad309d4bd2dc69b66ff348009cf15055b4 (patch)
treeca42df49c6884601a07817aeaac550903afcfcbb /sys/pc98/cbus/30line.h
parentbec0cf2f38082752224bd23988d1b2c5ed6185e1 (diff)
downloadFreeBSD-src-496874ad309d4bd2dc69b66ff348009cf15055b4.zip
FreeBSD-src-496874ad309d4bd2dc69b66ff348009cf15055b4.tar.gz
Merge module.h into 30line.h and remove it. It lacked a
copyright/license header and was only used by 30line.h. It appears that the copyright/license in 30line.h covers the old contents module.h anyway, so this simplifies things a little while cleaning up one obscure potential license confusion... Revired by: nyan-san
Diffstat (limited to 'sys/pc98/cbus/30line.h')
-rw-r--r--sys/pc98/cbus/30line.h35
1 files changed, 5 insertions, 30 deletions
diff --git a/sys/pc98/cbus/30line.h b/sys/pc98/cbus/30line.h
index 5f81e69..0c860b9 100644
--- a/sys/pc98/cbus/30line.h
+++ b/sys/pc98/cbus/30line.h
@@ -31,32 +31,15 @@
#ifndef __PC98_PC98_30LINE_H__
#define __PC98_PC98_30LINE_H__
-#include <pc98/pc98/module.h>
-
-#ifndef LINE30_ROW
-#define LINE30_ROW 30
-#endif
-
-#define _CR 80
-#ifndef _VS
-#define _VS 2
-#endif
-#ifndef _HS
+#define LINE30_ROW 30
#define _HS 1 + 1
-#endif
-#ifndef _HFP
+#define _VS 2
#define _HFP 3 + 1
-#endif
-#ifndef _HBP
#define _HBP 14 + 1
-#endif
-#ifndef _VFP
-#define _VFP 11
-#endif
-#ifndef _VBP
-#define _VBP 44
-#endif
+#define _VFP 11
+#define _VBP 44
+#define _CR 80
#define _LF LINE30_ROW*16
#define _GDC_RESET 0x00
@@ -94,28 +77,21 @@
static void master_gdc_cmd(unsigned int);
static void master_gdc_prm(unsigned int);
static void master_gdc_word_prm(unsigned int);
-#ifdef LINE30
static void master_gdc_fifo_empty(void);
-#endif
static void master_gdc_wait_vsync(void);
static void gdc_cmd(unsigned int);
-#ifdef LINE30
static void gdc_prm(unsigned int);
static void gdc_word_prm(unsigned int);
static void gdc_fifo_empty(void);
-#endif
static void gdc_wait_vsync(void);
-#ifdef LINE30
static int check_gdc_clock(void);
static int gdc_INFO = _25L;
-#endif
static int gdc_FH = _24KHZ;
static void initialize_gdc(unsigned int, int);
-#ifdef LINE30
static unsigned int master_param[2][2][8] = {
{{78, 8, 7, 9, 7, 7, 25, 400}, /* 400/24k */
{_CR-2, _VS, _HS-1, _HFP-1, _HBP-1, _VFP, _VBP, _LF}}, /* 480/24k */
@@ -142,6 +118,5 @@ static unsigned int slave_param[2][6][8] = {
static int SlavePCH[2] = {40,80};
static int MasterPCH = 80;
static int SlaveScrlLF[3] = {400,400,_LF};
-#endif
#endif /* __PC98_PC98_30LINE_H__ */
OpenPOWER on IntegriCloud