Re: [Qemu-devel] [PATCH 2/3] fdc: Fix false FD_SR0_SEEK

2012-09-06 Thread Hervé Poussineau
Kevin Wolf a écrit : fdctrl_start/stop_transfer() used to set FD_SR0_SEEK no matter if there actually was a seek or not. This is obviously wrong. fdctrl_start_transfer() has this information because it performs the seek itself. fdctrl_stop_transfer() gets status0 passed and callers already take

[Qemu-devel] [PATCH 2/3] fdc: Fix false FD_SR0_SEEK

2012-09-04 Thread Kevin Wolf
fdctrl_start/stop_transfer() used to set FD_SR0_SEEK no matter if there actually was a seek or not. This is obviously wrong. fdctrl_start_transfer() has this information because it performs the seek itself. fdctrl_stop_transfer() gets status0 passed and callers already take care of setting FD_SR0_