fdc: Rename fdctrl_reset_fifo() to fdctrl_to_command_phase()
commit07e415f2398d9cfb21cdd5ef902445032ba54556
authorKevin Wolf <kwolf@redhat.com>
Thu, 21 May 2015 13:19:31 +0000 (21 15:19 +0200)
committerJohn Snow <jsnow@redhat.com>
Tue, 2 Jun 2015 17:34:44 +0000 (2 13:34 -0400)
treed404270317f02479644a797f8fc3558ec752e57e
parent42d58e7c6760cb9c55627c28ae538e27dcf2f144
fdc: Rename fdctrl_reset_fifo() to fdctrl_to_command_phase()

What all callers of fdctrl_reset_fifo() really want to do is to start
the command phase, where writes to the data port initiate a new command.

The function doesn't only clear the FIFO, but also sets up the state so
that a new command can be received. Rename it to reflect this.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: John Snow <jsnow@redhat.com>
Message-id: 1432214378-31891-2-git-send-email-kwolf@redhat.com
Signed-off-by: John Snow <jsnow@redhat.com>
hw/block/fdc.c