Device Disable problems in W2K

I have both a WDM driver and an NDIS driver with the same problem. They
can’t be disabled. They can be loaded and unloaded just fine. But
choosing “disable” isn’t even offered as a choice. I have tried using
dummy versions of both drivers, and they can be “disabled”. The
significant difference between the dummy drivers and the real drivers is
that the real driver have actual hardware resources associated with them.

What is it from a PNP standpoint that I need to do to allow my device to
be disabled? Is there some certain IRP/OID that I need to support? If
so, what flags/parameters do I need to set?

or

Is it somehow related to how my hardware is configured in ACPI? In both
cases, my hardware is directly on the motherboard, so the resources are
reported by Bios through ACPI.

I solved my own problem. More acurately, Bios solved my problem. Sure
enough, Bios was not providing a “Disable” function in the ACPI entries,
and as a result Windows would not provide the disable to me. Once Bios
put in a disable function, my drivers can now be disabled.

I have both a WDM driver and an NDIS driver with the same problem. They
can’t be disabled. They can be loaded and unloaded just fine. But
choosing “disable” isn’t even offered as a choice. I have tried using
dummy versions of both drivers, and they can be “disabled”. The
significant difference between the dummy drivers and the real drivers is
that the real driver have actual hardware resources associated with them.

What is it from a PNP standpoint that I need to do to allow my device to
be disabled? Is there some certain IRP/OID that I need to support? If
so, what flags/parameters do I need to set?

or

Is it somehow related to how my hardware is configured in ACPI? In both
cases, my hardware is directly on the motherboard, so the resources are
reported by Bios through ACPI.