HomeFreeBSD

superio: do not assume that current LDN cannot change after config exit

Description

superio: do not assume that current LDN cannot change after config exit

That assumption should be true when superio(4) uses the hardware
exlusively. But it turns out to not hold on some real systems.
So, err on the side of correctness rather than performance.
Clear current_ldn in sio_conf_exit.

Reported by: bz
Tested by: bz
MFC after: 1 week

Details

Provenance
avgAuthored on
Parents
rS361787: ifconfig.8: fix cpability and flag descriptions for list scan / sta
Branches
Unknown
Tags
Unknown