1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 2 3 #ifndef SUPERIO_SMSC_SMSCSUPERIO_H 4 #define SUPERIO_SMSC_SMSCSUPERIO_H 5 6 #include <device/pnp_type.h> 7 #include <stdint.h> 8 9 /* All known/supported SMSC Super I/Os have the same logical device IDs 10 * for the serial ports (COM1, COM2). 11 */ 12 #define SMSCSUPERIO_SP1 4 /* Com1 */ 13 #define SMSCSUPERIO_SP2 5 /* Com2 */ 14 15 void smscsuperio_enable_serial(pnp_devfn_t dev, u16 iobase); 16 17 #endif /* SUPERIO_SMSC_SMSCSUPERIO_H */ 18