summaryrefslogtreecommitdiff
path: root/sys/arch
AgeCommit message (Collapse)Author
2003-02-05LLADDR macro doesn't work here, so copy mac into the softc directly.Hugh Graham
2003-02-04Bring qe closer to NetBSD and make it compile. As yet untested.Hugh Graham
2003-02-03pad tx buffer out to minimum framelength; based on NetBSDJason Wright
2003-02-03From NetBSD: Add functions to allocate mapped-in qbus memory.Hugh Graham
2003-02-02I've been guaranteed that guaranteed is better than guarenteed.Miod Vallat
2003-02-01More leftovers from when we thought we could attach a pckbc to gscMiod Vallat
2003-02-01typos;Jason McIntyre
added .Fl to flags for boot_* ok deraadt@
2003-02-01RegenMiod Vallat
2003-02-01Correct 715/100XC machine name, per openpa.net. mickey@ okMiod Vallat
2003-01-31do not merge the rodata sections into the .text . they could be moved above ↵Michael Shalayeff
4m later should there be too much code
2003-01-31sync w/ generic and correct minirotsizeMichael Shalayeff
2003-01-31Enter gsckbc, a driver for the ps/2-like input device ports found on manyMiod Vallat
hppa machines, and gsckbd, a driver for the ps/2-like keyboard. Both are derived from pckbc and pckbd, but the differences in port wiring and keyboard behaviour prevented the creation of a thin pckbc wrapper. Currently, only us and uk keyboard layouts are provided. The adventurous person can enable gsckb[cd], wsdisplay at sti and wskbd, but this will only work correctly on machines featuring a modern-prom sti graphics device, and a ps/2 keyboard port.
2003-01-31Various typos; Andrey MatveevMiod Vallat
2003-01-31Save about 1.7k in executable size for macppc kernel, Since the ELF headerDale Rahn
has changed due to W^X, start address need to change slightly, 74 -> 114.
2003-01-31Change how the bootloader links to get around size/start address issuesDale Rahn
introduced by W^X. exe size goes back to 60640 from 126456.
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-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-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-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-29save fpregs in coredumpMichael Shalayeff
2003-01-29enable scsi and sync w/ genericMichael 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-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-27padd < mimimum sized frames with 0's instead of whatever the chip wants; ↵Jason Wright
based on netbsd.
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-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-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-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.
2003-01-25Grr.. add a missing cdev_notdef() so that 35 really is the audio deviceJason Wright
2003-01-25updateMichael Shalayeff
2003-01-25De-"register"Jason Wright
2003-01-24Convert m88k 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. While there, various KNF and whitespace fixes, and rename some structure fields to be closer to the m68k pmap. per art@'s idea.