patch-2.3.30 linux/drivers/acorn/char/serial-atomwide.c
Next file: linux/drivers/acorn/char/serial-card.c
Previous file: linux/arch/sparc64/mm/generic.c
Back to the patch index
Back to the overall index
- Lines: 14
- Date:
Thu Dec 2 15:41:02 1999
- Orig file:
v2.3.29/linux/drivers/acorn/char/serial-atomwide.c
- Orig date:
Fri May 8 00:42:38 1998
diff -u --recursive --new-file v2.3.29/linux/drivers/acorn/char/serial-atomwide.c linux/drivers/acorn/char/serial-atomwide.c
@@ -12,9 +12,12 @@
#define MY_CARD_LIST { MANU_ATOMWIDE, PROD_ATOMWIDE_3PSERIAL }
#define MY_NUMPORTS 3
#define MY_BAUD_BASE (7372800 / 16)
-#define MY_INIT atomwide_serial_init
#define MY_BASE_ADDRESS(ec) \
ecard_address ((ec), ECARD_IOC, ECARD_SLOW) + (0x2000 >> 2)
#define MY_PORT_ADDRESS(port,cardaddr) \
((cardaddr) + 0x200 - (port) * 0x100)
+
+#define INIT serial_card_atomwide_init
+#define EXIT serial_card_atomwide_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)