Peter Grehan
bd8fa19da3
Quick hack-o-rama to allow the Xorg Radeon driver to start up. It
...
tries to mmap memory outside of the available BARs, so allow the
range checks to be relaxed with a sysctl.
2005-05-21 00:22:57 +00:00
Peter Grehan
eb1c12f028
Optimize putc routine to write 2 ints instead of 8 chars to uncached
...
framebuffer memory. Speeds up system time of large ascii file cat
by 4x.
Inspired by: Linux scrolling so damned fast.
2005-03-19 01:43:29 +00:00
Peter Grehan
b4ac36978f
Mods for Xorg server:
...
- store assigned PCI addresses at cninit time for later mmap range
check
- implement set_border to scrub X remnants when switching back to VTYs
- implement mmap, only allowing addresses within the range of the
console adapter.
2005-02-25 02:29:01 +00:00
Warner Losh
60727d8b86
/* -> /*- for license, minor formatting changes
2005-01-07 02:29:27 +00:00
Marius Strobl
39513fa664
Instead of "OpenFirmware", "openfirmware", etc. use the official spelling
...
"Open Firmware" from IEEE 1275 and OpenFirmware.org (no pun intended).
Ok'ed by: tmm
2004-08-16 15:45:27 +00:00
Peter Grehan
dbc13869ee
Advertise that color is supported so that syscons doesn't come up
...
in monochrome mode when run as init.
2004-08-16 06:26:15 +00:00
Peter Grehan
45329b8ee6
Add 32-bit framebuffer support. Tested on PearPC at lo-res, too painful
...
to watch at hi-res.
2004-07-06 03:22:05 +00:00
Peter Grehan
40cdee9dab
Catchup to now-required <sys/module.h> for PowerPC
2004-06-25 13:42:48 +00:00
Poul-Henning Kamp
89c9c53da0
Do the dreaded s/dev_t/struct cdev */
...
Bump __FreeBSD_version accordingly.
2004-06-16 09:47:26 +00:00
Peter Grehan
439696f355
Correctly create interrupt key for PCI, which is the OpenFirmware
...
pci-hi/med/lo + node 'interrupts' property. This worked by
accident until recent notebooks required correct operation.
Tested by: Suleiman Souhlal <refugee@segfaulted.com>
2004-02-10 23:57:35 +00:00
Peter Grehan
462ded3729
A syscons implementation using the 8-bit framebuffer set up by
...
OpenFirmware. Not at all optimized, but provides a PC-style
user-experience.
Tested on revA imac, B&W G3, 2k iBook, and G4 eMac.
2004-01-21 05:16:23 +00:00
Warner Losh
d2c5276d96
Prefer new location of pci include files (which have only been in the
...
tree for two or more years now), except in a few places where there's
code to be compatible with older versions of FreeBSD.
2003-08-22 07:39:05 +00:00
Peter Grehan
03f5c00144
Simplify ofw_pci_fixup(). It doesn't need to be recursive, since the
...
bridge code already handles IRQ adjustment on the far side of a bridge.
Reviewed by: benno
2003-03-03 12:05:06 +00:00
Benno Rice
f13d93ce55
Make ofw_pci_find_node() use the reg property instead of the
...
assigned-addresses property. This works a lot better.
2003-01-09 12:24:19 +00:00
Benno Rice
a65a280612
Add a pcib variant to allow us to fix up interrupt assignments.
...
We probably want to do something wrt bus enumeration as well at some point.
2003-01-09 12:04:18 +00:00
Benno Rice
2686f05627
OpenFirmware PCI support code.
...
This and the sparc64 equivalent should probably be merged at some point.
2002-07-09 13:27:58 +00:00