--a8Wt8u1KmwUX3Y2C
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Hi all,
this patch fixes bug in pnpbios_rawdata_2_pci_dev() - miscalculated length =
of
ioport range. This function uses word at offset 6 in I/O Port Descriptor,=
=20
but according to ISA PnP specification ioport range length is a byte at off=
set 7
and byte 6 is base alignment.
BTW will it usefull to implement PnP device naming function ?
Best regards.
--=20
Andrey Panin | Embedded systems software engineer
pazke@orbita1.ru | PGP key: http://www.orbita1.ru/~pazke/AndreyPanin=
.asc
--a8Wt8u1KmwUX3Y2C
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=patch-pnpBIOS-2
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 Tue Jul 17 23:11:14 2001
+++ /linux/drivers/pnp/pnp_bios.c Sat Jul 21 00:08:38 2001
@@ -669,7 +669,7 @@
break;
case 0x08: // io
io= p[2] + p[3] *256;
- len= p[6] + p[7] *256;
+ len = p[7];
i=0;
while(pci_dev->resource[i].start && i<DEVICE_COUNT_RESOURCE)
i++;
--a8Wt8u1KmwUX3Y2C--
--v9Ux+11Zm5mwPlX6
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE7V80tBm4rlNOo3YgRAiYsAJ9z8GNT5YFRoWH+q2J+luZ9wEVJ7gCeI9sZ
L8glTQ0hhQn8cALyAifq1hQ=
=Rs1I
-----END PGP SIGNATURE-----
--v9Ux+11Zm5mwPlX6--
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/