summaryrefslogtreecommitdiffstats
path: root/sys/pc98/cbus/30line.h
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2005-01-09 22:17:39 +0000
committerimp <imp@FreeBSD.org>2005-01-09 22:17:39 +0000
commit1a23cb536c6bb6c65d1746267ea7e19db937feed (patch)
tree5c4f6492125f91dcd8d1ed8fbe25626297cc6cc1 /sys/pc98/cbus/30line.h
parent32dbe1c9e73069f38feefbcdcc92a3388db68c0d (diff)
downloadFreeBSD-src-1a23cb536c6bb6c65d1746267ea7e19db937feed.zip
FreeBSD-src-1a23cb536c6bb6c65d1746267ea7e19db937feed.tar.gz
In my last commit, I'd assumed that LINE30 was always defined. It
turns out that LINE30_ROW was always defined, not LINE30. I confused this for LINE30 and did the unifdef -DLINE30 using that mistaken belief. This corrects that problem. Submitted by: nyan-san
Diffstat (limited to 'sys/pc98/cbus/30line.h')
-rw-r--r--sys/pc98/cbus/30line.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/sys/pc98/cbus/30line.h b/sys/pc98/cbus/30line.h
index 0c860b9..c2e0f10 100644
--- a/sys/pc98/cbus/30line.h
+++ b/sys/pc98/cbus/30line.h
@@ -77,21 +77,28 @@
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 */
@@ -118,5 +125,6 @@ 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