PNP BIOS oneliner fix
PATCH 1/1 PNP BIOS oneliner fix
Hi all,
attached oneliner patch fixes buglet in PNP BIOS resource parsing code, without this patch all io regions have IORESOURCE_MEM type.
Bug didn't hit parport_pc driver, because it doesn't check io region type (why?).
Best regards.
Signature · 2 lines
Andrey Panin | Embedded systems software engineer [email protected] | PGP key: http://www.orbita1.ru/~pazke/AndreyPanin.asc
linux/drivers/pnp/pnp_bios.c renamed from linux.vanilla/drivers/pnp/pnp_bios.c +1 -1
@@ -656,7 +656,7 @@if (i <DEVICE_COUNT_RESOURCE ) { dev->resource[i].start = io; dev->resource[i].end = io + len; - dev->resource[i].flags =IORESOURCE_MEM ; + dev->resource[i].flags = flags; } }