mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* including Cyclades pc400 board support
@ 2004-09-09 17:17 Germano Barreiro
  2004-09-09 17:30 ` Zwane Mwaikambo
  0 siblings, 1 reply; 2+ messages in thread
From: Germano Barreiro @ 2004-09-09 17:17 UTC (permalink / raw)
  To: linux-kernel

[-- Attachment #1: Type: text/plain, Size: 224 bytes --]

Greetings,

This patch includes support in the kernel for pc400 Cyclades board,
which is the only Cyclades board that doesn't have the driver in the
official kernel tree yet, and is intended for review. 

Regards,
Germano



[-- Attachment #2: cyc-pc400-k2.6.9rc1.patch --]
[-- Type: text/x-patch, Size: 4764 bytes --]

diff -ruN linux-2.6.9-rc1.orig/Documentation/devices.txt linux-2.6.9-rc1/Documentation/devices.txt
--- linux-2.6.9-rc1.orig/Documentation/devices.txt	2004-09-09 13:08:30.000000000 -0300
+++ linux-2.6.9-rc1/Documentation/devices.txt	2004-09-09 13:14:38.000000000 -0300
@@ -2854,6 +2854,16 @@
 		196 = /dev/dvb/adapter3/video0    first video decoder of fourth card
 
 
+214 char       Cyclades-PC400 Digital RAS Card
+                 0 = /dev/ttyCM0               First PC400 port
+                 1 = /dev/ttyCM1               Second PC400 port
+                    ...
+
+215 char       Cyclades-PC400 Digital RAS Card - altarnate devices
+                 0 = /dev/cucm0                Callout device for ttyCM0
+                 1 = /dev/cucm1                Callout device for ttyCM1
+                    ...
+
 216 char	USB BlueTooth devices
 		  0 = /dev/ttyUB0		First USB BlueTooth device
 		  1 = /dev/ttyUB1		Second USB BlueTooth device
diff -ruN linux-2.6.9-rc1.orig/Documentation/magic-number.txt linux-2.6.9-rc1/Documentation/magic-number.txt
--- linux-2.6.9-rc1.orig/Documentation/magic-number.txt	2004-09-09 13:08:30.000000000 -0300
+++ linux-2.6.9-rc1/Documentation/magic-number.txt	2004-09-09 13:14:38.000000000 -0300
@@ -89,6 +89,7 @@
 TTY_DRIVER_MAGIC      0x5402      tty_driver        include/linux/tty_driver.h
 MGSLPC_MAGIC          0x5402      mgslpc_info       drivers/char/pcmcia/synclink_cs.c
 TTY_LDISC_MAGIC       0x5403      tty_ldisc         include/linux/tty_ldisc.h
+PC400_MAGIC           0x5874      pc400_port        include/linux/pc400.h
 USB_SERIAL_MAGIC      0x6702      usb_serial        drivers/usb/serial/usb-serial.h
 FULL_DUPLEX_MAGIC     0x6969                        drivers/net/tulip/de2104x.c
 USB_BLUETOOTH_MAGIC   0x6d02      usb_bluetooth     drivers/usb/class/bluetty.c
diff -ruN linux-2.6.9-rc1.orig/drivers/char/Kconfig linux-2.6.9-rc1/drivers/char/Kconfig
--- linux-2.6.9-rc1.orig/drivers/char/Kconfig	2004-09-09 13:08:06.000000000 -0300
+++ linux-2.6.9-rc1/drivers/char/Kconfig	2004-09-09 13:14:38.000000000 -0300
@@ -136,6 +136,30 @@
 	  status of the Cyclades-Z ports. The default op mode is polling. If
 	  unsure, say N.
 
+config DIGITAL_RAS
+	bool "Digital RAS Support"
+	depends on EXPERIMENTAL 
+	---help---
+	Support for adapters that turns a PC server into a digital Remote Access Server.
+	Common applications are:
+
+        * Internet Service Providers
+        * Remote Access / Telecommuting
+        * Specialized Communications Systems
+        * Dial-out servers
+
+config PC400_RAS
+	tristate "Cyclades-PC400 support"
+	depends on EXPERIMENTAL && DIGITAL_RAS
+	---help---
+        The Cyclades-PC400 is a digital PCI adapter that turns a PC server
+        into a digital Remote Access Server. It connects to 1 or 2 T1/E1/PRI 
+        trunks and has built-in digital modems and DSU/CSUs.
+        System Integrators and Internet Service Providers can use the PC400 
+        to build RAS solutions taking advantage of commodity hardware 
+        and Open Source software.
+
+
 config DIGIEPCA
 	tristate "Digiboard Intelligent Async Support"
 	depends on SERIAL_NONSTANDARD && BROKEN_ON_SMP
diff -ruN linux-2.6.9-rc1.orig/drivers/char/Makefile linux-2.6.9-rc1/drivers/char/Makefile
--- linux-2.6.9-rc1.orig/drivers/char/Makefile	2004-09-09 13:08:06.000000000 -0300
+++ linux-2.6.9-rc1/drivers/char/Makefile	2004-09-09 13:17:08.000000000 -0300
@@ -39,6 +39,7 @@
 obj-$(CONFIG_AMIGA_BUILTIN_SERIAL) += amiserial.o
 obj-$(CONFIG_SX)		+= sx.o generic_serial.o
 obj-$(CONFIG_RIO)		+= rio/ generic_serial.o
+obj-$(CONFIG_PC400_RAS)         += pc400.o
 obj-$(CONFIG_HVC_CONSOLE)	+= hvc_console.o hvsi.o
 obj-$(CONFIG_RAW_DRIVER)	+= raw.o
 obj-$(CONFIG_SGI_SNSC)		+= snsc.o
diff -ruN linux-2.6.9-rc1.orig/include/linux/major.h linux-2.6.9-rc1/include/linux/major.h
--- linux-2.6.9-rc1.orig/include/linux/major.h	2004-09-09 13:08:35.000000000 -0300
+++ linux-2.6.9-rc1/include/linux/major.h	2004-09-09 13:14:38.000000000 -0300
@@ -160,6 +160,10 @@
 
 #define OSST_MAJOR		206	/* OnStream-SCx0 SCSI tape */
 
+#define PC400_CALLIN_MAJOR      214
+#define PC400_CALLOUT_MAJOR     215
+
 #define IBM_TTY3270_MAJOR	227
 #define IBM_FS3270_MAJOR	228
 
diff -ruN linux-2.6.9-rc1.orig/include/linux/pci_ids.h linux-2.6.9-rc1/include/linux/pci_ids.h
--- linux-2.6.9-rc1.orig/include/linux/pci_ids.h	2004-09-09 13:08:36.000000000 -0300
+++ linux-2.6.9-rc1/include/linux/pci_ids.h	2004-09-09 13:14:38.000000000 -0300
@@ -1575,6 +1575,8 @@
 #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_DEVICE_ID_PC400             0x0400
 
 #define PCI_VENDOR_ID_ESSENTIAL		0x120f
 #define PCI_DEVICE_ID_ESSENTIAL_ROADRUNNER	0x0001

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: including Cyclades pc400 board support
  2004-09-09 17:17 including Cyclades pc400 board support Germano Barreiro
@ 2004-09-09 17:30 ` Zwane Mwaikambo
  0 siblings, 0 replies; 2+ messages in thread
From: Zwane Mwaikambo @ 2004-09-09 17:30 UTC (permalink / raw)
  To: Germano Barreiro; +Cc: linux-kernel

On Thu, 9 Sep 2004, Germano Barreiro wrote:

> This patch includes support in the kernel for pc400 Cyclades board,
> which is the only Cyclades board that doesn't have the driver in the
> official kernel tree yet, and is intended for review. 

You appear to be missing pc400.c

 Documentation/devices.txt      |   10 ++++++++++
 Documentation/magic-number.txt |    1 +
 drivers/char/Kconfig           |   24 ++++++++++++++++++++++++
 drivers/char/Makefile          |    1 +
 include/linux/major.h          |    3 +++
 include/linux/pci_ids.h        |    1 +
 6 files changed, 40 insertions(+)

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-09-09 17:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-09-09 17:17 including Cyclades pc400 board support Germano Barreiro
2004-09-09 17:30 ` Zwane Mwaikambo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®