Bin Meng | 0966130 | 2014-12-12 21:05:25 +0800 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2014, Bin Meng <bmeng.cn@gmail.com> |
| 3 | * |
| 4 | * SPDX-License-Identifier: GPL-2.0+ |
| 5 | */ |
| 6 | |
| 7 | #ifndef _SMSC_LPC47M_H_ |
| 8 | #define _SMSC_LPC47M_H_ |
| 9 | |
| 10 | /** |
| 11 | * Configure the base I/O port of the specified serial device and enable the |
| 12 | * serial device. |
| 13 | * |
| 14 | * @dev: High 8 bits = Super I/O port, low 8 bits = logical device number. |
| 15 | * @iobase: Processor I/O port address to assign to this serial device. |
| 16 | */ |
| 17 | void lpc47m_enable_serial(u16 dev, u16 iobase); |
| 18 | |
| 19 | #endif /* _SMSC_LPC47M_H_ */ |