2001-07-17 09:32:35

by Andrey Panin

[permalink] [raw]
Subject: [PATCH] PnP BIOS: bugfixes


Hi all,

this patch (2.4.6-ac5) fixed two significant bugs in PnP BIOS enumeration code:
- pnpbios_build_devlist() doesn't check pnp_bios_get_dev_node() return code
and always builds device list with approximately 250 bogus entries;
- pnpid32_to_pnpid() function generates bogus strings instead of PNPxxxx.

Patch tested on my machine using parport_pc module.

BTW why pnpid32_to_pnpid() builds device ID using lovercase chars like PNP0c01,
may be PNP0C01 will be better ?

Best regards.

--
Andrey Panin | Embedded systems software engineer
[email protected] | PGP key: http://www.orbita1.ru/~pazke/AndreyPanin.asc


Attachments:
(No filename) (0.00 B)
(No filename) (232.00 B)
Download all attachments