ATA patch for RELENG_6 ... a patch looking for a good home
Sean Bruno
sbruno at miralink.com
Sun May 25 23:21:25 UTC 2008
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
More information about the freebsd-drivers
mailing list