Module Name: src Committed By: martin Date: Fri Oct 17 07:14:33 UTC 2014
Modified Files: src/sys/dev/pci [netbsd-7]: pci_map.c pcivar.h radeonfb.c src/sys/external/bsd/drm2/include/linux [netbsd-7]: pci.h Log Message: Pull up following revision(s) (requested by riastradh in ticket #144): sys/dev/pci/radeonfb.c: revision 1.85 sys/dev/pci/pcivar.h: revision 1.100 sys/dev/pci/pci_map.c: revision 1.31 sys/external/bsd/drm2/include/linux/pci.h: revision 1.9 Generalize pci_find_rom and use it to locate x86 video ROM in drm2. - Make pci_find_rom take the ROM `BAR' size as a parameter, instead of using pci_find_mem with the ROM `BAR' to detect the size. - Use it to find the x86 video ROM in [0xc0000, 0xe0000) in drm2, when nothing else reports that location. - Adapt the one other caller in radeonfb, which already has the maximum ROM size handy (romsz). XXX pullup to netbsd-7 To generate a diff of this commit: cvs rdiff -u -r1.30 -r1.30.12.1 src/sys/dev/pci/pci_map.c cvs rdiff -u -r1.99 -r1.99.4.1 src/sys/dev/pci/pcivar.h cvs rdiff -u -r1.84 -r1.84.2.1 src/sys/dev/pci/radeonfb.c cvs rdiff -u -r1.7.2.1 -r1.7.2.2 \ src/sys/external/bsd/drm2/include/linux/pci.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.