Ignore resources with a size of 0, as these are disabled (and we don't
deal with them properly elsewhere). Submitted by: Masayuki FUKUI <fukui@sonic.nm.fujitsu.co.jp>
This commit is contained in:
parent
e64c38dcaa
commit
ac9ec473d8
@ -303,6 +303,13 @@ pnp_parse_resources(device_t dev, u_char *resources, int len, u_int32_t vendor_i
|
||||
break;
|
||||
|
||||
case PNP_TAG_MEMORY32_RANGE:
|
||||
if (I32(resinfo + 13) == 0) {
|
||||
if (bootverbose) {
|
||||
printf("%s: skipping empty range\n",
|
||||
pnp_eisaformat(id));
|
||||
}
|
||||
continue;
|
||||
}
|
||||
if (bootverbose) {
|
||||
printf("%s: adding memory32 range "
|
||||
"%#x-%#x, size=%#x, "
|
||||
|
Loading…
Reference in New Issue
Block a user