fwupd/plugins/superio/fu-superio-device.h
Richard Hughes 831eb7ef7e superio: Support IT89xx devices
We can switch to LDN 0x11 and read the IO base address for the PM1 legacy port
rather than hardcoding data and command ports.
2019-01-08 12:53:57 +00:00

24 lines
518 B
C

/*
* Copyright (C) 2018 Richard Hughes <richard@hughsie.com>
*
* SPDX-License-Identifier: LGPL-2.1+
*/
#ifndef __FU_SUPERIO_DEVICE_H
#define __FU_SUPERIO_DEVICE_H
#include "fu-plugin.h"
G_BEGIN_DECLS
#define FU_TYPE_SUPERIO_DEVICE (fu_superio_device_get_type ())
G_DECLARE_FINAL_TYPE (FuSuperioDevice, fu_superio_device, FU, SUPERIO_DEVICE, FuDevice)
FuSuperioDevice *fu_superio_device_new (const gchar *chipset,
guint16 id,
guint16 port);
G_END_DECLS
#endif /* __FU_SUPERIO_DEVICE_H */