Il 12/06/2012 13:19, Pavel Hrdina ha scritto:
> } else {
> - /* XXX: status0 handling is broken for read/write
> - commands, so we do this hack. It should be suppressed
> - ASAP */
> - fdctrl->fifo[0] =
> - FD_SR0_SEEK | (cur_drv->head << 2) | GET_CUR_DRV(fdctrl);
> + fdctrl->fifo[0] = (fdctrl->status0 & ~FD_SR0_HEAD) |
> GET_CUR_DRV(fdctrl);Should bit 0 be cleared also, before ORing GET_CUR_DRV(fdctrl)? Paolo
