patch-2.3.30 linux/drivers/acorn/char/serial-dualsp.c

Next file: linux/drivers/ap1000/ringbuf.c
Previous file: linux/drivers/acorn/char/serial-card.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.29/linux/drivers/acorn/char/serial-dualsp.c linux/drivers/acorn/char/serial-dualsp.c
@@ -9,9 +9,12 @@
 #define MY_CARD_LIST { MANU_SERPORT, PROD_SERPORT_DSPORT }
 #define MY_NUMPORTS 2
 #define MY_BAUD_BASE (3686400 / 16)
-#define MY_INIT dualsp_serial_init
 #define MY_BASE_ADDRESS(ec) \
 	ecard_address (ec, ECARD_IOC, ECARD_SLOW) + (0x2000 >> 2)
 #define MY_PORT_ADDRESS(port,cardaddress) \
 	((cardaddress) + (port) * 8)
+
+#define INIT serial_card_dualsp_init
+#define EXIT serial_card_dualsp_exit
+
 #include "serial-card.c"

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)