summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
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.
2003-01-25Fix the behaviour of rdr rules which redirect to a range of ports;Ryan Thomas McBride
Stop overloading PF_OP_RRG as a flag where it doesn't make sense, and makes the port mapping more flexble, allows mapping a destination port range of one size to an other of a different size. Fixes and additional testing courtesy of dhartmei@ ok dhartmei@
2003-01-25Fix a bug that potentially caused fragments to be dropped when theDaniel Hartmeier
overlap calculation got negative. Found by Baruch Even. ok henning@
2003-01-25Grr.. add a missing cdev_notdef() so that 35 really is the audio deviceJason Wright
2003-01-25don't send more than half of the send buffer space limit inMarkus Friedl
one tcp segment, improves performance of tcp over interfaces with large mtu (e.g. lo0); based on similar change in netbsd; ok djm, henning, henric, millert, deraadt
2003-01-25updateMichael Shalayeff
2003-01-25De-"register"Jason Wright
2003-01-25hppa provides its own IPL_AUDIO, tooJason Wright
2003-01-24Sigh, pf_pull_hdr (aka pf_pull_hair) doesn't do an m_pullup, it merelyDaniel Hartmeier
copies the data to the specified buffer. So, for TCP options, provide an sufficiently large buffer and copy to there.
2003-01-24Move the mbuf pullup for TCP options to the beginning of TCP handling,Daniel Hartmeier
doing it later can invalidate pointers to mbuf data. This fixes subtle breakage just introduced (with 1.306).
2003-01-24Fix wscale support, the first version didn't really work right.Daniel Hartmeier
Interestingly, our own stack uses wscale 1 quite regularly, and I now suspect that this is what caused most of the state failures I've seen. They were quite rare, but with working wscale support, they are reduced even more. ok henning@
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.
2003-01-24PMAP_{DE,}ACTIVATE are not used anymore.Miod Vallat
2003-01-23- Either memset() or loop and set to zero, not bothJason Wright
- reading RX_COMPLETION is a waste of time (and a -slow- PCI read vs. an, albeit uncached, memory access to determine the same thing). - on RX_OVERFLOW, reset the board; the RX unit has probably wedged
2003-01-23will need machine/frame.h for profilingMichael Shalayeff
2003-01-23be consistant on the spl everywhere and use splimp(), this seems to prevent ↵Michael Shalayeff
wi_mgmt_xmit: xmit failed messages; millert@ testing and ok
2003-01-23Fix a bug where the kernel crashes when translating IPv6 ICMP packets.Daniel Hartmeier
This only happens when using nat/rdr/binat on IPv6 connections, which hasn't been used before, obviously. But it does work now. Reported and confirmed by evilted@efnet, ok mcbride@
2003-01-22make pmapdebug be zero by defaultMichael Shalayeff
2003-01-22kill the eiem defines we do not useMichael Shalayeff
2003-01-22fix wired accounting in pmap_enter()Michael Shalayeff
2003-01-22Recognize the Voyager ``Compact-1'' keyboard layouts.Miod Vallat
Currently, they are mapped to the corresponding type 5 layouts, but some tweaks might be necessary in the future.
2003-01-22Correctly handle the case where the "address" property of a zs node isMiod Vallat
multivalued, as on the Voyager. This makes the zs probe work correctly on these machines, and do not change behaviour on others. Adapted from a similar fix in NetBSD. Tested on Voyager by Takeshi Morimoto.
2003-01-22Revert previous - it would prevent the second zs chip from being probedMiod Vallat
on the Voyager, thus preventing keyboard support from working at all.
2003-01-22consistantly use uvm_prot_* vs vm_prot_* evewrhereMichael Shalayeff
2003-01-22use the same style for the pdemask-optimized loops (four of 'em)Michael Shalayeff
2003-01-22print out the failed p_addr in the panic messageMichael Shalayeff
2003-01-22mop up after deraadtMichael Shalayeff
2003-01-22ugh, unless we flush, always purgeMichael Shalayeff
2003-01-22minor cleanupTheo de Raadt
2003-01-21Support for TCP window scaling (RFC 1323). ok frantzen@Daniel Hartmeier