2
* Copyright (C) 2005 Russell King.
3
* Data taken from include/asm-i386/serial.h
5
* This program is free software; you can redistribute it and/or modify
6
* it under the terms of the GNU General Public License version 2 as
7
* published by the Free Software Foundation.
9
#include <linux/module.h>
10
#include <linux/init.h>
11
#include <linux/serial_8250.h>
13
#define PORT(_base,_irq) \
18
.iotype = UPIO_PORT, \
19
.flags = UPF_BOOT_AUTOCONF, \
22
static struct plat_serial8250_port boca_data[] = {
42
static struct platform_device boca_device = {
44
.id = PLAT8250_DEV_BOCA,
46
.platform_data = boca_data,
50
static int __init boca_init(void)
52
return platform_device_register(&boca_device);
55
module_init(boca_init);
57
MODULE_AUTHOR("Russell King");
58
MODULE_DESCRIPTION("8250 serial probe module for Boca cards");
59
MODULE_LICENSE("GPL");