MFC: r191076
- Remove the second license as I'm also fine with the first one.
- Remove redundant softc members for RIDs.
- Change some softc members to be unsigned where more appropriate.
- Add some missing const.
- Remove support for mmap(2)'ing VGA I/O as it was broken [1] and
not required by X.Org anyway.
- Fix some confusion between bus, physical and virtual addresses
which mostly consisted in using members of struct video_adapter
inappropriately but wasn't fatal except for the regular framebuffer
mmap(2)'ing.
- Remove redundant bzero(9)'ing of the softc.
- Don't map the framebuffer twice in case the firmware has already
mapped it as besides wasting resources this isn't possible with
all MMUs. This is a bit tricky as a) just because the firmware
provides a property with a virtual address doesn't mean it's
actually mapped (but typically is when the framebuffer is the
console) and b) the firmware doesn't necessarily map it with
the same byteorder as we do. This makes machfb(4) work on machines
with cheetah-class MMUs (including X.Org).
Reported by: Michael Plass [1]
Approved by: re (kib)
git-svn-id: svn://svn.freebsd.org/base/releng/7.2@191231
ccf9f872-aa2e-dd11-9fc8-
001c23d0bc1f
MFC: r191072
Fix whitespace.
Approved by: re (kib)
git-svn-id: svn://svn.freebsd.org/base/releng/7.2@191229
ccf9f872-aa2e-dd11-9fc8-
001c23d0bc1f
MFC r191218 and related backout r191220.
More fallout from negative dotdot caching. Negative entries should
be removed from and reinserted to proper ncneg list.
Reported by: pho
Submitted by: kib
Approved by: re (kib)
git-svn-id: svn://svn.freebsd.org/base/releng/7.2@191224
ccf9f872-aa2e-dd11-9fc8-
001c23d0bc1f
MFC: Use a disk address instead of an int to hold the starting offset of an
open partition.
Approved by: re (kib)
git-svn-id: svn://svn.freebsd.org/base/releng/7.2@191215
ccf9f872-aa2e-dd11-9fc8-
001c23d0bc1f
Merge r190708 from HEAD to releng/7.2:
Fix KBI breakage by r190520 which affects older linux.ko binaries:
1) Move the new field (brand_note) to the end of the Brandinfo structure.
2) Add a new flag BI_BRAND_NOTE that indicates that the brand_note pointer
is valid.
3) Use the brand_note field if the flag BI_BRAND_NOTE is set and as old
modules won't have the flag set, so the new field brand_note would be
ignored.
Suggested by: jhb
Reviewed by: jhb
Approved by: re (Ken Smith), kib (mentor)
git-svn-id: svn://svn.freebsd.org/base/releng/7.2@191213
ccf9f872-aa2e-dd11-9fc8-
001c23d0bc1f
MFC r175055
Defer setting either PG_CACHED or PG_FREE until after the free page
queues lock is acquired. Otherwise, the state of a reservation's
pages' flags and its population count can be inconsistent. That could
result in a page being freed twice.
(This change should have been included in the MFC of the superpages
support.)
Thanks to: pho for an illuminating crash
Approved by: re (kib)
git-svn-id: svn://svn.freebsd.org/base/releng/7.2@191209
ccf9f872-aa2e-dd11-9fc8-
001c23d0bc1f
MFC r191081-191082:
Properly handle negative cache enries found through dotdot lookups.
Submitted by: tegge
Approved by: re(kib)
_M sys
M sys/kern/vfs_cache.c
_M sys/dev/cxgb
_M sys/dev/ath/ath_hal
_M sys/contrib/pf
git-svn-id: svn://svn.freebsd.org/base/releng/7.2@191107
ccf9f872-aa2e-dd11-9fc8-
001c23d0bc1f
Add package directory for 7.2-REL. While here add the one for 6.4-REL.
Approved by: re (implicit)
git-svn-id: svn://svn.freebsd.org/base/releng/7.2@191100
ccf9f872-aa2e-dd11-9fc8-
001c23d0bc1f
Bump __FreeBSD_version for 7.2-REL plus the shift to show this is a
release branch.
Approved by: re (implicit)
git-svn-id: svn://svn.freebsd.org/base/releng/7.2@191099
ccf9f872-aa2e-dd11-9fc8-
001c23d0bc1f
Almost ready for 7.2-RC1 builds.
Approved by: re (implicit)
git-svn-id: svn://svn.freebsd.org/base/releng/7.2@191098
ccf9f872-aa2e-dd11-9fc8-
001c23d0bc1f
Update CVS tag to RELENG_7_2.
Approved by: re (implicit)
git-svn-id: svn://svn.freebsd.org/base/releng/7.2@191097
ccf9f872-aa2e-dd11-9fc8-
001c23d0bc1f
Bump version from 7.1 to 7.2.
Approved by: re (implicit)
git-svn-id: svn://svn.freebsd.org/base/releng/7.2@191096
ccf9f872-aa2e-dd11-9fc8-
001c23d0bc1f
Change default version for manual pages to 7.2.
Approved by: re (implicit)
git-svn-id: svn://svn.freebsd.org/base/releng/7.2@191095
ccf9f872-aa2e-dd11-9fc8-
001c23d0bc1f
Update branch to use.
Approved by: re (implicit)
git-svn-id: svn://svn.freebsd.org/base/releng/7.2@191094
ccf9f872-aa2e-dd11-9fc8-
001c23d0bc1f
Create releng/7.2 from stable/7 in preparation for 7.2-RELEASE.
Approved by: re (implicit)
git-svn-id: svn://svn.freebsd.org/base/releng/7.2@191087
ccf9f872-aa2e-dd11-9fc8-
001c23d0bc1f