Richard Hughes
19a9fc4e6d
superio: Implement detach() and attach()
...
This gets us closer to actually being able to flash the hardware.
2019-02-14 09:12:26 -06:00
Richard Hughes
5acfc64a78
superio: Correct the names of some constants and improve debugging support
2019-02-14 09:12:26 -06:00
Richard Hughes
8cfbb25c31
trivial: Fix a few 'Sign check of bitwise op' LGTM warnings
...
Not really a bug, as @crc and @data are both unsigned.
2019-02-12 06:28:51 -06:00
Richard Hughes
65c81921b6
Add fu_device_add_instance_id() and prefer explicit conversion
2019-02-04 15:19:57 +00:00
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
Richard Hughes
57bf9d9eed
superio: Set the physical and logical IDs
2018-09-11 16:02:03 +01:00
Richard Hughes
e39801f00d
trivial: Fix some NULL/FALSE confusion
2018-09-04 20:37:17 +01:00
Richard Hughes
1263446b23
trivial: Add a 'setup' vfunc that is used after open()
...
The setup() is the counterpart to probe(), the difference being the former needs
the device open and the latter does not.
This allows objects that derive from FuDevice, and use FuDeviceLocker to use
open() and close() without worrying about the performance implications of
probing the hardware, i.e. open() now simply opens a file or device.
2018-09-03 19:56:26 -05:00
Richard Hughes
16e85aa8cf
superio: Add a new plugin to enumerate EC firmware
2018-08-24 20:37:27 +01:00