2 * linux/drivers/serial/8250_fourport.c
4 * Copyright (C) 2005 Russell King.
5 * Data taken from include/asm-i386/serial.h
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License version 2 as
9 * published by the Free Software Foundation.
11 #include <linux/module.h>
12 #include <linux/init.h>
13 #include <linux/serial_8250.h>
15 #define PORT(_base,_irq) \
20 .iotype = UPIO_PORT, \
21 .flags = UPF_BOOT_AUTOCONF | UPF_FOURPORT, \
24 static struct plat_serial8250_port fourport_data[] = {
36 static struct platform_device fourport_device = {
40 .platform_data = fourport_data,
44 static int __init fourport_init(void)
46 return platform_device_register(&fourport_device);
49 module_init(fourport_init);
51 MODULE_AUTHOR("Russell King");
52 MODULE_DESCRIPTION("8250 serial probe module for AST Fourport cards");
53 MODULE_LICENSE("GPL");