[SeaBIOS] [PATCHv2 1/3] floppy: Encode command and flags into single value in floppy pio code.

Kevin O'Connor kevin at koconnor.net
Tue Dec 17 06:09:24 CET 2013

On Thu, Dec 12, 2013 at 12:06:35PM -0500, Kevin O'Connor wrote:
> Eliminate struct floppy_pio_s and change floppy_pio() to take the
> command type and parameters in a single encoded value.  This makes the
> code similar to the ps2port.c pio code.  It also reduces some of the
> boilerplate code in the callers of floppy_pio().
> Also, collapse pairs of floppy_select_drive() and floppy_pio() calls
> into new call floppy_drive_pio().

FYI, I have committed this patch.


More information about the SeaBIOS mailing list