fwupd/plugins/bcm57xx
Richard Hughes faa7871b08 Remove duplicate ->probe() calls to speed up startup by 150ms
Now incorporate is fixed to copy across the properties we need in the
superclass, we don't need to do the subclass ->probe().

Note, we still need to do the subclassed ->probe() when using
FU_UDEV_DEVICE_FLAG_VENDOR_FROM_PARENT or when looking at properties
on the parent device.

This also removes the spurious 'already set GType to FuVliUsbhubDevice,
ignoring FuVliUsbhubDevice' messages when running the daemon.
2022-06-14 21:01:57 +01:00
..
tests Move the fuzzing files into the plugin directories 2021-10-22 15:24:05 +01:00
bcm57xx.quirk Simplify the quirk file format 2021-03-03 08:30:34 +00:00
fu-bcm57xx-common.c Split out the memory helpers to a new source file 2022-06-14 14:36:52 -05:00
fu-bcm57xx-common.h Be smarter and include less header files per source file 2022-06-14 14:36:52 -05:00
fu-bcm57xx-device.c Remove duplicate ->probe() calls to speed up startup by 150ms 2022-06-14 21:01:57 +01:00
fu-bcm57xx-device.h trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-bcm57xx-dict-image.c Split out the GByte helpers to a new source file 2022-06-14 14:36:52 -05:00
fu-bcm57xx-dict-image.h trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-bcm57xx-firmware.c Split out the memory helpers to a new source file 2022-06-14 14:36:52 -05:00
fu-bcm57xx-firmware.h trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-bcm57xx-recovery-device.c Remove duplicate ->probe() calls to speed up startup by 150ms 2022-06-14 21:01:57 +01:00
fu-bcm57xx-recovery-device.h trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-bcm57xx-stage1-image.c Remove the 'common' prefix when parsing version numbers 2022-06-14 14:36:52 -05:00
fu-bcm57xx-stage1-image.h trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-bcm57xx-stage2-image.c Split out the GByte helpers to a new source file 2022-06-14 14:36:52 -05:00
fu-bcm57xx-stage2-image.h trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-plugin-bcm57xx.c Speed up the daemon startup by ~2% by doing dlsym much less 2021-11-09 12:02:07 +00:00
fu-self-test.c Split out the GByte helpers to a new source file 2022-06-14 14:36:52 -05:00
meson.build Convert build system to use meson tristate features 2022-02-28 08:34:48 -06:00
README.md trivial: update markdown for pre-commit style 2021-07-18 14:42:47 -05:00

BCM57xx

Introduction

This plugin updates BCM57xx wired network adaptors from Broadcom using a reverse-engineered flashing protocol. It is designed to be used with the clean-room reimplementation of the BCM5719 firmware found here: https://github.com/meklort/bcm5719-fw

Protocol

BCM57xx devices support a custom com.broadcom.bcm57xx protocol which is implemented as ioctls like ethtool does.

GUID Generation

These devices use the standard PCI instance IDs, for example:

  • PCI\VEN_14E4&DEV_1657
  • PCI\VEN_14E4&DEV_1657&SUBSYS_17AA222E

Update Behavior

The device usually presents in runtime mode, and the firmware is written to the device without disconnecting the working kernel driver. Once complete the APE is reset which may cause a brief link reconnection.

On flash failure the device is nonfunctional, but is recoverable using direct BAR writes, which is typically much slower than updating the device using the kernel driver and the ethtool API.

Vendor ID Security

The vendor ID is set from the PCI vendor, in this instance set to PCI:0x14E4

External Interface Access

This plugin requires the SIOCETHTOOL ioctl interface.