Skip to contentSkip to conversation

patch against 2.4.6pre8

DRIVER Linux A2232 Driver Project 1 participant 1 message Jul 3, 2001

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

Hallo!

This is the patch for the A2232 multi-serial board again, as a patch against 2.4.6pre8. Should be convenient for Linus to include :)

Greetings,
Enver

CREDITS +5 -0
diff -u --recursive --new-file linux-2.4.6-pre8-vanilla/CREDITS linux-2.4.6-pre8-withA2232/CREDITS
@@ -1056,6 +1056,11 @@
 S: 2400 AG, Alphen aan den Rijn
 S: The Netherlands
 
+N: Enver Haase
+E: [email protected]
+W: http://www.inf.fu-berlin.de/~ehaase
+D: Driver for the Commodore A2232 serial board
+
 N: Bruno Haible
 E: [email protected]
 D: SysV FS, shm swapping, memory management fixes
Documentation/Configure.help +15 -0
diff -u --recursive --new-file linux-2.4.6-pre8-vanilla/Documentation/Configure.help linux-2.4.6-pre8-withA2232/Documentation/Configure.help
@@ -16738,6 +16738,21 @@
   If you want to compile it as a module, say M here and read
   Documentation/modules.txt.
 
+Commodore A2232 serial support
+CONFIG_A2232
+  This option supports the 2232 7-port serial card designed for the
+  Amiga 2000 and other Zorro-bus machines. At a maximum of 19,200 bps,
+  the ports are served by a 6551 ACIA UART chip each, plus a 8520 CIA,
+  and a master 65EC02 CPU and buffer as well. The ports are connected
+  with 8 pin mini-DIN connectors on the card bracket, for which 8 pin
+  to DB25 adapters are supplied. The card also has jumpers internally
+  to toggle various pinning configurations.
+
+  This driver can be built as a module; but then "generic_serial.o"
+  will also be built as a module. This has to be loaded before
+  "ser_a2232.o". If you want to do this, answer M here and read
+  "<file:Documentation/modules.txt>".
+
 Atari DMA sound support
 CONFIG_DMASOUND_ATARI
   If you want to use the internal audio of your Atari in Linux, answer
MAINTAINERS +7 -0
diff -u --recursive --new-file linux-2.4.6-pre8-vanilla/MAINTAINERS linux-2.4.6-pre8-withA2232/MAINTAINERS
@@ -106,6 +106,13 @@
 L:	[email protected]
 S:	Maintained
 
+A2232 SERIAL BOARD DRIVER
+P:      Enver Haase
+M:      [email protected]
+M:      [email protected]
+L:      [email protected]
+S:      Maintained
+
 ACI MIXER DRIVER
 P:	Robert Siemer
 M:	[email protected]
drivers/char/Config.in +3 -0
diff -u --recursive --new-file linux-2.4.6-pre8-vanilla/drivers/char/Config.in linux-2.4.6-pre8-withA2232/drivers/char/Config.in
@@ -60,6 +60,9 @@
      tristate '    Stallion EC8/64, ONboard, Brumby support' CONFIG_ISTALLION
    fi
 fi
+if [ "$CONFIG_EXPERIMENTAL" = "y" -a "$CONFIG_ZORRO" = "y" ]; then
+   tristate 'Commodore A2232 serial support (EXPERIMENTAL)' CONFIG_A2232
+fi
 if [ "$CONFIG_FOOTBRIDGE" = "y" ]; then
    bool 'DC21285 serial port support' CONFIG_SERIAL_21285
    if [ "$CONFIG_SERIAL_21285" = "y" ]; then
drivers/char/Makefile +1 -0
diff -u --recursive --new-file linux-2.4.6-pre8-vanilla/drivers/char/Makefile linux-2.4.6-pre8-withA2232/drivers/char/Makefile
@@ -139,6 +139,7 @@
 obj-$(CONFIG_N_HDLC) += n_hdlc.o
 obj-$(CONFIG_SPECIALIX) += specialix.o
 obj-$(CONFIG_AMIGA_BUILTIN_SERIAL) += amiserial.o
+obj-$(CONFIG_A2232) += ser_a2232.o generic_serial.o
 obj-$(CONFIG_SX) += sx.o generic_serial.o
 obj-$(CONFIG_RIO) += rio/rio.o generic_serial.o
 obj-$(CONFIG_SH_SCI) += sh-sci.o generic_serial.o
drivers/char/ser_a2232.c +878 -0

878 lines not on this page · raw message

drivers/char/ser_a2232.h +206 -0

206 lines not on this page · raw message

drivers/char/ser_a2232fw.ax +529 -0

529 lines not on this page · raw message

drivers/char/ser_a2232fw.h +306 -0

306 lines not on this page · raw message

drivers/char/tty_io.c +3 -0
diff -u --recursive --new-file linux-2.4.6-pre8-vanilla/drivers/char/tty_io.c linux-2.4.6-pre8-withA2232/drivers/char/tty_io.c
@@ -2359,4 +2359,7 @@
 #ifdef CONFIG_HWC
 	hwc_tty_init();
 #endif
+#ifdef CONFIG_A2232
+	a2232board_init();
+#endif
 }
include/linux/tty.h +1 -0
diff -u --recursive --new-file linux-2.4.6-pre8-vanilla/include/linux/tty.h linux-2.4.6-pre8-withA2232/include/linux/tty.h
@@ -366,6 +366,7 @@
 extern int specialix_init(void);
 extern int espserial_init(void);
 extern int macserial_init(void);
+extern int a2232board_init(void);
 
 extern int tty_paranoia_check(struct tty_struct *tty, kdev_t device,
 			      const char *routine);