Seems there are no leaks; only blocks left non-freed are the queue of
drivers, which is static anyway
Also added a MII_TERMINATE state to quit any 'main' loop.
Signed-off-by: Michel Pollet <buserror@gmail.com>
These are fetched often, so might as well cache them into a bitfield,
also removed the old BSR state, as it might as well be in that bitfield.
Converted all the user of these soft switches to this new bitfield.
Signed-off-by: Michel Pollet <buserror@gmail.com>