diff options
author | imp <imp@FreeBSD.org> | 2002-12-03 08:34:20 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2002-12-03 08:34:20 +0000 |
commit | a633045c6d06c932a4a94e221732a1c41ac9d8c2 (patch) | |
tree | 1dea01a64d68833a042698899963b3a80bc91cb8 /include | |
parent | fb2ab15ed1ce4f7d83c60c06e101b090808f35f7 (diff) | |
download | FreeBSD-src-a633045c6d06c932a4a94e221732a1c41ac9d8c2.zip FreeBSD-src-a633045c6d06c932a4a94e221732a1c41ac9d8c2.tar.gz |
Properly account for prefetchable memory when a request is being made.
We allow the request to go through if it matches either a prefetchable
or a non-prefetchable part of the bridge. We do not check to make
sure it is the right kind of memory because most drivers to not yet
properly set RF_PREFETCHABLE (only cardbus seems to do so, and I'm not
entirely sure it does it right). RF_PREFETCHABLE was invented for
cardbus, so hasn't been properly documented yet.
This is still overridable by hw.pci.allow_unsupported_io_ranges, but
the need for that is greatly reduced, especially for the nvida driver.
Approved by: re
Reviewed by: jhb and many testers
Submitted by: Matt Emmerton (although this has been reworked somewhat)
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions