summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2006-11-19I completely broke pfsr_188_save_double when introducing per-cpuinfoMiod Vallat
pfsr pointers seven months ago. This would work, but not in all fault cases; now it does the right thing.
2006-11-19Improve the AES acceleration, by allocating a contiguous DMA-ableTom Cosgrove
buffer on attach, and using it for encrypt/decrypt operations. Still disabled, since the driver cannot currently handle an operation larger than supported by this buffer. (Interactive ssh does work with this code, however.) "commit, of course" deraadt@
2006-11-18On 88100 systems which do not need the xxx.usr instruction workaround,Miod Vallat
override the DAE helper routines with workaroundless code while the kernel text is still writable.
2006-11-18Rework the PFSR register analysis code on mvme88k: split it into fourMiod Vallat
independent subfunctions, turn PFSR_SAVE into a couple of NOP, and replace them early at runtime with a branch to the selected routine, which will return to pfsr_save. This is really better for 188 systems.
2006-11-18Stop saving and restoring the current ipl in the pcb when switching processes,Miod Vallat
since we know we are at splsched().
2006-11-18Unwaste two delay slots in kcopy().Miod Vallat
2006-11-18In mtx_leave(), jump to the leaf splx() instead of building a frame andMiod Vallat
calling it.
2006-11-18No need to use xmem when unlocking a simple_lock.Miod Vallat
2006-11-18A better and shorter wait sequence between writes to the command registerMiod Vallat
(spec wants 3 X1 clock cycles, thus 0.82 microsecond on mvme188)
2006-11-18Remove some useless variables/code dealing with cardbus BARsAlexander Yurchenko
reprogramming. ok mglocker@
2006-11-18ixgb_get_buf():Brad Smith
- Use bus_dmamap_load_mbuf() instead of bus_dmamap_load() + mtod(). - Only BUS_DMASYNC_PREREAD is necessary for the bus_dmamap_sync(). ixgb_allocate_receive_structures(): - Clean up error handling for receive buffer allocation and just have everything done by ixgb_free_receive_structures() now. ixgb_free_receive_structures(): - A few changes here to allow this function to be called from ixgb_stop() as well as ixgb_allocate_receive_structures().
2006-11-18add a few commentsBrad Smith
2006-11-18fix commentsBrad Smith
2006-11-18- set descriptor DMA addresses before enabling TX and RXBrad Smith
- set RL_EARLY_TX_THRESH before starting TX and RX - clear a TX timeout only if all queued packets are handled - declare struct rl_txq separately - minor style tweaks in re_txeof() From tsutsui@NetBSD Tested by brad@, maja@ and kettenis@ Tested on amd64/armish/i386/sparc64
2006-11-18Do not include <machine/frame.h> (forgotten when the former was removed).Miod Vallat
2006-11-18more fixes from bret lambert; ok pedroJason McIntyre
2006-11-18typos; from bret lambertJason McIntyre
2006-11-17Move m88k memory copy and fill functions to libkern. The copy functions willMiod Vallat
no longer share the same code, but will be instead be duplicated from the same source, so that bcopy() and memcpy() do not need to check for overlap, and memcpy() and memmove() are shorter.
2006-11-17Decide whether we need to attach the primary cpu by checking the CPUF_PRESENTMark Kettenis
flag just like we do on i386.
2006-11-17Minor cleanup.Marcus Glocker
2006-11-17KNFMarcus Glocker
2006-11-17Remove code that deals with sk(4) specific phy's that breaks certain msk(4)Mark Kettenis
variants. tested by jsg@
2006-11-17This is a very initial import for a driver which supports the IEEE 802.11Marcus Glocker
Broadcom BCM43xx chipset. Device attaches, but has no further functionality yet. The work has been done by Jon Simola <jsimola@gmail.com>, based on the existing bce(4) code. He will continue to work on the driver and try to make further progress. ok deraadt@
2006-11-17Add code for AES acceleration. This is currently disabled withTom Cosgrove
`#undef CRYPTO' since it doesn't work properly yet. Committing in order to get it into the tree. "get it in" deraadt@
2006-11-17typos from bret lambert;Jason McIntyre
2006-11-17There is no need to set IN_CHANGE or IN_UPDATE when no on-disk data isPedro Martelletto
being touched, fixes PR 3634, okay mickey@, thib@ and beck@.
2006-11-17missing punctuation in comments; from bret lambertJason McIntyre
2006-11-17sorry miod, but this version locks the machine up rather fastTheo de Raadt
2006-11-17Make getpeereid() work on both sides of a connection. The client can now getClaudio Jeker
the euid/egid of the server it connects to. The euid and egid are captured in the bind() call -- this is the equivalent of the client behaviour where the same thing is done in connect(). tested and ok espie@, ok henning@, go for it deraadt@
2006-11-17syncTheo de Raadt
2006-11-17usb hub found on ibm x3455; Srebrenko SehicTheo de Raadt
2006-11-17Fix typo to let this compile.Tom Cosgrove
2006-11-17Make sure we copy the IV back into the session structure, not theTom Cosgrove
softc. Fortunately this branch (when neither CRYPTO_F_IMBUF nor CRYPTO_F_IOV is specified) is not currently used. ok hshoexer@ jason@
2006-11-17Add a lower TX threshold value and use this when checking the number ofBrad Smith
available TX descriptors in the case that em_encap() has tried to reclaim descriptors. From Jack Vogel@Intel Tested by brad@, mk@, Gabriel Kihlman <gk at stacken dot kth dot se>, Johan Mson Lindman <tybollt at solace dot mh dot se> Tested on amd64/i386/sparc64
2006-11-17move comment to a line where it makes more senseJun-ichiro itojun Hagino
2006-11-17change semantics of ff01::/16 to interface local multicastJun-ichiro itojun Hagino
(to sync up with more recent IPv6 spec) ok from: deraadt mcbride
2006-11-16syncTheo de Raadt
2006-11-16another cdceTheo de Raadt
2006-11-16crank versionTheo de Raadt
2006-11-16use teeny little delays as we clock the rtc, makes the boot code noticeTheo de Raadt
that time is ticking, so it can timeout properly
2006-11-16Ratibibugle struct frame and <machine/frame.h>Miod Vallat
2006-11-16initialize tick timerTheo de Raadt
2006-11-16pagemove() this time without an accidental line removalMiod Vallat
2006-11-16Drop malo_reset() for now and do ENETRESET and media changes usingMarcus Glocker
malo_stop() / malo_init(). ok claudio@
2006-11-16add support for 4 new radios: AL2210, CGT, Maxim New, Maxim New2Damien Bergamini
untested because of lack of hardware. if you have a ZD1211 adapter with one of these radios, please drop us a mail. code written by Florian Stoehr <ich AT florian-stoehr DOT de>
2006-11-16Minor cleanup; reactivate malo_cmd_reset() which seems to work now, removeMarcus Glocker
some dead code, protect ieee80211_next_scan() from network interrupts, fix some comments. ok claudio@
2006-11-16conditional for appending the pf mbuf tag in pf_test/pf_test6 was wrong,Henning Brauer
we need to do so whenever we do have a (pf) tag != 0 on the state OR (that part was missing) when rtableid on the rule is nonzero. problem noticed by Andreas Lundin <lunde@dreamhosted.se> testing the multiple routing tables enabling diff, ok mcbride
2006-11-16no need to always attach pfsync0 any more. ok mpf mcbrideHenning Brauer
2006-11-16in carp_attach, create the "carp" interface group, so that it is alwaysHenning Brauer
and early in the boot process existant. needed by the rc scripts for carp demotion on the "carp" group. this used to work because pfsync0 was always there and member of said group; it has been broken on pfsync-less kernels for quite some time. ok mpf mcbride
2006-11-16introduce if_creategroup() to create an empty interface group.Henning Brauer
code factored out from if_addgroup(), previously a group always had to have members. ok mpf mcbride