[LinuxBIOS] filo ide speedup patch!

Ward Vandewege ward at gnu.org
Thu Apr 5 23:27:10 CEST 2007


On Thu, Apr 05, 2007 at 11:26:55PM +0200, Peter Stuge wrote:
> On Thu, Apr 05, 2007 at 04:47:37PM -0400, Ward Vandewege wrote:
> > Hmm, that's not it yet, output attached. Looks *very* similar to
> > last time.
> 
> It's identical. Did the change to drivers/ide.c really take?
> 
> Look around line 408 in pio_data_in() - there should just be
> 
>   return 0;
> 
> after the while loop.

Yeah, verified:

    if (!(ctrl->stat & IDE_STATUS_DRQ)) {
      print_status(ctrl);
      return -1;
    }
    insw(IDE_REG_DATA(ctrl), buffer, count/2);
    buffer += count;
    bytes -= count;
    ndelay(400);
  } while(bytes);

  return 0;
}

I've built the image again to rule out any silly mistakes, and still get the
same result.

Thanks,
Ward.

-- 
Ward Vandewege <ward at fsf.org>
Free Software Foundation - Senior System Administrator




More information about the coreboot mailing list