===================================================================
@@ -311,10 +311,14 @@ static char *pnp_get_resource_value(char
if (flags)
*flags = 0;
- /* TBD: allow for disabled resources */
-
buf = skip_spaces(buf);
- if (start) {
+ if (flags && !strnicmp(buf, "disabled", 8)) {
+ buf += 8;
+ *flags |= IORESOURCE_DISABLED;
+ } else if (flags && !strnicmp(buf, "<none>", 6)) {
+ buf += 6;
+ *flags |= IORESOURCE_DISABLED;
+ } else if (start) {
*start = simple_strtoull(buf, &buf, 0);
if (end) {
buf = skip_spaces(buf);