Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 May 2008 16:21:23 -0700
From:      Sean Bruno <sbruno@miralink.com>
To:        freebsd-drivers@freebsd.org
Subject:   ATA patch for RELENG_6 ... a patch looking for a good home
Message-ID:  <4839F473.6070109@miralink.com>

next in thread | raw e-mail | index | archive | help
I got this patch a while ago and I don't see it appearing in RELENG_6
yet.  Can someone "sheperd" this along or point out why it's not acceptable?

This patch was generated by a failure to boot correctly off of a compact
flash IDE module from Transcend.

Index: dev/ata/ata-chipset.c
===================================================================
--- dev/ata/ata-chipset.c       (.../FreeBSD_RELENG_6_13APR07/src/sys)
(revision 5436)
+++ dev/ata/ata-chipset.c       (.../miralink.FreeBSD.6/src/sys)
(revision 5436)
@@ -2059,7 +2059,8 @@
            atadev->mode = ATA_SA150;
     }
     else {
-       mode = ata_limit_mode(dev, mode, ATA_UDMA5);
+       /*mode = ata_limit_mode(dev, mode, ATA_UDMA5);*/
+       mode = ata_check_80pin(dev, ATA_UDMA5);
        if (!ata_controlcmd(dev, ATA_SETFEATURES, ATA_SF_SETXFER, 0, mode))
            atadev->mode = mode;
     }

-- 
Sean Bruno
MiraLink Corporation
6015 NE 80th Ave, Ste 100
Portland, OR 97218
Phone 503-621-5143
Fax 503-621-5199





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4839F473.6070109>