]> git.pld-linux.org Git - packages/eqnx.git/blame - eqnx-misc.patch
- tabs in preamble
[packages/eqnx.git] / eqnx-misc.patch
CommitLineData
aec5aa4c 1Binary files eqnx-4.04-1/drv/eqnx.o-up and eqnx-4.04-1.new/drv/eqnx.o-up differ
2diff -uNr eqnx-4.04-1/drv/makefile eqnx-4.04-1.new/drv/makefile
3--- eqnx-4.04-1/drv/makefile Thu Feb 7 16:35:04 2002
4+++ eqnx-4.04-1.new/drv/makefile Thu Sep 12 23:39:33 2002
5@@ -87,20 +87,6 @@
6 SMP := 0
7 endif
8
9-# check that running kernel matches SMP configuration from config.h
10-ifneq ($(SMP),$(shell uname -a | grep SMP > /dev/null 2>&1 && echo 1 || echo 0))
11- $(warning ***)
12-ifeq ($(SMP),1)
13- $(warning *** Warning: kernel source configuration (SMP))
14- $(warning *** does not match running kernel (UP).)
15-else
16- $(warning *** Warning: kernel source configuration (UP))
17- $(warning *** does not match running kernel (SMP).)
18-endif
19- $(warning *** Its likely that the Equinox SST driver cannot)
20- $(warning *** be built or cannot be loaded.)
21- $(warning ***)
22-endif
23
24 ifeq ($(SMP), 1)
25 MCFLAGS += -D__SMP__
26@@ -143,12 +129,8 @@
27 endif
28
29 ifeq "$(findstring 86, $(shell uname -m))" "86"
30- MCFLAGS += -DIX86 -m486 -DISA_ENAB -DMCA_ENAB
31- NO_OPT_MCFLAGS += -DIX86 -m486 -DISA_ENAB -DMCA_ENAB
32-endif
33-ifeq "$(findstring ia64, $(shell uname -m))" "ia64"
34- MCFLAGS += -DIA64
35- NO_OPT_MCFLAGS += -DIA64
36+ MCFLAGS += -DISA_ENAB -DMCA_ENAB
37+ NO_OPT_MCFLAGS += -DISA_ENAB -DMCA_ENAB
38 endif
39 MCFLAGS2 = -DVERSNUM=\"$(REL)\"
40
41diff -uNr eqnx-4.04-1/drv/sst.c eqnx-4.04-1.new/drv/sst.c
42--- eqnx-4.04-1/drv/sst.c Thu Feb 7 17:08:50 2002
43+++ eqnx-4.04-1.new/drv/sst.c Thu Sep 12 23:39:37 2002
44@@ -760,7 +760,6 @@
45 /*(B9600 | CS8 | CREAD | HUPCL),*/
46 (B9600 | CS8 | CREAD | HUPCL | CLOCAL),
47 0,
48- 0,
49 INIT_C_CC
50 };
51
52@@ -3179,12 +3178,7 @@
53 if ((rc = remap_page_range((TASK_SIZE +
54 ((unsigned long) mpd->mpd_mem)), mpd->mpd_pmem,
55 mpd->mpd_addrsz, PAGE_IOMEM))) {
56-#ifdef IX86
57- printk("EQUINOX: Failed to map physical address space = %x, errno = %d for board %d\n",
58-#endif /* IX86 */
59-#ifdef IA64
60- printk("EQUINOX: Failed to map physical address space = %lx, errno = %d for board %d\n",
61-#endif /* IA64 */
62+ printk("EQUINOX: Failed to map physical address space = %lx, errno = %d for board %d\n",
63 (unsigned long) mpd->mpd_pmem, rc,k + 1);
64 }
65 #endif
66@@ -8877,13 +8871,7 @@
67 struct serial_struct sio;
68
69 #if DEBUG
70-#ifdef IX86
71- printk("eqnx_getserial(mpc=%lx,sp=%lx)\n", (unsigned long) mpc, (unsigned long) sp);
72-#endif /* IX86 */
73-#ifdef IA64
74 printk("eqnx_getserial(mpc=%lx,sp=%lx)\n", (unsigned long) mpc, (unsigned long) sp);
75-#endif /* IA64 */
76-
77 #endif
78
79 memset(&sio, 0, sizeof(struct serial_struct));
80@@ -8912,12 +8900,7 @@
81 int win16;
82
83 #if DEBUG
84-#ifdef IX86
85- printk("eqnx_setserial(mpc=%lx,sp=%lx)\n", (unsigned long) mpc, (unsigned long) sp);
86-#endif /* IX86 */
87-#ifdef IA64
88 printk("eqnx_setserial(mpc=%lx,sp=%lx)\n", (unsigned long) mpc, (unsigned long) sp);
89-#endif /* IA64 */
90 #endif
91
92 if (eqn_from_user(&sio, sp, sizeof(struct serial_struct)))
93diff -uNr eqnx-4.04-1/utils/makefile eqnx-4.04-1.new/utils/makefile
94--- eqnx-4.04-1/utils/makefile Thu Feb 7 16:40:36 2002
95+++ eqnx-4.04-1.new/utils/makefile Thu Sep 12 23:43:06 2002
96@@ -6,14 +6,14 @@
97 include ../version.include
98
99 HERE=$(shell pwd)
100-INC = $(HERE)/../include
101+INC = $(HERE)/../include
102 SRC = $(HERE)/../drv
103 .EXPORT_ALL_VARIABLES:
104
105 HFILES = ../include/icp.h ../include/ticp.h ../include/sst.h \
106 ../include/eqnx.h ../include/eqn.h ../include/ist.h
107
108-INCLUDES = -I$(INC)
109+INCLUDES = -I$(INC) -I/usr/include/ncurses
110 MCFLAGS = -Wall -Wstrict-prototypes -O2 -pipe -DLINUX
111 MKNOBJ = ssmkn.o
112
113diff -uNr eqnx-4.04-1/utils/ssdiag/makefile eqnx-4.04-1.new/utils/ssdiag/makefile
114--- eqnx-4.04-1/utils/ssdiag/makefile Thu Feb 7 16:41:56 2002
115+++ eqnx-4.04-1.new/utils/ssdiag/makefile Thu Sep 12 23:53:55 2002
116@@ -9,7 +9,7 @@
117 INC = $(HERE)/../../include
118 .EXPORT_ALL_VARIABLES:
119
120-INCLUDES = -I./include -I$(INC)
121+INCLUDES = -I./include -I$(INC) -I/usr/include/ncurses
122 MCFLAGS = -Wall -O2 -pipe -DLINUX -DCHRDRVR
123 MCFLAGS2 = -DVERSNUM=\"$(REL)\"
124 LIBS = -lncurses
This page took 0.074518 seconds and 4 git commands to generate.