Commit graph

9 commits

Author SHA1 Message Date
Marius Strobl
ee0889927a Correct an inverted !__sparc64__.
Approved by:	rnoland
2010-02-08 00:14:49 +00:00
Robert Noland
2793e9a03b Update to 0.10.6 2009-05-07 19:38:59 +00:00
Marius Strobl
38c027f72e Given that the x86-centric approach of mmap(2)'ing PCI memory via
mem(4) doesn't work on sparc64, revert to the pre-libpciaccess
approach of using the tty(4) device opened by the X server there.
Hopefully we have proper MI means of doing so one day.

Approved by:	flz
2009-03-31 20:19:04 +00:00
Robert Noland
896fe624dc Use the new PCIOCGETBAR if it is available, rather than frob the
BARs ourself.

Submitted by:	Nathan Whitehorn <nwhitehorn@freebsd.org>
2009-02-26 02:05:29 +00:00
Robert Noland
eb22faa9bc Fixup a couple of typos from the previous patch.
This should fix BIOS mapping on those chips that don't have a specific
pci rom.

Reported by:	Michael Butler <imb@protected-networks.net>
2009-02-08 23:44:20 +00:00
Robert Noland
fad2d794fa Locate the BIOS BAR via the pci registers if it is available.
Calculate the correct BIOS size as well.  Previously, we just
always used the standard 64k VGA bios entry at 0xc0000.  We still
do that if we don't find a BIOS BAR.
2009-02-08 06:04:32 +00:00
Robert Noland
87cc141117 Some drivers depend on pci chip revision id to function properly. We
had the info, but we weren't populating the field.  Do that now.

This fixes at least mga, possibly other drivers.

Reported by:	Mark Knight <markk@knigma.org>
Tested by:	Mark Knight <markk@knigma.org>,
		Warren Block <wblock@wonkity.com>
2009-01-29 18:50:48 +00:00
Robert Noland
70730d4ba6 We shouldn't go around frobbing pci BARs while they are enabled.
Commit these fixes until I get them committed upstream and a
release cut.

Approved by:	garga (mentor, implicit)
2009-01-25 17:05:10 +00:00
Florent Thoumie
340b57f8be - Update X.org ports to 7.4+ (few ports are more recent than the katamari).
- Bump PORTREVISION for all ports depending on libglut since the shlib
version number went from 4 to 3.
- Bump PORTREVISION for all ports depending on libXaw as libXaw.so.8 isn't
installed anymore.
- Couple of ports fixes (mostly missing xorg components added to USE_XORG).
2009-01-23 16:28:36 +00:00