1/* 2 * linux/arch/arm/drivers/char/serial-atomwide.c 3 * 4 * Copyright (C) 1996 Russell King. 5 * 6 * This program is free software; you can redistribute it and/or modify 7 * it under the terms of the GNU General Public License version 2 as 8 * published by the Free Software Foundation. 9 * 10 * Changelog: 11 * 02-05-1996 RMK Created 12 * 07-05-1996 RMK Altered for greater number of cards. 13 * 30-07-1996 RMK Now uses generic card code. 14 */ 15#define MY_CARD_LIST { MANU_ATOMWIDE, PROD_ATOMWIDE_3PSERIAL } 16#define MY_NUMPORTS 3 17#define MY_BAUD_BASE (7372800 / 16) 18#define MY_BASE_ADDRESS(ec) \ 19 ecard_address ((ec), ECARD_IOC, ECARD_SLOW) + (0x2000 >> 2) 20#define MY_PORT_ADDRESS(port,cardaddr) \ 21 ((cardaddr) + 0x200 - (port) * 0x100) 22 23#define INIT serial_card_atomwide_init 24#define EXIT serial_card_atomwide_exit 25 26#include "serial-card.c" 27