diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2017-07-11 12:24:50 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2017-09-27 19:02:28 -0400 |
commit | e5a0b6163703627728f978d079d8c5f449af5fdd (patch) | |
tree | 36ab88dfb7bb08f51b8f73100d50941d25d5bd94 /src/cdrom.c | |
parent | 04db972290a6f3c61920fc7498031f477911774e (diff) | |
download | seabios-e5a0b6163703627728f978d079d8c5f449af5fdd.tar.gz |
block: Rename disk_op_s->drive_gf to drive_fl
Now that the drive_s struct does not need to be in the f-segment,
rename references to drive_gf in the generic drive code to drive_fl.
This is just variable renames - no code changes.
Tested-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src/cdrom.c')
-rw-r--r-- | src/cdrom.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cdrom.c b/src/cdrom.c index a4f31add..828fb3b8 100644 --- a/src/cdrom.c +++ b/src/cdrom.c @@ -31,7 +31,7 @@ cdemu_read(struct disk_op_s *op) { struct drive_s *drive_gf = GET_LOW(emulated_drive_gf); struct disk_op_s dop; - dop.drive_gf = drive_gf; + dop.drive_fl = drive_gf; dop.command = op->command; dop.lba = GET_LOW(CDEmu.ilba) + op->lba / 4; @@ -136,8 +136,8 @@ cdrom_boot(struct drive_s *drive) struct disk_op_s dop; int cdid = getDriveId(EXTTYPE_CD, drive); memset(&dop, 0, sizeof(dop)); - dop.drive_gf = drive; - if (!dop.drive_gf || cdid < 0) + dop.drive_fl = drive; + if (!dop.drive_fl || cdid < 0) return 1; int ret = scsi_is_ready(&dop); |