summaryrefslogtreecommitdiff
path: root/sys/arch/sgi/dev/power.c
AgeCommit message (Collapse)Author
2009-11-25Allow xbow_intr_establish() callers to provide optional storage for theMiod Vallat
struct intrhand, instead of having it malloc()'ed.
2009-10-26Rename struct confargs to struct mainbus_attach_args for consistency and alsoMiod Vallat
to prevent further abuse of it.
2009-10-26Add support for the Octane power button to power(4). Took me a while toMiod Vallat
figure out how the interrupt was routed from xbridge to xheart... (it bypasses the regular `have xbridge send a xio interrupt packet' mechanism)
2009-10-26Better crime/mace interrupt handling; interrupt information is no longerMiod Vallat
specified in the kernel configuration file, but is provided by macebus(4) as part of the child device attachment args, and provide both crime and mace interrupt bitmasks; this allows us to only really enable interrupt sources we care about, and to avoid invoking interrupt handler we don't need to for the few mace interrupts multiplexed at the crime level.
2009-05-16need that include file...Theo de Raadt
2009-05-15TOD clock support for IOC3 flavours with DS174x chips (which are rebadgedMiod Vallat
MK48Txx). Entangled with preliminary changes which will hopefully eventually lead to power(4) attaching on IP30 (but not finished yet).
2008-09-16- remove some unneeded headersJasper Lievisse Adriaanse
with and ok jsing@
2008-02-21There's no need to print the IRQ now that we have direct configuration.Joel Sing
Cleanup the interrupt establishment code a little whilst we're here. ok miod@ jasper@
2008-02-20Completely overhault attachment rules on sgi. No more indirect configurationMiod Vallat
inherited from OpenBSD/arc machines with ISA bus; mainbus children match on device name and other hierarchies match on simplified locators. As a bonus, attachment lines in dmesg will now print their locators. ok jsing@
2007-12-27power(4) can now make use of the DS1687 register definitions header file.Joel Sing
ok jasper@
2007-12-18move variable declarations where they belongJasper Lievisse Adriaanse
prodded by and ok dlg@
2007-12-18- powerbutton -> power buttonJasper Lievisse Adriaanse
- minor knf nit (suggested by miod@)
2007-12-18add power(4), a driver for the power button found on SGI O2's.Jasper Lievisse Adriaanse
when machdep.kbdreset is set, and the correct interrupt is fired, the machine gets shut down. with help from and ok jsing@, ok miod@