| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
| |
This replaces d_mmap() with the d_mmap2() implementation and also
changes the type of offset to vm_ooffset_t.
Purge d_mmap2().
All driver modules will need to be rebuilt since D_VERSION is also
bumped.
Reviewed by: jhb@
MFC after: Not in this lifetime...
|
|
|
|
|
|
|
| |
propname parameter is const
Reviewed by: imp, current@
Approved by: jhb (mentor)
|
|
|
|
| |
switching capabilities of the MPC7447A and MPC7448.
|
|
|
|
|
| |
build. This is required for the IBM Mambo simulator, as well as a variety
of non-Apple PowerPC hardware.
|
|
|
|
|
|
|
|
|
|
| |
provided, for example, on the PowerPC 970 (G5), as well as on related CPUs
like the POWER3 and POWER4.
This also adds support for various built-in hardware found on Apple G5
hardware (e.g. the IBM CPC925 northbridge).
Reviewed by: grehan
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
the code for parsing interrupt maps) to PowerPC and reflect their new MI
status by moving them to the shared dev/ofw directory.
This commit also modifies the OFW PCI enumeration procedure on PowerPC to
allow the bus to find non-firmware-enumerated devices that Apple likes to add,
and adds some useful Open Firmware properties (compat and name) to the pnpinfo
string of children on OFW SBus, EBus, PCI, and MacIO links. Because of the
change to PCI enumeration on PowerPC, X has started working again on PPC
machines with Grackle hostbridges.
Reviewed by: marius
Obtained from: sparc64
|
|
|
|
|
|
|
|
| |
switch
by redoing the Open Firmware card initialization calls in ofwfb_set_mode(). This
uses the same trick (setting V_ADP_MODECHANGE) to arrange this as machfb(4) and
creatorfb(4).
|
|
|
|
| |
MFC after: 7.1-RELEASE
|
|
|
|
| |
nexus by only attaching to a device with no OF node.
|
|
|
|
|
|
|
|
|
|
|
| |
simplifies certain device attachments (Kauai ATA, for instance), and makes
possible others on new hardware.
On G5 systems, there are several otherwise standard PCI devices
(Serverworks SATA) that will not allow their interrupt properties to be
written, so this information must be supplied directly from Open Firmware.
Obtained from: sparc64
|
|
|
|
|
|
|
|
| |
port by OF the syscons won't take over console. Only attach syscons to "screen"
if /chosen/stdout is not connected, which could be the case when loader(8)
is booted directly from the OF. This fixes Marcel's Xserver.
Reported by: marcel
|
|
|
|
|
|
|
| |
to "screen" node directly. The problem is that by default OF on some (all?)
Macs either doesn't provide "/chosen/stdout" or redirects it somewhere,
unless you boot in manual mode via CMD-ALT-O-F. It's nice to see normal
FreeBSD boot output instead of blank gray screen.
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
MFC after: 1 day
|
|
|
|
|
| |
tries to mmap memory outside of the available BARs, so allow the
range checks to be relaxed with a sysctl.
|
|
|
|
|
|
|
| |
framebuffer memory. Speeds up system time of large ascii file cat
by 4x.
Inspired by: Linux scrolling so damned fast.
|
|
|
|
|
|
|
|
| |
- 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.
|
| |
|
|
|
|
|
|
| |
"Open Firmware" from IEEE 1275 and OpenFirmware.org (no pun intended).
Ok'ed by: tmm
|
|
|
|
| |
in monochrome mode when run as init.
|
|
|
|
| |
to watch at hi-res.
|
| |
|
|
|
|
| |
Bump __FreeBSD_version accordingly.
|
|
|
|
|
|
|
| |
pci-hi/med/lo + node 'interrupts' property. This worked by
accident until recent notebooks required correct operation.
Tested by: Suleiman Souhlal <refugee@segfaulted.com>
|
|
|
|
|
|
|
| |
OpenFirmware. Not at all optimized, but provides a PC-style
user-experience.
Tested on revA imac, B&W G3, 2k iBook, and G4 eMac.
|
|
|
|
|
| |
tree for two or more years now), except in a few places where there's
code to be compatible with older versions of FreeBSD.
|
|
|
|
|
|
| |
bridge code already handles IRQ adjustment on the far side of a bridge.
Reviewed by: benno
|
|
|
|
| |
assigned-addresses property. This works a lot better.
|
|
|
|
| |
We probably want to do something wrt bus enumeration as well at some point.
|
|
This and the sparc64 equivalent should probably be merged at some point.
|