svn commit: r206656 - stable/8/sys/arm/mv
Alexander Motin
mav at FreeBSD.org
Thu Apr 15 12:30:46 UTC 2010
Author: mav
Date: Thu Apr 15 12:30:46 2010
New Revision: 206656
URL: http://svn.freebsd.org/changeset/base/206656
Log:
MFC r206053, r206054:
Fill extended ATA command registers in cPRD to support 48bit commands.
Modified:
stable/8/sys/arm/mv/mv_sata.c
Directory Properties:
stable/8/sys/ (props changed)
stable/8/sys/amd64/include/xen/ (props changed)
stable/8/sys/cddl/contrib/opensolaris/ (props changed)
stable/8/sys/contrib/dev/acpica/ (props changed)
stable/8/sys/contrib/pf/ (props changed)
stable/8/sys/dev/xen/xenpci/ (props changed)
Modified: stable/8/sys/arm/mv/mv_sata.c
==============================================================================
--- stable/8/sys/arm/mv/mv_sata.c Thu Apr 15 12:26:24 2010 (r206655)
+++ stable/8/sys/arm/mv/mv_sata.c Thu Apr 15 12:30:46 2010 (r206656)
@@ -600,7 +600,12 @@ sata_channel_begin_transaction(struct at
crqb->crqb_ata_lba_mid = request->u.ata.lba >> 8;
crqb->crqb_ata_lba_high = request->u.ata.lba >> 16;
crqb->crqb_ata_device = ((request->u.ata.lba >> 24) & 0x0F) | (1 << 6);
+ crqb->crqb_ata_lba_low_p = request->u.ata.lba >> 24;
+ crqb->crqb_ata_lba_mid_p = request->u.ata.lba >> 32;
+ crqb->crqb_ata_lba_high_p = request->u.ata.lba >> 40;
+ crqb->crqb_ata_feature_p = request->u.ata.feature >> 8;
crqb->crqb_ata_count = request->u.ata.count;
+ crqb->crqb_ata_count_p = request->u.ata.count >> 8;
bus_dmamap_sync(ch->dma.work_tag, ch->dma.work_map,
BUS_DMASYNC_PREREAD | BUS_DMASYNC_PREWRITE);
More information about the svn-src-stable-8
mailing list