summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/vm/seg_dev.c
diff options
context:
space:
mode:
authoreota <none@none>2006-04-30 16:34:33 -0700
committereota <none@none>2006-04-30 16:34:33 -0700
commit83220025eda9c621b0db2d970ab8b3cc5646ec41 (patch)
treef38a2f817e05762ce1ec2441b3d7390eb1a0c5f5 /usr/src/uts/common/vm/seg_dev.c
parentee28b43973d0c56e4ed6f509b223286ec70f2cfe (diff)
downloadillumos-gate-83220025eda9c621b0db2d970ab8b3cc5646ec41.tar.gz
6419907 ohci (possibly other drivers as well) can't do much of it's work
Diffstat (limited to 'usr/src/uts/common/vm/seg_dev.c')
-rw-r--r--usr/src/uts/common/vm/seg_dev.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/usr/src/uts/common/vm/seg_dev.c b/usr/src/uts/common/vm/seg_dev.c
index daa079e218..f24a1d46ed 100644
--- a/usr/src/uts/common/vm/seg_dev.c
+++ b/usr/src/uts/common/vm/seg_dev.c
@@ -3614,9 +3614,8 @@ devmap_umem_setup(devmap_cookie_t dhc, dev_info_t *dip,
if ((off + len) > cp->size)
return (DDI_FAILURE);
- /* check if the cache and endian attributes are supported */
- if (i_ddi_check_cache_attr(flags) == B_FALSE ||
- i_ddi_check_endian_attr(accattrp) == B_FALSE)
+ /* check if the cache attributes are supported */
+ if (i_ddi_check_cache_attr(flags) == B_FALSE)
return (DDI_FAILURE);
/*
@@ -3720,9 +3719,8 @@ devmap_umem_remap(devmap_cookie_t dhc, dev_info_t *dip,
if (flags != 0)
return (DDI_FAILURE);
- /* check if the cache and endian attributes are supported */
- if (i_ddi_check_cache_attr(flags) == B_FALSE ||
- i_ddi_check_endian_attr(accattrp) == B_FALSE)
+ /* check if the cache attributes are supported */
+ if (i_ddi_check_cache_attr(flags) == B_FALSE)
return (DDI_FAILURE);
if ((dhp->dh_prot & dhp->dh_orig_maxprot & maxprot) != dhp->dh_prot)