diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2013-12-11 18:32:12 -0500 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2013-12-12 23:14:19 -0500 |
commit | cd891f1b587c50ed189e84758073084884e23a2b (patch) | |
tree | e8d4999dd79d8c582e27eace01684cc14e176a37 /scripts/acpi_extract_preprocess.py | |
parent | f5beab400d264b205961bcef54ef8afc656d5498 (diff) | |
download | seabios-cd891f1b587c50ed189e84758073084884e23a2b.zip seabios-cd891f1b587c50ed189e84758073084884e23a2b.tar.gz seabios-cd891f1b587c50ed189e84758073084884e23a2b.tar.bz2 |
floppy: Encode command and flags into single value in floppy pio code.
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().
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'scripts/acpi_extract_preprocess.py')
0 files changed, 0 insertions, 0 deletions