[OpenBIOS] [PATCH 1/5] Remove struct ata_sector and all references to it

Laurent Vivier Laurent at vivier.eu
Sun May 17 21:01:41 CEST 2009

Le samedi 16 mai 2009 à 20:16 -0400, Pavel Roskin a écrit :
> struct ata_sector was meant to facilitate taking upper and lower byte of
> the sector.  However, the implementation is incorrect, as "struct" and
> "union" are swapped in the definition.  What's worse, it's an overkill
> for that simple task.  The code should be transparent without knowing
> how struct ata_sector is defined.

Applied a slightly modified patch (remove useless "& 0xff") as r489


More information about the OpenBIOS mailing list