2 * linux/arch/arm/drivers/char/serial-atomwide.c
4 * Copyright (C) 1996 Russell King.
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.
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.
15 #include <linux/ioport.h>
16 #include <asm/ecard.h>
20 struct serial_card_type {
21 unsigned int num_ports;
22 unsigned int baud_base;
24 unsigned int offset[MAX_PORTS];
27 static struct serial_card_type atomwide_type = {
29 .baud_base = 7372800 / 16,
30 .type = ECARD_RES_IOCSLOW,
31 .offset = { 0x2800, 0x2400, 0x2000 },
34 static const struct ecard_id serial_cids[] = {
35 { MANU_ATOMWIDE, PROD_ATOMWIDE_3PSERIAL, &atomwide_type },
39 #include "serial-card.c"