Subject: Re: Please test BIOS device matching code (i386)
To: Manuel Bouyer <bouyer@antioche.lip6.fr>
From: None <drochner@zel459.zel.kfa-juelich.de>
List: port-i386
Date: 03/11/1999 13:26:24
bouyer@antioche.lip6.fr said:
>  	pvbcopy((void *)(0x400 + 0x75), &nhd, 1);
> +	nhd &= 0xff; 

pvbcopy() copies 1 byte out of the BIOS data area, so
the upper 3 bytes of "nhd" remain uninitialized.
The correct solution is to either declare "nhd" as
char or zero it before.

best regards
Matthias