From owner-freebsd-hackers@FreeBSD.ORG Sun Jul 1 16:11:00 2007 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5A8EF16A400 for ; Sun, 1 Jul 2007 16:11:00 +0000 (UTC) (envelope-from freebsd@sopwith.solgatos.com) Received: from schitzo.solgatos.com (pool-71-117-237-217.ptldor.fios.verizon.net [71.117.237.217]) by mx1.freebsd.org (Postfix) with ESMTP id 3A69813C469 for ; Sun, 1 Jul 2007 16:10:58 +0000 (UTC) (envelope-from freebsd@sopwith.solgatos.com) Received: from schitzo.solgatos.com (localhost.home.localnet [127.0.0.1]) by schitzo.solgatos.com (8.13.8/8.13.8) with ESMTP id l61GAvnN011244; Sun, 1 Jul 2007 09:10:57 -0700 Received: from sopwith.solgatos.com (uucp@localhost) by schitzo.solgatos.com (8.13.8/8.13.4/Submit) with UUCP id l61GAvbm011241; Sun, 1 Jul 2007 09:10:57 -0700 Received: from localhost by sopwith.solgatos.com (8.8.8/6.24) id QAA29911; Sun, 1 Jul 2007 16:01:29 GMT Message-Id: <200707011601.QAA29911@sopwith.solgatos.com> To: Peter B In-reply-to: Your message of "Sun, 01 Jul 2007 05:08:30 +0200." <200707010308.l6138U24009649@brother.ludd.ltu.se> Date: Sun, 01 Jul 2007 09:01:29 +0100 From: Dieter X-Mailman-Approved-At: Sun, 01 Jul 2007 16:22:33 +0000 Cc: freebsd-hackers@freebsd.org Subject: Re: SII3512 rev0 ? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Jul 2007 16:11:00 -0000 > >> 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.