summaryrefslogtreecommitdiff
path: root/sys/arch/macppc/dev
AgeCommit message (Collapse)Author
2008-09-19While vaguely interesting, the prints coming out of the driver was way tooDale Rahn
noisy. Hopefully this will quiet it down for all but extremely odd cases (where we probably want to see the messages).
2008-09-18Redesign of the powerpc interrupt architecture, use true levels intead ofDale Rahn
blocking specific interrupts. Needs signficant testing to prove that one remaining elusive bug has been squashed.
2008-09-16SMP ddb support, with some feedback from kettenis.Dale Rahn
2008-08-25how about i commit what was actually approved? wrong tree, bad todd ;-(Todd T. Fries
2008-08-24o implement proper volume control table based on chipset docsTodd T. Fries
o attempt to make record work (but silence for now) from drahn@, ok maja@, drahn@
2008-08-19Make it possible to enter ddb from the serial console.Mark Kettenis
ok miod@, deraadt@
2008-07-30Do not print adapter target id on the attachment line, now that scsibus(4)Miod Vallat
prints it. These should be the last offenders.
2008-07-16This file is long unused.Miod Vallat
2008-06-26First pass at removing clauses 3 and 4 from NetBSD licenses.Ray Lai
Not sure what's more surprising: how long it took for NetBSD to catch up to the rest of the BSDs (including UCB), or the amount of code that NetBSD has claimed for itself without attributing to the actual authors. OK deraadt@
2008-06-13Add some missing $OpenBSD$ tags.Kenneth R Westerback
ok drahn@ gwk@
2008-05-04Manage interrupts based on priority better, still working on this...Dale Rahn
2008-05-03Rework the interrupt calculation masks, a bit easier to follow (not so wrong).Dale Rahn
2008-05-01Implement a nop IPI to signal other CPUs.Mark Kettenis
ok drahn@
2008-04-26Changes to get closer to SMP.Dale Rahn
add biglock before interrupt calls into the kernel. switch the clock to using cpuinfo variables instead of globals move cpu_switchto into C code so that on multiprocessor the FPU and Altivec can be saved before switching CPUs. add a lock into pmap when modifying the hash table.
2008-04-25Pretty dmesg output on attach and error handling.Xavier Santolaria
Prodded by deraadt; ok dlg derradt
2008-04-21allow low level audio drivers to specify a default sample format,Jacob Meuser
instead of 8-bit mono mulaw @ 8kHz. this is just the infrastructure; no drivers are specifying a default yet. ok ratchov@, deanna@
2008-04-18if an iic operation fails to move all the data, return errorTheo de Raadt
ok kettenis
2008-03-01Print consoleness the canonical way.Mark Kettenis
tested by deraadt@, ok krw@
2008-01-23Cleanup cn_pri. Change constants to more meaningful names, rather thanJoel Sing
the hp300 related ones currently in use. CN_NORMAL becomes CN_LOWPRI, CN_INTERNAL becomes CN_MIDPRI and CN_REMOTE becomes CN_HIGHPRI. ok miod@
2007-12-11reword license to change regents to authors, and remove advertising clause.Ted Unangst
cleared with all original authors. ok deraadt
2007-12-11remove support for 8kHz sample rates. not all i2s based audioJacob Meuser
devices support 8kHz sample rates, and there is insufficient code to enable it properly on the devices that do support 8kHz. fixes "evil sound" problem reported by ajacoutot@ and jdixon@. ok deanna@, ratchov@, ajacoutot@
2007-11-05audio encoding conversion cleanupJacob Meuser
- the endianness of the conversions don't depend on the endianness of machine the conversions are built on, but the endianness of the audio data itself. choose encoding conversions explicitly, instead of relying on #defines based on the endianness of the machine. - replace home-grown conversions with comparable conversions in auconv.c and mulaw.c - use the proper conversion for ulinear_be:16 -> slinear_le:16 in auixp(4) thanks ajacoutot@ and sthen@ for !x86 testing
2007-10-27Grab kernel lock before calling interrupt handlers.Mark Kettenis
ok miod@, deraadt@
2007-10-22stoped -> stoppedJoel Sing
ok miod@
2007-09-17Only the most obvious bzero() -> M_ZERO changes. No cast changes, noKenneth R Westerback
MALLOC/FREE, etc. Just adding M_ZERO to malloc() and deleting an immediately adjacent bzero().
2007-06-24rework sensor tasks to use the kernels generic workq rather than a specialDavid Gwynne
kernel thread of its own. the api has changed (which will be fixed in the manpage shortly) so all the users of sensor tasks that i can find have been fixed too. noone tested, so its going in to force people to run with it. "put it in" deraadt@
2007-06-14Remove the definition and usage of the USB_DECLARE_DRIVER_CLASS andMarc Balmer
USB_DECLARE_DRIVER macros. No binary change. ok dlg.
2007-06-12Remove the definition and use of the device_ptr_t which was a struct device *.Marc Balmer
No binary change. ok mk.
2007-06-11Remove the usb_proc_ptr type definition, which was really a 'struct proc *'Marc Balmer
only. No binary change. ok mk.
2007-06-05Remove the comment "Static function protoypes". Static is gone in USB.Marc Balmer
no binary change.
2007-06-05Remove the "Static" function declaration. It is defined to beMarc Balmer
empty and confuses the source code reader. As discussed with dlg and jsg.
2007-06-01Establish interrupt after checking the i2s subsystem, fixes a problem withGordon Willem Klok
xserve G5. ok drahn
2007-05-30Add support for iBook G4. -mojMats O Jansson
2007-05-30Make xlights(4) probe correctly on the Xserve G5, still does not correctGordon Willem Klok
the i2s timeout. ok drahn
2007-05-29Use atomic operations to operate on netisr, instead of clearing it at splhigh.Miod Vallat
This changes nothing on legacy architectures, but is a bit faster (and simpler) on the interesting ones.
2007-05-27USB cleanup leftover. Diff from jsg@ tested by me.Marcus Glocker
2007-05-25"interupt" -> "interrupt" in various comments. Mostly from Diego Casati.Kenneth R Westerback
2007-05-20lockmgr -> rwlock for piic(4), kiic(4) and smu(4);Thordur I. Bjornsson
smu(4) tested by kettenis@, ok krw@
2007-05-10The road to supporting bigendian openpic starts.Dale Rahn
2007-04-24Firmware lies! Switching from LEVEL to EDGE triggered interrupt preventsGordon Willem Klok
storms. ok kettenis
2007-04-23rename drivers with numbers in them; ok gwk drahnTheo de Raadt
2007-04-23iqg -> irqGordon Willem Klok
spotted by miod
2007-04-22better interrupt names for vmstat -iz; ok miod gwkTheo de Raadt
2007-04-22Add sysbutton a driver for the 'System identifier' button found on theGordon Willem Klok
fornt panel of the xserve (the button with the triangle on it). This driver will dump you into ddb at the press of a button if the ddb.console sysctl is set. The bug still has one unresolved issue if ddb.console is not set and you press and hold the button you will cause a interrupt storm that will slow the system down. So if you keep your xserve near a toddler or you yourself are a toddler you might want to consider disabling this device remember buttons arn't toys. ok deraadt.
2007-04-22rename a very long driver name to something shorter, and more clearTheo de Raadt
and while there, fix the interrupt name for vmstat -iz; ok gwk
2007-04-21Fix the rcs tags.Gordon Willem Klok
2007-04-21Add blinkenlights(4) a driver to control the 16 leds found on the frontGordon Willem Klok
panel of the Xserve G4 and G5. The leds will provide an indication of the system load slowing as the load climbs, and system health e.g. no lights means its dead or in DDB. Split some of the shared registers and clock divisors from i2s into i2sreg.h while there nuke some evil C++ style comments. Man page to follow shortly. ok deraadt
2007-04-10Add support for a fourth axis on wsmouse devices, e.g. on the Apple MightMiod Vallat
Mouse. Currently limited to USB mice. Adapted from a diff from Gareth <garf@loveandnature.co.za> on tech@
2007-04-10``it's'' -> ``its'' when the grammar gods require this change.Miod Vallat
2007-04-02unmapiodev() takes the va as its first argument, not the pa.Mark Kettenis
ok gwk@