From: Henrique Gobbi <henrique2.gobbi@cyclades.com>
To: marcelo@conectiva.com.br
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH] - PC300 driver for kernel 2.4 (1/6)
Date: Tue, 04 Mar 2003 15:09:10 +0000 [thread overview]
Message-ID: <3E64C196.9070105@cyclades.com> (raw)
Hello Marcelo !!!
Please apply this patch that includes support to all Cyclades-PC300
cards on the kernel 2.4. The patch was made against the kernel
2.4.21-pre5 (2.4.20 with the 2.4.21-pre5 patch). If you have any doubt
or problem regarding this patch please let me know. If you're not the
one who should be receiving this patch I'm sorry, please refer me to
whoever takes care of the wan driver.
As the patch is big it's split into 6 e-mails.
This is the part 1/6
diff -ruN linux-2.4.21-pre5.orig/Documentation/Configure.help
linux-2.4.21-pre5/Documentation/Configure.help
--- linux-2.4.21-pre5.orig/Documentation/Configure.help Thu Feb 27 09:21:21 2003
+++ linux-2.4.21-pre5/Documentation/Configure.help Thu Feb 27 09:08:33 2003
@@ -17279,6 +17279,27 @@
If you want to compile this driver as a module, say M here and read
<file:Documentation/modules.txt>. The module will be called pcxx.o.
+Cyclades-PC300 support
+CONFIG_PC300
+ This is a driver for the Cyclades-PC300 synchronous communication
+ boards. These boards provide synchronous serial interfaces to your
+ Linux box (interfaces currently available are RS-232/V.35, X.21 and
+ T1/E1). If you wish to support Multilink PPP, please select the
+ option below this one and read the file README.mlppp provided by PC300
+ package.
+
+ If you want to compile this as a module ( = code which can be
+ inserted in and removed from the running kernel whenever you want),
+ say M here and read Documentation/modules.txt. The module will be
+ called pc300.o.
+
+ If you haven't heard about it, it's safe to say N.
+
+Cyclades-PC300 Sync TTY (to MLPPP) support
+CONFIG_PC300_MLPPP
+ Say 'Y' to this option if you are planning to use Multilink PPP over the
+ PC300 synchronous communication boards.
+
SDL RISCom/8 card support
CONFIG_RISCOM8
This is a driver for the SDL Communications RISCom/8 multiport card,
diff -ruN linux-2.4.21-pre5.orig/drivers/net/wan/Config.in
linux-2.4.21-pre5/drivers/net/wan/Config.in
--- linux-2.4.21-pre5.orig/drivers/net/wan/Config.in Thu Feb 27 09:21:31 2003
+++ linux-2.4.21-pre5/drivers/net/wan/Config.in Thu Feb 27 09:08:33 2003
@@ -76,6 +76,18 @@
else
comment ' X.25/LAPB support is disabled'
fi
+ if [ "$CONFIG_PCI" != "n" ]; then
+
dep_tristate ' Cyclades-PC300 support (RS-232/V.35, X.21, T1/E1
boards)' CONFIG_PC300 $CONFIG_HDLC
+
if [ "$CONFIG_PC300" != "n" ]; then
+
if ["$CONFIG_PPP" != "n" -a "$CONFIG_PPP_MULTLINK" != "n" -a
"$CONFIG_PPP_SYNCTTY" != "n" -a "$CONFIG_HDLC_PPP" = "y"];
+
then
+
bool ' Cyclades-PC300 MLPPP support' CONFIG_PC300_MLPPP
+
else
+
comment ' Cyclades-PC300 MLPPP support is disabled. You have to enable
PPP, PPP_MULTILINK'
+
comment ' PPP_SYNCTTY and HDLC_PPP to use this package.'
+
fi
+
fi
+ fi
dep_tristate ' SDL RISCom/N2 support' CONFIG_N2 $CONFIG_HDLC
dep_tristate ' Moxa C101 support' CONFIG_C101 $CONFIG_HDLC
dep_tristate ' FarSync T-Series support' CONFIG_FARSYNC
$CONFIG_HDLC
diff -ruN linux-2.4.21-pre5.orig/drivers/net/wan/Makefile
linux-2.4.21-pre5/drivers/net/wan/Makefile
--- linux-2.4.21-pre5.orig/drivers/net/wan/Makefile Thu Feb 27 09:21:31 2003
+++ linux-2.4.21-pre5/drivers/net/wan/Makefile Thu Feb 27 09:08:33 2003
@@ -9,7 +9,7 @@
O_TARGET := wan.o
-export-objs = z85230.o syncppp.o comx.o sdladrv.o cycx_drv.o hdlc_generic.o
+export-objs = z85230.o syncppp.o comx.o sdladrv.o cycx_drv.o
hdlc_generic.o pc300_drv.o
list-multi = wanpipe.o cyclomx.o
wanpipe-objs = sdlamain.o sdla_ft1.o $(wanpipe-y)
@@ -30,6 +30,8 @@
hdlc-$(CONFIG_HDLC_X25) += hdlc_x25.o
hdlc-objs
:= $(hdlc-y)
+pc300-$(CONFIG_PC300_MLPPP)
+= pc300_tty.o
+
obj-$(CONFIG_HOSTESS_SV11) += z85230.o syncppp.o hostess_sv11.o
obj-$(CONFIG_SEALEVEL_4021) += z85230.o syncppp.o sealevel.o
obj-$(CONFIG_COMX) +=
comx.o
@@ -70,6 +72,7 @@
obj-$(CONFIG_CYCLADES_SYNC) += cycx_drv.o cyclomx.o
obj-$(CONFIG_LAPBETHER) += lapbether.o
obj-$(CONFIG_SBNI) += sbni.o
+obj-$(CONFIG_PC300)
+= pc300.o
obj-$(CONFIG_HDLC) += hdlc.o
ifeq ($(CONFIG_HDLC_PPP),y)
obj-$(CONFIG_HDLC) += syncppp.o
@@ -79,6 +82,9 @@
include $(TOPDIR)/Rules.make
+pc300.o: pc300_drv.o $(pc300-y)
+
$(LD) -r -o $@ pc300_drv.o $(pc300-y)
+
hdlc.o: $(hdlc-objs)
$(LD) -r -o $@ $(hdlc-objs)
reply other threads:[~2003-03-04 22:59 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3E64C196.9070105@cyclades.com \
--to=henrique2.gobbi@cyclades.com \
--cc=henrique.gobbi@cyclades.com \
--cc=linux-kernel@vger.kernel.org \
--cc=marcelo@conectiva.com.br \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox