1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (C) 2005 Russell King.
4 * Data taken from include/asm-i386/serial.h
6 #include <linux/module.h>
7 #include <linux/init.h>
8 #include <linux/serial_8250.h>
12 static struct plat_serial8250_port accent_data
[] = {
13 SERIAL8250_PORT(0x330, 4),
14 SERIAL8250_PORT(0x338, 4),
18 static struct platform_device accent_device
= {
20 .id
= PLAT8250_DEV_ACCENT
,
22 .platform_data
= accent_data
,
26 static int __init
accent_init(void)
28 return platform_device_register(&accent_device
);
31 module_init(accent_init
);
33 MODULE_AUTHOR("Russell King");
34 MODULE_DESCRIPTION("8250 serial probe module for Accent Async cards");
35 MODULE_LICENSE("GPL");