summaryrefslogtreecommitdiff
path: root/sys/arch/macppc
AgeCommit message (Collapse)Author
2008-11-08Get rid of va-ppc.h.Mark Kettenis
ok miod@
2008-11-07different fix for pr5883 than proposed by the submitter, found when glancingTodd T. Fries
at apple code go ahead drahn@
2008-11-06input and volume twiddlesTodd T. Fries
o set init data to match snapper_set_foo* o set volume to 190 (audible compared to the default) o set input to mic (most common usage) ok jakemsr@
2008-11-05return an error when trying to get stereo values from a monoJacob Meuser
control. makes mixerctl(1) output more sensible. ok drahn, todd
2008-11-05since mmclose() is only called once for the final close,Matthieu Herrb
set ap_open_count = 0 in mmclose() instread of decrementing it. ok miod@, oga@.
2008-11-05* use uint8_t instead of int to hold the value of an 8-bit register.Jacob Meuser
* for outputs.{bass,treble}, 0 dB corresponds to mixer value 128, not 0. * line-in is configured as the default recording source; set sc->sc_record_source accordingly. * add missing register to initialization code. from Marco (marco2z at arsystel com), thanks testing/ok drahn@
2008-11-04missing setipl in the 'busy processing soft interrupts state'Dale Rahn
causes high priority interrupts to be delayed until that state is cleared.
2008-10-30ugh, typo fix, committed previous from the wrong treeTodd T. Fries
2008-10-30patches for macppc to remove more EINVAL returns in the audio codeTodd T. Fries
tested by me, from ratchov@, please commit ratchov@
2008-10-29come on -- this was not even test compiledTheo de Raadt
2008-10-29native default parameters for i2s devices instead of 8kHzJacob Meuser
mulaw mono, which few can even do. "Please just get this in." brad@
2008-10-23add mos(4) to the most relevant config filesTheo de Raadt
2008-10-15make random(9) return per-cpu values (by saving the seed in the cpuinfo),Theo de Raadt
which are uniform for the profclock on each cpu in a SMP system (but using a different seed for each cpu). on all cpus, avoid seeding with a value out of the [0, 2^31-1] range (since that is not stable) ok kettenis drahn
2008-10-15Second pass of simple timeout_add -> timeout_add_sec conversionsBret Lambert
This should take care of the simpler ones (i.e., timeout values of integer multiples of hz). ok krw@, art@
2008-10-08cosmetic change for ioctl funtions.. move splnet out from variable declaration.Brad Smith
2008-10-02First step towards cleaning up the Ethernet driver ioctl handling.Brad Smith
Move calling ether_ioctl() from the top of the ioctl function, which at the moment does absolutely nothing, to the default switch case. Thus allowing drivers to define their own ioctl handlers and then falling back on ether_ioctl(). The only functional change this results in at the moment is having all Ethernet drivers returning the proper errno of ENOTTY instead of EINVAL/ENXIO when encountering unknown ioctl's. Shrinks the i386 kernels by.. RAMDISK - 1024 bytes RAMDISKB - 1120 bytes RAMDISKC - 832 bytes Tested by martin@/jsing@/todd@/brad@ Build tested on almost all archs by todd@/brad@ ok jsing@
2008-09-30Properly count memory on machines where Open Firmware reports zero sizedMark Kettenis
entries in between filled banks. ok drahn@
2008-09-30simplify and rework the mechanism to run the leds, 'it is better' miod@ deraadt@Dale Rahn
2008-09-23Plug more uninitialized variables.Miod Vallat
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-24Fix readdpmelabel() so it doesn't corrupt a disklabel about to beKenneth R Westerback
written (i.e. partoff != NULL), and doesn't corrupt a disklabel with more than eight (8) dpme partitions. Problems reported by Josh Elsasser via PR#5904. Testing by Josh, otto@, drahn@, maja@, kettenis@. Most of the diff from otto@. ok drahn@
2008-08-19Make it possible to enter ddb from the serial console.Mark Kettenis
ok miod@, deraadt@
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-28No longer clear ci_want_resched within cpu_switchto(), now that it's doneMiod Vallat
in the MI code.
2008-07-21nam2blk[] needs a "vnd" entry for some things (like softraid)Todd T. Fries
ok marco@ no objection miod@ need this for regress djm@ no objection krw@
2008-07-18Add new uvm function called uvm_map_pie() which takes align as aKurt Miller
parameter and returns an aligned random load address for position independent executables to use. This also adds three new vmparam.h defines to specify the maximum address, minimum address and minimum allowed alignment for uvm_map_pie() to use. The PIE address range for i386 was carefully selected to work well within the i386 W^X framework. With much help and feedback from weingart@. okay weingart@, miod@, kettenis@, drahn@
2008-07-16This file is long unused.Miod Vallat
2008-07-03add rum(4)Todd T. Fries
ok deraadt@
2008-07-02move to 4.4-betaTheo de Raadt
2008-07-01add bio & bioctlTodd T. Fries
ok deraadt@
2008-07-01Enable FFS2 on most of the larger RAMDISK media.Brad Smith
ok deraadt@
2008-06-27Clear swap encryption keys before dumping a kernel image.Miod Vallat
2008-06-27Add uvideo(4).Brad Smith
ok mglocker@
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-15with powerbooks and ibooks, default to adb keyboard for console (and ddb>)Todd T. Fries
ok drahn@
2008-06-13Add some missing $OpenBSD$ tags.Kenneth R Westerback
ok drahn@ gwk@
2008-06-12Enable /dev/video* for all USB capable archs. MAKEDEV bits will followMarcus Glocker
shortly. OK todd@
2008-06-12Bring biomem diff back into the tree after the nfs_bio.c fix went in.Theo de Raadt
ok thib beck art
2008-06-11back out biomem diff since it is not right yet. Doing very largeTheo de Raadt
file copies to nfsv2 causes the system to eventually peg the console. On the console ^T indicates that the load is increasing rapidly, ddb indicates many calls to getbuf, there is some very slow nfs traffic making none (or extremely slow) progress. Eventually some machines seize up entirely.
2008-06-10Fix buffer cache pending read statistics by ensuring we can identifyBob Beck
biowait() reads that do *not* come from the buffer cache - we use the B_RAW flag to identify these at art's suggestion - since it makes sense and the flag was not being used. this just flags all these buffers with B_RAW - biodone already ignores returned buffers marked B_RAW. ok art@
2008-06-10use the defines, not magic constants. ok kettenis@Dale Rahn
2008-06-06Remove long dead meat.Miod Vallat
2008-05-26Enable cmpci(4) and eso(4).Brad Smith
ok jakemsr@
2008-05-25Don't forget to actually return a value in ttyname(), and fix a bunch ofMiod Vallat
warnings while there.
2008-05-21Remove <machine/elf_abi.h> on platforms which have it. Nothing in the treeMiod Vallat
needs the few MD definitions they (sometimes) provide; only binutils is interested in them, but binutils provide their own include files for that purpose anyway. ok deraadt@ kettenis@