Author: zbb Date: Thu Jan 2 11:24:04 2014 New Revision: 260189 URL: http://svnweb.freebsd.org/changeset/base/260189
Log: Revert r260165: Proper configuration of unmapped_buf_allowed should be used To avoid failures in bus_dmamap_sync() on ARM unmapped_buf_allowed should be set to 0. Hence, ARM-specific changes in AHCI should not be applied. Modified: head/sys/dev/ahci/ahci.c Modified: head/sys/dev/ahci/ahci.c ============================================================================== --- head/sys/dev/ahci/ahci.c Thu Jan 2 10:18:39 2014 (r260188) +++ head/sys/dev/ahci/ahci.c Thu Jan 2 11:24:04 2014 (r260189) @@ -3066,15 +3066,7 @@ ahciaction(struct cam_sim *sim, union cc if (ch->caps & AHCI_CAP_SPM) cpi->hba_inquiry |= PI_SATAPM; cpi->target_sprt = 0; -#ifdef __arm__ - /* - * Do not use unmapped buffers on ARM. Doing so will cause - * failure inside bus_dmamap_sync due to lack of VA. - */ - cpi->hba_misc = PIM_SEQSCAN; -#else cpi->hba_misc = PIM_SEQSCAN | PIM_UNMAPPED; -#endif cpi->hba_eng_cnt = 0; if (ch->caps & AHCI_CAP_SPM) cpi->max_target = 15; _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"