[OpenBIOS] Hello. I'm on the driver floppy.c

Andreas Färber andreas.faerber at web.de
Thu Dec 30 20:59:33 CET 2010


Am 21.12.2010 um 19:19 schrieb Анатолий Литвяков:

> I think that you have, and Linux. there is a bug in the team  
> drive_specific_command (0x8e). you pass the first parameter as  
> (FD_Drive & 3). but you have to ((FD_Drive & 3) <5). if I'm wrong  
> then please explain how this team.

drivers/floppy.c has one search hit for FD_DRIVE & 3. FD_DRIVE is  
#define'd as 0. So (FD_DRIVE & 3) is < 5.
Maybe I misunderstand the question? What problem exactly are you  
observing? If it's just about cosmetics, please supply a patch, that's  
international. :)

Спасибо,

Andreas


More information about the OpenBIOS mailing list