Don't assume that SMI are enabled when attaching ichwd and then do

correct unwind based on former state.

Sponsored by:	Sandvine Incorporated
Reviewed by:	des
MFC after:	1 week
This commit is contained in:
Attilio Rao 2011-04-25 14:10:33 +00:00
parent 385edc8e71
commit bb83df766c

View file

@ -45,6 +45,7 @@ struct ichwd_softc {
int active;
unsigned int timeout;
int smi_enabled;
int smi_rid;
struct resource *smi_res;
bus_space_tag_t smi_bst;