summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2003-01-31fetch the font and use it, some cleanup and knfMichael Shalayeff
2003-01-30Stop using an LFS type for cluster mallocs, use an own type andArtur Grabowski
GC the LFS malloc types until LFS is resurrected. from tedu@stanford.edu
2003-01-30Track if a physical page has been previously mapped executable. If itDale Rahn
has not been previously mapped EXE, flush it. If a writeable mapping which is not executable occurs for the page, clear this bit. Solves a problem where an executable page is double mapped, first without EXE then accessed for execute at a different physical page, the cache will behave properly.
2003-01-30somehow this got missed in the regen commitTodd C. Miller
2003-01-30big KNF & ANSI roundHenning Brauer
"accidently" typed while hunting a bug ;-) ok kjc@
2003-01-30The E450 seems to have the same problem as the E250, so don't ask OF forHenric Jungheim
the msgbuf on this box either. ok jason@ (a very, very long time ago)
2003-01-30Many Ultra 5s likes to hang when starting. The last thing on the consoleHenric Jungheim
is: "pcons at mainbus0 not configured". The problem is that the IDE chip asserts a PCI interrupt line even while the registers on the chip claim that it is not. Doing a channel reset helps, but is almost certainly only a work-around for the real problem. Several other work-arounds have been suggested, but this one has had the most testing. Many have looked and helped (notably grange@). Thanks. ok jason@
2003-01-30there is no need for a MCOUNT, gcc prepares everything and calls _mcount() ↵Michael Shalayeff
all by itself
2003-01-30no need to force cflags hereMichael Shalayeff
2003-01-30reread the dma status reg after playing part of the dma got programmed.Michael Shalayeff
according to the doc, the "play next" bit and therefore the device interrupt may get raised earlier than the "record next" is set, thus we might not program the record dma and get another harmony interrupt right after servicing this one. this little optimization allows to deal w/ the situation more efficiently, should it occur. jason@ ok
2003-01-30regen now that setreuid/setregid have moved out of compat and into kernTodd C. Miller
2003-01-30Bring back setreuid(2) and setregid(2) as first class syscallsTodd C. Miller
(but still implemented via setres[ug]id(2)). Basically this just moves them from COMPAT_43 into kern_prot.c. Also fixes a typo in my old implementation. The userland portion will follow in a few days. deraadt@ OK
2003-01-30real meat in audio_device; discussed w/ jason@Michael Shalayeff
2003-01-30Check the codec revision... if it's >=CS4215E or >=AD1849K (same valueJason Wright
strangely =) the make ulinear (native) and slinear (emulated) available. Also, while here, make ulinear_le:16 available via emulation. (Btw, the LASI docs say that the format code for ulinear is a reserved value... Probably just wasn't available in the early CS4215/AD1849's)
2003-01-29check the uvm_fault_wire() for failure, just like other calls; art@ okMichael Shalayeff
2003-01-29save fpregs in coredumpMichael Shalayeff
2003-01-29enable scsi and sync w/ genericMichael Shalayeff
2003-01-29oops, test-compiled the wrong source, missing parenMichael Shalayeff
2003-01-29make it work on both yamaha and ensoniq mpus; from hunter@dg.net.uaMichael Shalayeff
2003-01-29moved some stuff into hppa.htmlMichael Shalayeff
2003-01-29ref bit is reverse meaning in the pte, therefore should beMichael Shalayeff
set on initial mapping (both enter and kenter), this seems to repair numerous userland issues. do not play DIRTY games either. repair border condition on the batch unmap (as well).
2003-01-29typos;Jason McIntyre
many tweaks by millert@ (thanks) thanks mpech@ for help with adduser(8) ok millert@
2003-01-29print out the codec revision in dmesgMichael Shalayeff
2003-01-29fix typo. majver should be minverTed Unangst
ok mickey@
2003-01-28add a rule to built bzero.po as wellMichael Shalayeff
2003-01-28Japanese type 5 layout; from a picture of the actual layout on sunsolve,Miod Vallat
checked against prom behaviour with a jumpered type 5.
2003-01-28harmony is there, 10x to jasonMichael Shalayeff
2003-01-28Ok, you can only set the HE/SE/LE/IS bits in GAINCTL when reset is asserted ↵Jason Wright
(why? I have no clue, but not abding this causes the chip to wedge). So, you can now switch input/output ports to your hearts content... oh did I mention several commits ago that capture works?
2003-01-28Move device driver specific stuff to *var.h and add most of the code forJason Wright
dealing with output source selection (doesn't work right yet, so its disabled).
2003-01-28Remove (now) bogus diagnostic check and set the output length correctly (why ↵Jason Wright
this was done in -two- places is beyone me); spotted and tested by Nick.
2003-01-28pad < minimal length packets with 0's; based on netbsd; tested by miodJason Wright
2003-01-27Do not clean too far.Miod Vallat
2003-01-27Stupid stupid stupid... DMA will not start until the capture next registerJason Wright
is written. I'm not sure how to -correctly- handle this for the fullduplex case, but this seems to make playback sound MUCH better...
2003-01-27M_VMPVENT bites the dust; requested by art@ long ago.Miod Vallat
2003-01-27padd < mimimum sized frames with 0's instead of whatever the chip wants; ↵Jason Wright
based on netbsd.
2003-01-27pad minimum frames with 0's; based on netbsdJason Wright
2003-01-27pad tx buffer on < minimum length frames; based on NetBSD; tested on hppa.Jason Wright
2003-01-27Convert m68k pmap from physseg to VM_PAGE_MD.Miod Vallat
This allows us to remove some ambiguities on how some functions are called, remove some diagnostic checks for conditions that can never happen and remove the ugly hack with "pmap_initialized". Then, rework internal function interfaces and some logic so as to stop fetching vm_page from a pa and the reverse every now and then - this makes some pmap operations run much faster. per art@'s idea.
2003-01-27As promised, I got some sleep and rewrote most of the driver... playbackJason Wright
is still a bit spotty, but at least interrupts are not enabled constantly any more. Also discovered a feature: messing with the LINE/MIC bit in GAINCTL has the side effect of wedging the chip under some circumstances, but I think this can be worked around by resetting the codec... later.
2003-01-27Pad tx buffer with 0's on minimum sized frames; based on NetBSD.Jason Wright
2003-01-27separate register defns and revise them based on the LASI info... a HUGEJason Wright
chunk of this driver will be rewritten once I've gotten some zzz's.
2003-01-27I declare defeat... once interrupts are enabled, just leave them enabled.Jason Wright
This is annoying because the chip will keep dma'n, but everytime I disable interrupts in halt_*, they never come back. Grr.
2003-01-27Write to the cntl register with the c flag set.Jason Wright
2003-01-26add harmonyJason Wright
2003-01-26compute record high water mark from record parameters not play parameters; ↵Jason Wright
from NetBSD kern/19614
2003-01-26Ok, playback more or less works, now for capture. (I forgot to save the ↵Jason Wright
pintr/parg)
2003-01-26Ok, this now produces some noise (that's the best way I can describe it),Jason Wright
but the timing appears to get off some how and buffers just stay on the chip. Oh well, at least its keeping me from playing in the traffic.
2003-01-26regenMichael Shalayeff
2003-01-26a bunch of devices used in hp machinesMichael Shalayeff
2003-01-26Start on the harmony audio driver. It doesn't play or capture anythingJason Wright
yet, but the knobs and interrupt routine seem to work. More to come.