SII3512 rev0 ?

Dieter freebsd at sopwith.solgatos.com
Sun Jul 1 16:11:00 UTC 2007


> >> Any input on the reliability of SII3512 is also welcomed.
> >
> >dmesg | grep 3512
> >satalink0: Silicon Image SATALink 3512 (rev. 0x01)
> >
> >No reliability problems from the 3512.  (up 74 days)
> >
> >This is on an Alpha box running NetBSD.  I haven't tried the 3512
> >with FreeBSD.

I took a quick look at the drivers, and found a difference.

NetBSD:

	dev/pci/satalink.c

        /*
         * Rev. <= 0x01 of the 3112 have a bug that can cause data
         * corruption if DMA transfers cross an 8K boundary.  This is
         * apparently hard to tickle, but we'll go ahead and play it
         * safe.
         */
        if (PCI_REVISION(pa->pa_class) <= 0x01) {
                sc->sc_dma_maxsegsz = 8192;
                sc->sc_dma_boundary = 8192;

FreeBSD:

	dev/ata/ata-chipset.c

    if ((ctlr->chip->cfg2 & SIIBUG) && ch->dma) {
        /* work around errata in early chips */
        ch->dma->boundary = 16 * DEV_BSIZE;
        ch->dma->segsize = 15 * DEV_BSIZE;
    }

And of course there may be other differences I didn't find.


More information about the freebsd-hackers mailing list