* [PATCH] PNP BIOS oneliner fix
@ 2001-08-06 5:51 Andrey Panin
0 siblings, 0 replies; only message in thread
From: Andrey Panin @ 2001-08-06 5:51 UTC (permalink / raw)
To: linux-kernel
[-- Attachment #1.1: Type: text/plain, Size: 396 bytes --]
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.
--
Andrey Panin | Embedded systems software engineer
pazke@orbita1.ru | PGP key: http://www.orbita1.ru/~pazke/AndreyPanin.asc
[-- Attachment #1.2: patch-pnpBIOS-oneliner --]
[-- Type: text/plain, Size: 444 bytes --]
diff -urN -X /usr/dontdiff /linux.vanilla/drivers/pnp/pnp_bios.c /linux/drivers/pnp/pnp_bios.c
--- /linux.vanilla/drivers/pnp/pnp_bios.c Fri Aug 3 23:20:56 2001
+++ /linux/drivers/pnp/pnp_bios.c Sun Aug 5 02:14:42 2001
@@ -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;
}
}
[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2001-08-06 5:51 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-08-06 5:51 [PATCH] PNP BIOS oneliner fix Andrey Panin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).