summaryrefslogtreecommitdiffstats
path: root/sys/powerpc/ofw
Commit message (Collapse)AuthorAgeFilesLines
* - Make pcib_devclass private to sys/dev/pci/pci_pci.c and change all thejhb2006-01-061-5/+3
| | | | | | | various pcib drivers to use their own private devclass_t variables for their modules. - Use the DEFINE_CLASS_0() macro to declare drivers for the various pcib drivers while I'm here.
* Add a font width argument to vi_load_font_t, vi_save_font_t and vi_putm_tmarius2005-09-281-7/+5
| | | | | | | | | | | | | | | | and do some preparations for handling 12x22 fonts (currently lots of code implies and/or hardcodes a font width of 8 pixels). This will be required on sparc64 which uses a default font size of 12x22 in order to add font loading and saving support as well as to use a syscons(4)-supplied mouse pointer image. This API breakage is committed now so it can be MFC'ed in time for 6.0 and later on upcoming framebuffer drivers destined for use on sparc64 and which are expected to rely on using font loading internally and on a syscons(4)-supplied mouse pointer image can be easily MFC'ed to RELENG_6 rather than requiring a backport. Tested on: i386, sparc64, make universe MFC after: 1 week
* Remove unnecessary and alarming printf.grehan2005-08-161-1/+1
| | | | MFC after: 1 day
* Quick hack-o-rama to allow the Xorg Radeon driver to start up. Itgrehan2005-05-211-0/+13
| | | | | tries to mmap memory outside of the available BARs, so allow the range checks to be relaxed with a sysctl.
* Optimize putc routine to write 2 ints instead of 8 chars to uncachedgrehan2005-03-191-14/+41
| | | | | | | framebuffer memory. Speeds up system time of large ascii file cat by 4x. Inspired by: Linux scrolling so damned fast.
* Mods for Xorg server:grehan2005-02-252-6/+113
| | | | | | | | - 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.
* /* -> /*- for license, minor formatting changesimp2005-01-072-2/+2
|
* Instead of "OpenFirmware", "openfirmware", etc. use the official spellingmarius2004-08-161-1/+1
| | | | | | "Open Firmware" from IEEE 1275 and OpenFirmware.org (no pun intended). Ok'ed by: tmm
* Advertise that color is supported so that syscons doesn't come upgrehan2004-08-161-2/+2
| | | | in monochrome mode when run as init.
* Add 32-bit framebuffer support. Tested on PearPC at lo-res, too painfulgrehan2004-07-062-29/+130
| | | | to watch at hi-res.
* Catchup to now-required <sys/module.h> for PowerPCgrehan2004-06-252-0/+2
|
* Do the dreaded s/dev_t/struct cdev */phk2004-06-161-1/+1
| | | | Bump __FreeBSD_version accordingly.
* Correctly create interrupt key for PCI, which is the OpenFirmwaregrehan2004-02-101-11/+17
| | | | | | | pci-hi/med/lo + node 'interrupts' property. This worked by accident until recent notebooks required correct operation. Tested by: Suleiman Souhlal <refugee@segfaulted.com>
* A syscons implementation using the 8-bit framebuffer set up bygrehan2004-01-212-0/+746
| | | | | | | OpenFirmware. Not at all optimized, but provides a PC-style user-experience. Tested on revA imac, B&W G3, 2k iBook, and G4 eMac.
* Prefer new location of pci include files (which have only been in theimp2003-08-221-3/+3
| | | | | tree for two or more years now), except in a few places where there's code to be compatible with older versions of FreeBSD.
* Simplify ofw_pci_fixup(). It doesn't need to be recursive, since thegrehan2003-03-031-19/+3
| | | | | | bridge code already handles IRQ adjustment on the far side of a bridge. Reviewed by: benno
* Make ofw_pci_find_node() use the reg property instead of thebenno2003-01-091-5/+5
| | | | assigned-addresses property. This works a lot better.
* Add a pcib variant to allow us to fix up interrupt assignments.benno2003-01-091-0/+118
| | | | We probably want to do something wrt bus enumeration as well at some point.
* OpenFirmware PCI support code.benno2002-07-092-0/+273
This and the sparc64 equivalent should probably be merged at some point.
OpenPOWER on IntegriCloud