On Thu, Nov 07, 2013 at 08:10:16PM +0100, Stefan Sperling wrote:
> On Thu, Nov 07, 2013 at 08:06:11PM +0100, Sylvestre Gallon wrote:
> > +int
> > +rtsx_bus_width(sdmmc_chipset_handle_t sch, int width)
> > +{
> > +   struct rtsx_softc *sc = sch;
> > +
> > +   return (rtsx_set_bus_width(sc, width));
> 
> rtsx_set_bus_width() currently never returns an error so you'll
> need to tweak it as well.
> 
> I will test your diff on rtsx and sdhc.

This diff works with sdhc and provides an increase in read performance.

Unfortunately, the diff breaks rtsx. The disk manages to attach after
a CRC error, but it cannot be read. We'll need to figure this out.

rtsx0: CRC error
sdmmc0: SD_SEND_SCR send failed.
sdmmc0: mem init failed
scsibus3 at sdmmc0: 2 targets, initiator 0
sd2 at scsibus3 targ 1 lun 0: <SD/MMC, Drive #01, > SCSI2 0/direct fixed
sd2: 945MB, 512 bytes/sector, 1935360 sectors
sd2 detached
scsibus3 detached

Reply via email to