summaryrefslogtreecommitdiff
path: root/sys/arch/macppc
AgeCommit message (Collapse)Author
2013-02-09ater -> afterMiod Vallat
2013-01-31welcome to 5.3-BETAMiod Vallat
2013-01-21Only the mpcpcibus driver is actually using these structures so merge themMartin Pieuchot
in the appropriate .c file and remove unused fields while here.
2013-01-21Remove old functions to access MPC106 registers. Only one of them was usedMartin Pieuchot
to read the revision id that was wrong most of the time.
2013-01-21No need to include pcibrvar.hMartin Pieuchot
2013-01-21Remove unused variable, leftover from rev 1.36.Martin Pieuchot
2012-12-22Attach all known U3 AGP bridgesMartin Pieuchot
2012-12-13iMac G3 grahic cards have a ``misc'' pci subclass that's why they weren'tMartin Pieuchot
attached to vgafb(4) since the use of the generic DEVICE_IS_VGA_PCI macro in r1.26. Correct this and document why we should attach devices with such subclass. Fix a regression introduced in august when adding the glue to attach drm(4) on macppc, reported by brynet@ and nick@ on bugs@, thanks and sorry for the delay!
2012-12-10Correct macobio functions to only read and write one byte of data insteadMartin Pieuchot
of four. This fix a kernel panic on PowerMac G5 present since r1.22 of i2s.c, issue reported by Chris Jackman, thanks!
2012-12-09Recognize 7448 and 970MP processors.Brad Smith
ok mpi@
2012-12-08Fix a comment now that PowerPC 970 are recognized, make it clear thatMartin Pieuchot
changing the frequency to a quarter mode is only supported by 970MP.
2012-12-08Recognize PowerPC 970 CPUs present in early PowerMac G5 from 2003 (7,2 andMartin Pieuchot
7,3) and let OpenBSD boot on these machines, yay! The 970 are similar to the 970FX except that they are manufactured in 130nm. Fix an issue reported by Andrew Fresh and kirby@ on misc@
2012-12-06Implement bus_space_mmap(9).Martin Pieuchot
ok kettenis@
2012-12-05Remove excessive sys/cdefs.h inclusionTheo de Raadt
ok guenther millert kettenis
2012-12-04Enable agp(4)Martin Pieuchot
2012-12-04Add support for Uninorth AGP bridges found in most if not all the macppcMartin Pieuchot
machines with a G3 or G4 microprocessor. It would not be difficult to add support for U3 bridges found in G5 powered macppc to this driver but I don't have such hardware.
2012-12-04Make bus_dmamem_mmap(9) understand the BUS_DMA_NOCACHE flag, required forMartin Pieuchot
upcoming agp changes. ok kettenis@
2012-12-02Determine whether we're currently on the alternative signal stackPhilip Guenthe
dynamically, by comparing the stack pointer against the altstack base and size, so that you get the correct answer if you longjmp out of the signal handler, as tested by regress/sys/kern/stackjmp/. Also, fix alt stack handling on vax, where it was completely broken. Testing and corrections by miod@, krw@, tobiasu@, pirofti@
2012-11-15Print UniNorth/U3 revision number, taken from opemfirmare, to know whichMartin Pieuchot
AGP chipset is present. This will help if some quirks are needed. ok mikeb@, kettenis@, miod@
2012-10-14The msdos1mb file has not been used since we got newfs_msdos.Theo de Raadt
ok krw
2012-10-08Revamp the sequences for suspend/hibernate -> resume so that the codeTheo de Raadt
paths are reflexive. It is now possible to fail part-way through a suspend sequence, and recover along the resume code path. Split DVACT_SUSPEND by adding a new DVACT_POWERDOWN method is used after hibernate (and suspend too) to finish the job. Some drivers must be converted at the same time to use this instead of shutdown hooks (the others will follow at a later time) ok kettenis mlarkin
2012-10-08push irqloop warnings into #ifdef DEBUGTheo de Raadt
2012-09-27enable smscJonathan Gray
2012-09-08Include files.agp to be able to check against NAGP in the drm agp glue.Martin Pieuchot
2012-09-02Allow bootblocks to build in PIE; joint effort with pascalTheo de Raadt
boot.mac might still have a problem since it did change size... looking for a testing report.
2012-09-02Bump the buffer size from 32 to 128 bytes, because some responses mayMartin Pieuchot
have 120 bytes of data. Diff by briggs@NetBSD, pointed out by and ok miod@
2012-08-30Determine the memory and mmio regions based on previously initialzed BARMartin Pieuchot
structures and add the necessary glue to attach drm(4). ok kettenis@
2012-08-30Add the possibility to map DMA memory non-cached, based on the i386/amd64Martin Pieuchot
implementation. For the moment only the BUS_DMA_NOCACHE macro is required to build drm on macppc but it will be used soon. ok kettenis@
2012-08-28Add -nopie to LINKFLAGS on ELF architectures. Note that this needs anPascal Stumpf
updated gcc and ld to understand the new -nopie flag. ok deraadt@
2012-08-24ansiJonathan Gray
2012-08-23kill nnpfs deadTheo de Raadt
2012-08-22Build the kernel with -fno-pie. Just getting Ms out of my tree; this will bePascal Stumpf
cleaned up later. ok deraadt@
2012-08-21Add NOPIE= bits for sys/arch/*/stand to ensure that bootblocks will always bePascal Stumpf
built with -fno-pie. This gets the hairiest part of PIE out of the way ... ok deraadt@
2012-08-21For interrupts that get established before we attach the interrupt controller,Mark Kettenis
store the type of the interrupt (level, edge). ok miod@, mpi@
2012-06-26create new machine/_float.h which is namespace clean. create a newTheo de Raadt
MI float.h which pulls in and defines the values that are needed from there, and repair sys/limits.h so that it defines the values it needs as well (depending on POSIX version, XPG version, etc). guenther has a more exact selection of that coming for limits.h. this also fixes a few mistakes for the vax. reviewed by kettenis and guenther.
2012-06-21Only allow the memory and mmio regions to be mmap()'ed at their realMartin Pieuchot
addresses, remove the magic value to uniformize access to the mmio and doesn't map the unused pseudo-vga registers. While here simplify the console attachement logic and removed some unused global variables. Tested by matthieu@ and myself on various different G3 and G4 models. ok kettenis@
2012-06-20move to 5.2-betaTheo de Raadt
2012-04-06tedu the raidframe.Joel Sing
ok deraadt@
2012-03-26Add APM_IOC_HIBERNATETheo de Raadt
2012-02-24Correct the spelling of "transferred" and "transferring"Philip Guenthe
from Tobias Ulmer (tobiasu at tmux.org); ok jmc@, krw@
2012-01-29Ansify and remove useless variable.Martin Pieuchot
ok miod@
2012-01-29Start cleaning vgafb(4) to be make it more like vga(4). Remove unusedMartin Pieuchot
function and move vgafb functions to there right place. ok miod@
2012-01-11crank to 5.1-betaTheo de Raadt
2012-01-06Attach ath(4) to cardbus and add it to bsd.rdMartin Pieuchot
ok jsg@, kettenis@, deraadt@
2011-11-19Remove unused function forgotten during the switch to the interactiveMartin Pieuchot
bootloader and make use of strrchr() in hfs_open because we have it. ok krw@
2011-11-19Rewrite the parsing of arguments given to the ofwboot and restore theMartin Pieuchot
possibility to boot a kernel from an HFS partition when there is no OpenBSD partition on the disk. Problem reported by cbsoleil at gmail.com and analysed by otto@. Tested by otto@, krw@ and drahn@ ok krw@, drahn@
2011-11-15Simplify various parts of the puc(4) attachment code. Tested lightlyTheo de Raadt
by krw and myself.
2011-11-10Remove unused %s from a printf(), properly cast const void* to constKenneth R Westerback
int*. From Marco Trillo via tech@ long ago.
2011-11-08Garbage collect now unused MKDEP definitions. ok deraadt@Matthieu Herrb
2011-10-28Enable interrupts while processing off level interrupts. simplify codeDale Rahn
instead of having two levels of looping. commit it for testing deraadt@