Commit 043ae76b authored by Jeff Garzik's avatar Jeff Garzik

Add new PC300 WAN driver (courtesy Cyclades), and my own changes:

* patch added stuff to include/linux.  move these three new headers
  to drivers/net/wan.
* change the code to support these changes
* slightly better Config.in entry. needs more work, though.
parent 386d0ce7
...@@ -426,3 +426,25 @@ CONFIG_C101 ...@@ -426,3 +426,25 @@ CONFIG_C101
If unsure, say N here. If unsure, say N here.
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.
...@@ -66,6 +66,17 @@ if [ "$CONFIG_WAN" = "y" ]; then ...@@ -66,6 +66,17 @@ if [ "$CONFIG_WAN" = "y" ]; then
else else
comment ' X.25/LAPB support is disabled' comment ' X.25/LAPB support is disabled'
fi fi
dep_tristate ' Cyclades-PC300 support (RS-232/V.35, X.21, T1/E1 boards)' CONFIG_PC300 $CONFIG_HDLC $CONFIG_PCI
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.'+ comment ' Refer to the file README.mlppp, provided by PC300 package.'
fi
fi
dep_tristate ' SDL RISCom/N2 support' CONFIG_N2 $CONFIG_HDLC dep_tristate ' SDL RISCom/N2 support' CONFIG_N2 $CONFIG_HDLC
dep_tristate ' Moxa C101 support' CONFIG_C101 $CONFIG_HDLC dep_tristate ' Moxa C101 support' CONFIG_C101 $CONFIG_HDLC
dep_tristate ' FarSync T-Series support' CONFIG_FARSYNC $CONFIG_HDLC dep_tristate ' FarSync T-Series support' CONFIG_FARSYNC $CONFIG_HDLC
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
O_TARGET := wan.o 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 \
dlci.o dlci.o pc300_drv.o
wanpipe-y := sdlamain.o sdla_ft1.o wanpipe-y := sdlamain.o sdla_ft1.o
wanpipe-$(CONFIG_WANPIPE_X25) += sdla_x25.o wanpipe-$(CONFIG_WANPIPE_X25) += sdla_x25.o
...@@ -30,6 +30,10 @@ hdlc-$(CONFIG_HDLC_PPP) += hdlc_ppp.o ...@@ -30,6 +30,10 @@ hdlc-$(CONFIG_HDLC_PPP) += hdlc_ppp.o
hdlc-$(CONFIG_HDLC_X25) += hdlc_x25.o hdlc-$(CONFIG_HDLC_X25) += hdlc_x25.o
hdlc-objs := $(hdlc-y) hdlc-objs := $(hdlc-y)
pc300-y := pc300_drv.o
pc300-$(CONFIG_PC300_MLPPP) += pc300_tty.o
pc300-objs := $(pc300-y)
obj-$(CONFIG_HOSTESS_SV11) += z85230.o syncppp.o hostess_sv11.o obj-$(CONFIG_HOSTESS_SV11) += z85230.o syncppp.o hostess_sv11.o
obj-$(CONFIG_SEALEVEL_4021) += z85230.o syncppp.o sealevel.o obj-$(CONFIG_SEALEVEL_4021) += z85230.o syncppp.o sealevel.o
obj-$(CONFIG_COMX) += comx.o obj-$(CONFIG_COMX) += comx.o
...@@ -63,6 +67,7 @@ endif ...@@ -63,6 +67,7 @@ endif
obj-$(CONFIG_CYCLADES_SYNC) += cycx_drv.o cyclomx.o obj-$(CONFIG_CYCLADES_SYNC) += cycx_drv.o cyclomx.o
obj-$(CONFIG_LAPBETHER) += lapbether.o obj-$(CONFIG_LAPBETHER) += lapbether.o
obj-$(CONFIG_SBNI) += sbni.o obj-$(CONFIG_SBNI) += sbni.o
obj-$(CONFIG_PC300) += pc300.o
obj-$(CONFIG_HDLC) += hdlc.o obj-$(CONFIG_HDLC) += hdlc.o
ifeq ($(CONFIG_HDLC_PPP),y) ifeq ($(CONFIG_HDLC_PPP),y)
obj-$(CONFIG_HDLC) += syncppp.o obj-$(CONFIG_HDLC) += syncppp.o
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
...@@ -2924,10 +2924,12 @@ ...@@ -2924,10 +2924,12 @@
0105 Cyclom_8Y above first megabyte 0105 Cyclom_8Y above first megabyte
0200 Cyclom_Z below first megabyte 0200 Cyclom_Z below first megabyte
0201 Cyclom_Z above first megabyte 0201 Cyclom_Z above first megabyte
0300 PC300 RX 2 0300 PC300/RSV or /X21 (2 ports)
0301 PC300 RX 1 0301 PC300/RSV or /X21 (1 ports)
0310 PC300 TE 2 0310 PC300/TE (2 ports)
0311 PC300 TE 1 0311 PC300/TE (1 port)
0320 PC300/TE-M (2 ports)
0321 PC300/TE-M (1 port)
120f Essential Communications 120f Essential Communications
0001 Roadrunner serial HIPPI 0001 Roadrunner serial HIPPI
1210 Hyperparallel Technologies 1210 Hyperparallel Technologies
......
...@@ -1236,6 +1236,8 @@ ...@@ -1236,6 +1236,8 @@
#define PCI_DEVICE_ID_PC300_RX_1 0x0301 #define PCI_DEVICE_ID_PC300_RX_1 0x0301
#define PCI_DEVICE_ID_PC300_TE_2 0x0310 #define PCI_DEVICE_ID_PC300_TE_2 0x0310
#define PCI_DEVICE_ID_PC300_TE_1 0x0311 #define PCI_DEVICE_ID_PC300_TE_1 0x0311
#define PCI_DEVICE_ID_PC300_TE_M_2 0x0320
#define PCI_DEVICE_ID_PC300_TE_M_1 0x0321
#define PCI_VENDOR_ID_ESSENTIAL 0x120f #define PCI_VENDOR_ID_ESSENTIAL 0x120f
#define PCI_DEVICE_ID_ESSENTIAL_ROADRUNNER 0x0001 #define PCI_DEVICE_ID_ESSENTIAL_ROADRUNNER 0x0001
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment