summaryrefslogtreecommitdiff
path: root/sys/arch/macppc
AgeCommit message (Collapse)Author
2016-09-04Remove support for tape block devices. Nobody mount(8)s tapes any longer.Christian Weisgerber
ok deraadt@ guenther@
2016-09-04bha depends on the deleted aha.h, so it will follow it into the atticTed Unangst
2016-09-02Add switch(4) cdev entryKazuya Goda
ok deraadt@ yasuoka@ reyk@
2016-08-30Properly set "msb" and "bps" fields for both play and rec directions.Alexandre Ratchov
Fixes "audio0: different play and record parameters ... " errors, and probably other unreported errors. help and ok landry@
2016-08-15normalize some commentsTed Unangst
2016-07-30Prep for relro: make sure it's off for any non-PIE stand/ programPhilip Guenther
ok millert@ kettenis@
2016-07-29Reorder code to avoid a divide by zero when there are no sensors.Jonathan Gray
Tested by and ok mglocker@
2016-07-04On Quad-G5 make hpb(4) attach first when iterating PCI buses.Martin Pieuchot
This allows openpic(4) to properly map interrupt for the devices instead of possibly dereferencing garbage. Found the hardway by and ok jmatthew@
2016-07-02Get 'AOAShasta' soundchip working found on PowerMac9,1.Marcus Glocker
ok deraadt
2016-06-28enable ure(4) where we already have url(4)Jonathan Matthew
2016-06-26Oups, remove '#define I2S_DEBUG' again.Marcus Glocker
2016-06-26Make i2s compile with I2S_DEBUG; %x -> %p.Marcus Glocker
2016-06-08remove obsolete raid from namtoblk tables. from Artturi AlmTed Unangst
2016-06-01New USB device driver for Audio/Video capture devices based on theMarcus Glocker
Fushicai USBTV007 chip. The chip specific code has been written by Lubomir Rintel and Federico Simoncelli. Patrick Keshishian has ported it to OpenBSD and wrote the remaining code based on uvideo(4). Input and help also from mpi@ and ratchov@. ok mpi
2016-05-31fix arch/mach confusion in make tags. from frantisek holopTed Unangst
2016-05-29Add support for new smu-firmware fan commands. This fixes wrong sysctlMarcus Glocker
hw.sensors fan values seen on macppc models with a new smu-firmware. Help and ok kettenis
2016-05-23Place a cpu-dependent trap/illegal instruction over the remainder of theTheo de Raadt
sigtramp page, so that it will generate a nice kernel fault if touched. While here, move most of the sigtramps to the .rodata segment, because they are not executed in the kernel. Also some preparation for sliding the actual sigtramp forward (will need some gdb changes) ok mlarkin kettenis
2016-05-23Pass the device node to ia_cookie so we can pick it up in the i2c driver.Marcus Glocker
ok deraadt kettenis
2016-05-23Fix shutdown sequence.Marcus Glocker
2016-05-23Some of our fan scaling calculations with the muK temperature unit aboveMarcus Glocker
59 degC require temporary values larger than 32bit signed. Therefore bump those involved variables to int64_t and replace imin/imax with ulmin/ulmax to get proper results.
2016-05-21hand-massage sendsig() and sys_sigreturn() to be much more similar.Theo de Raadt
ok guenther kettenis
2016-05-20Ooops, fix the OpenBSD tag.Marcus Glocker
2016-05-20Hook up smu(4) to the thermal management framework.Marcus Glocker
ok kettenis
2016-05-20Add a thermal management framework for macppc which controls the fan speedMarcus Glocker
based on the temperature sensor values. A driver can register it fans or temperature sensors there. Ported from FreeBSD. ok deraadt kettenis
2016-05-14Move rpm read to a own function analog pwm read. No functional change.Marcus Glocker
ok kettenis
2016-05-14Add support for pwm fans.Marcus Glocker
ok kettenis
2016-05-14Return correct rpm values for all fans.Marcus Glocker
ok kettenis
2016-05-11fix sigcookie value, address was off due to trapframe nestingTheo de Raadt
notice by miod
2016-05-11crank to 6.0-betaTheo de Raadt
2016-05-10SROP mitigation. sendsig() stores a (per-process ^ &sigcontext) cookieTheo de Raadt
inside the sigcontext. sigreturn(2) checks syscall entry was from the exact PC addr in the (per-process ASLR) sigtramp, verifies the cookie, and clears it to prevent sigcontext reuse. not yet tested on landisk, sparc, *88k, socppc. ok kettenis
2016-05-04Initial support for MSI-X. Only supported on amd64 for now. I have diffs toMark Kettenis
actually use this in em(4) and xhci(4), but I'm not committing those yet because we almost certainly need to save and restore the MSI-X registers during suspend/resume. However, this allows mpi@ to play with multiple-vector support in networking hardware. Requested by mpi@ ok mlarkin@, mikeb@
2016-05-04Fall back to "safe-value" when "unmanage-value" is not evailable toMartin Pieuchot
configure fan speeds. from mglocker@, ok kettenis@
2016-05-03implement bus_space_read_raw_X and bus_space_write_raw_XDavid Gwynne
with feedback from kettenis@ fixes building a kernel with xge, which might actually work on these machines now.
2016-04-29Do not remove local symbols from the table.Martin Pieuchot
ddb(4) can now see static functions. That doesn't mean we should start declaring functions as ``static'', however it helps for the few existing exceptions. ok deraadt@, kettenis@
2016-04-25remove systraceTed Unangst
2016-04-25Do not check if the CPU is inside the idle loop when enterting ddb(4).Martin Pieuchot
This check only makes sense when a frame is saved for interrupts, not for a (simulated) breakpoint. This allows us to put breakpoints in interrupt context and have them work if an interrupt fires while the CPU is idle.
2016-04-24Remove 'option COMPAT_PCVT' now that X doen't use it anymore.Matthieu Herrb
An X server built after april 3 is needed to be able to start X with the new kernel. ok kettenis@
2016-04-20pool_setipl for floating point context thingsDavid Gwynne
ok kettenis@
2016-04-13G/C IFQ_SET_READY().Martin Pieuchot
2016-03-30for some time now mandoc has not required MLINKS to functionJason McIntyre
correctly - logically complete that now by removing MLINKS from base; authors need only to ensure there is an entry in NAME for any function/ util being added. MLINKS will still work, and remain for perl to ease upgrades; ok nicm (curses) bcook (ssl) ok schwarze, who provided a lot of feedback and assistance ok tb natano jung
2016-03-15not compiled before commitTheo de Raadt
2016-03-14Change a bunch of (<blah> *)0 to NULL.Kenneth R Westerback
ok beck@ deraadt@
2016-03-05One ddb interface is enough for ppc.Martin Pieuchot
2016-03-05Define db_reg_t like the other archs by typedef'ing "struct trapframe".Martin Pieuchot
This will allow us to use some of the DDB macros on trapframe which are not DDB_REGS.
2016-02-28Rename ddb_trap_glue() to db_trap_glue().Martin Pieuchot
Let's keep the 'db_' prefix for all ddb(4) functions that should not be instrumented.
2016-02-26Remove stale RAIDframe entries from chrtoblktbl.natano
While there truncate the tables to the minimum required size; chrtoblk() and blktochr() are designed to handle a table shorter than cdevsw. "Looks good to me" deraadt@
2016-02-24Restore validity checks for the disklabels read from disk. TheyKenneth R Westerback
were suppressed in 2011 to address a problem that has since been solved in a more permanent way. Without the validity check proper disklabel discovery relied on a particular I/O failure, and the I/O failure was 'solved' by the introduction of readdisksector(). Fixes problem reading CDROM disklabels discovered by mlarkin@ while trying to install hppa. Compile check/typo discovery and ok deraadt@.
2016-01-08Move HID support files out of dev/usb into new dev/hid directoryJoshua Stein
These files aren't USB-specific and were used by the previous Bluetooth implementation, and will be used by the upcoming HID-over-i2C implementation ok deraadt previous version ok kettenis and mpi
2016-01-08Enable uonerng(4) where ualea(4) is already present.Martin Pieuchot
2015-12-19move to 5.9-betaTheo de Raadt