summaryrefslogtreecommitdiff
path: root/sys/arch/macppc
AgeCommit message (Collapse)Author
2013-08-12Match the macppc's framebuffer device with its OpenFirmware node likekms/radeonMartin Pieuchot
on sparc64.
2013-08-12rename drmsubmatch to vga_drmsubmatchMartin Pieuchot
2013-08-12files.drm is now included from arch-specific conf filesMartin Pieuchot
2013-08-10Move the device table inside the softc.Martin Pieuchot
2013-08-09Add urtwn(4) for upgradesMartin Pieuchot
2013-08-07Most network drivers include netinet/in_var.h, but apparently theyAlexander Bluhm
don't have to. Remove these include lines from macppc drivers. test and OK mpi@
2013-08-07Using phys_map for bus_space_map(9) is retarded. Use kernel_map just likeMark Kettenis
everybody else. ok mpi@, beck@, jsg@
2013-08-07Mimic what's done on sparc64 and parse the OpenFirmware device tree toMartin Pieuchot
enumerate the pci devices. This allow us to not store the interrupt vector in the interrupt line register and to not try to attach pci devices disabled by firmware. With inputs from and ok kettenis@
2013-07-16Don't use a non initialized variable and fix RCS Ids while here.Martin Pieuchot
Issue reported by Maxime Villard, diff from martin@
2013-07-07move to 5.4-betaTheo de Raadt
2013-07-06Use the write-only rasops code to speed up the console framebuffer.Martin Pieuchot
ok kettenis@
2013-07-06Add uhci* at cardbus, tested with a VIA VT83C572.Martin Pieuchot
2013-07-06Print the number of targets and the irq before looking for subdevices,Martin Pieuchot
like it was before r1.36, to correct the adb* lines in the dmesg.
2013-07-01sync comment with it's intended meaning.Jasper Lievisse Adriaanse
from martin@
2013-06-11final removal of daddr64_t. daddr_t has been 64 bit for a long enoughTheo de Raadt
test period; i think 3 years ago the last bugs fell out. ok otto beck others
2013-06-04Add support for virtual consoles, based on previous work done by kettenis@Martin Pieuchot
for inteldrm(4). ok miod@, kettenis@
2013-06-04Remove unused includes, constify cfattach and other small cleanings.Martin Pieuchot
2013-06-04Move function declaration where they belong.Martin Pieuchot
2013-06-04Do not pretend mapping the MMIO region when in fact we don't andMartin Pieuchot
clean some related code.
2013-06-04Spacing.Martin Pieuchot
2013-06-03There's no reason to have a separate structure to hold and duplicateMartin Pieuchot
the raster display data. Simplify this by using only one pointer to a struct rasops_info, the one in vga_config. While here remove unused fields from vga_config.
2013-06-03Be coherent when printing irq numbers.Martin Pieuchot
2013-06-03Correctly return the error code if uvm_km_kmemalloc() fails.Martin Pieuchot
2013-06-03Rework the logic for matching the boot device to allow for root onMartin Pieuchot
any drive attached to the first controller. Fix an issue reported by Jan Stary, hans at stare dot cz. Note that this new logic still doesn't allow for root on any drive attached to a secondary controller. ok miod@
2013-06-03more fuse in more places. credit: miodTed Unangst
2013-06-03Convert some internal APIs to use timespecs instead of timevalsPhilip Guenther
ok matthew@ deraadt@
2013-06-01add missing license (PD) blockJasper Lievisse Adriaanse
ok guenther@
2013-05-31Rename tpms(4), the driver for Apple USB touchpads, to utpms(4) and moveMartin Pieuchot
it to dev/usb because it could be used on intel based mac laptops. Discussed with jcs@, ok deraadt@
2013-05-31Unbreak after recent shutdown-hook removal.Martin Pieuchot
2013-05-30Enforce ca_activate tree-walks over the entire heirarchy for all events,Theo de Raadt
cleaning up some shutdown-hook related code on the way. (A few drivers related to sparc are still skipped at kettenis' request) ok kettenis mlarkin, tested by many others too
2013-05-15Introduce a global interrupt-aware mutex protecting dataAlexandre Ratchov
structures (including sound-card registers) from concurent access by syscall and interrupt code-paths. Since critical sections remain the same, calls to splraise/spllower can be safely replaced by calls to mtx_enter/mtx_leave with two exceptions: (1) mutexes are not reentrant (the inner splraise is thus removed), and (2) we're not allowed to sleep with a mutex (either msleep is used or the mutex is released before sleeping). ok and help from kettenis, a lot of work from armani
2013-04-23Don't assume time_t is an uint32_t.Martin Pieuchot
ok deraadt@
2013-04-21Unify the zs tty driver.Sebastian Reitenbach
Most of the hard work by mpi@, who provided the initial diff. Fixes for sparc from myself. Tested on sgi and sparc myself. Compiles and detects zstty on my powerbook, compile tested on sparc64 by me. Real testing with zs device on sparc64 by miod@ who also gave a lot of help and feedback. ok miod@, mpi@
2013-03-30reorder include search directories. cuts lookups by quite a bit.Ted Unangst
ok deraadt miod
2013-03-26sync TDIRS with realityJasper Lievisse Adriaanse
"looks good" deraadt@
2013-03-23refactor sys/param.h and machine/param.h. A lot of #ifdef _KERNEL is addedTheo de Raadt
to keep definitions our of user space. The MD files now follow a consistant order -- all namespace intrusion is at the tail can be cleaned up independently. locore, bootblocks, and libkvm still see enough visibility to build. Checked on 90% of platforms...
2013-03-21Use MAXBSIZE for block io limit (same value, but MAXPHYS is strictly aTheo de Raadt
kernel concept) ok miod
2013-03-21NBPG -> PAGE_SIZE, PGSHIFT -> PAGE_SHIFT, PGOFSET -> PAGE_MASKTheo de Raadt
2013-03-17Avoid namespace pollution from <powerpc/cpu.h>.Mark Kettenis
ok mpi@, deraadt@, miod@, millert@
2013-03-15Delete the sequencer(4) driver, since its not used any longer. DiffAlexandre Ratchov
mostly from armani. ok miod, mpi, jsg and help from sthen
2013-03-10Do not try to scan the ADB bus for devices if the device-tree does notMartin Pieuchot
contain an adb node. This workaround is required by some PowerBooks without ADB bus to prevent their PMU from shutting down the machine. Tweaked from a submission by Daniel Dickman.
2013-03-09Drop 3rd and 4th clauses from Bradley A. Grantham's license, from NetBSDMartin Pieuchot
via Daniel Dickman. ok deraadt@
2013-03-07Use switch statement for determining when to configure the L2 cache.Brad Smith
ok miod@
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