[PATCH] PnP BIOS: bugfixes

From: pazke@orbita1.ru
Date: Tue Jul 17 2001 - 04:32:08 EST


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
pazke@orbita1.ru        | PGP key: http://www.orbita1.ru/~pazke/AndreyPanin.asc



- 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/



This archive was generated by hypermail 2b29 : Mon Jul 23 2001 - 21:00:08 EST