summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2006-11-21From Jon Simola <simola@mecha.com>:Marcus Glocker
Lots of help from Jonathan Gray. bcw_regs has been removed, and DMA/descriptor style changes that look more normal. Tested, no loss in current unfunctionality.
2006-11-21introduce sysctl net.inet6.ip6.multicast_mtudisc (for multicast routers).Jun-ichiro itojun Hagino
deraadt ok. manpage nit by jmc.
2006-11-21Remove watchdog handler workaround introduced in rev 1.149 which is noBrad Smith
longer necessary.
2006-11-21style changes. no op.Brad Smith
2006-11-20Re-enable HW VLAN tagging.Brad Smith
2006-11-20set the IFCAP_VLAN_HWTAGGING capabilities flag.Brad Smith
2006-11-20Added 2nd pass for interrupt override scanningJordan Hargrave
ok kettenis@
2006-11-20Fix register number definitions.Mark Kettenis
ok deraadt@
2006-11-20only try to do HW checksum offload for TCP and UDP.Brad Smith
2006-11-20Hold the kernel lock when processing low IPL interrupts; one more step towardsMiod Vallat
stable MULTIPROCESSOR kernels.
2006-11-20In syscall handlers, fix copyin() failure path wrt locking macros.Miod Vallat
2006-11-20Due to an incorrect macro, it appears that the driver has always beenBrad Smith
accidentally truncating off the VLAN tag field in the TX descriptor. Fix this by splitting up the vlan_tag and flags fields into separate fields, and handling them appropriately. From scottl@FreeBSD
2006-11-20Directly invoke m188_setipl() instead of setipl() in the external interruptMiod Vallat
handler.
2006-11-20Add support for LM63.Mark Kettenis
tested by niklas@
2006-11-20Enable support for audio on landisk.Dale Rahn
2006-11-20goodbye splserial, hello splaudio.Dale Rahn
2006-11-20serial drivers should use spltty, not splserial.Dale Rahn
2006-11-20ioctl to explicitly remove source tracking nodes,Ryan Thomas McBride
diff from Berk D. Demir <bdd@mindcast.org> ok henning dhartmei
2006-11-20vprint() should be defined if DIAGNOSTIC || DEBUG. Noticed by (andTom Cosgrove
original diff from) Jake < antipsychic (at) hotmail.com >. Discussed with Mickey and Miod. ok miod@ pedro@
2006-11-19typo; from bret lambertJason McIntyre
ok pedro
2006-11-19Re-enable the Intel i31244 support now that real hardware actually exists.Brad Smith
2006-11-19some additional registers for the Artisea chipset operating in DPA mode.Brad Smith
From rearnsha@NetBSD
2006-11-19You know you're getting too old to code when you're finding stupid bugsMiod Vallat
months later. Here, we would service ast based on p != NULL, instead of p->p_md.md_astpending != 0...
2006-11-19In bnx_start, check the used_tx_bd count rather than the descriptorsBrad Smith
mbuf pointer to see if the transmit ring is full. The mbuf pointer is set only in the last descriptor of a multi-descriptor packet. By relying on the mbuf pointers of the earlier descriptors, the driver would sometimes overwrite a descriptor belonging to a packet that wasn't completed yet. Also, tx_chain_prod wasn't updated inside the loop, causing the wrong descriptor to be checked after the first iteration. The upshot of all this was the loss of some transmitted packets at medium to high packet rates. In bnx_tx_encap, remove a couple of old statements that shuffled around the tx_mbuf_map pointers. These now correspond 1-to-1 with the transmit descriptors, and they are not supposed to be changed. Correct a couple of inaccurate comments. From jdp@FreeBSD
2006-11-19regenBrad Smith
2006-11-19add the Broadcom BCM4312 PCI id.Brad Smith
2006-11-19In sigreturn, report the correct error if copyin() fails; spotted byMiod Vallat
Alexey Dobriyan, thanks!
2006-11-19restore the workaround for rate==0 bug.Damien Bergamini
i removed it in my last commit because i thought it was gone. looks like it's not the case. pointed out by niallo@
2006-11-19Probe for National Semiconductor LM63.Mark Kettenis
2006-11-19Probe for Myson MTP008.Mark Kettenis
2006-11-19Use symbol information, when available, to display branch destinations.Miod Vallat
2006-11-19Add PCI hookup for malo(4).Marcus Glocker
Tested by Stephane Chausson <stephane.chausson@laposte.net> with a Netgear WG311v3.
2006-11-19Handle operations larger than will fit in the buffer we allocate,Tom Cosgrove
by processing in a loop. And bump the size of this buffer (32KB taken by the driver shouldn't be a problem). Also reduce the places we hard-code the AES block size of 16. Still disabled (doing more testing), but I want to commit before the aged hard disk I have in the system here dies. (This commit from the Geode system with the AES enabled.)
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