HomeFreeBSD

Add a temporary (for values of "temporary") work around for hotplug
rS242258Unpublished

Unpublished Commit ยท Learn More

No further details are available.

Description

Add a temporary (for values of "temporary") work around for hotplug
support with ath(4) and VIMAGE.

Right now the VIMAGE code doesn't supply a default vnet context during:

  • hotplug attach;
  • any device detach.

It special cases kldload/boot time probing (by setting the context to
vnet0) but that doesn't occur when probing devices during a bus rescan -
eg, adding a cardbus card.

These will eventually go away when the VIMAGE support extends to providing
default contexts to hotplug attach/detach.

Details

Provenance
adrianAuthored on
Parents
rS242257: Remove bogus 'else' in #ifdef that prevented the rttvar from being reset
Branches
Unknown
Tags
Unknown

Event Timeline