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 * @irq: Processor IRQ number to assign to this serial device. 17 */ 18 void lpc47m_enable_serial(u16 dev, u16 iobase, u8 irq); 19 20 #endif /* _SMSC_LPC47M_H_ */ 21