Commit cbe9faa5 authored by Warner Losh's avatar Warner Losh
Browse files

Remove DS_BUSY case

DS_BUSY is no longer a device state. Remove it from here.

Sponsored by:		Netflix
parent 1c7d15b0
...@@ -356,7 +356,6 @@ device_get_status(struct devinfo_dev *dev) ...@@ -356,7 +356,6 @@ device_get_status(struct devinfo_dev *dev)
case DS_NOTPRESENT: /* not probed or probe failed */ case DS_NOTPRESENT: /* not probed or probe failed */
return (DS_DOWN); return (DS_DOWN);
case DS_ATTACHED: /* attach method called */ case DS_ATTACHED: /* attach method called */
case DS_BUSY: /* device is open */
return (DS_RUNNING); return (DS_RUNNING);
default: default:
return (DS_UNKNOWN); return (DS_UNKNOWN);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment