summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge vendor/file/dist@192348, bringing FILE 5.03 to 8-CURRENT.delphij2009-05-1841-6714/+4157
|\ | | | | | | Security: CVE-2009-1515
| * Virgin import of Christos Zoulas's FILE 5.03.delphij2009-05-1841-6714/+4157
| | | | | | | | Security: CVE-2009-1515
| * Update for 5.00.obrien2009-05-041-6/+7
| |
* | - Add a tunable 'hw.mca.enabled' that can be used to enable/disable thejhb2009-05-182-22/+28
| | | | | | | | | | | | | | | | | | | | machine check code. Disable it by default for now. - When computing the mask of bits that determines a non-restartable event during a machine check exception, or-in the overflow flag rather than replacing the other flags. PR: i386/134586 [2] Submitted by: Andi Kleen andi-fbsd firstfloor.org
* | Add a read-only sysctl hw.pci.mcfg to mirror the tunable by the same name.jhb2009-05-182-0/+10
| | | | | | | | MFC after: 1 week
* | - Fix typo in description of 'net.inet.ip.fw.autoinc_step'.jhb2009-05-181-2/+2
| | | | | | | | - Use 'vnet_ipfw' instead of 'vnet_inet' for 'net.inet.ip.fw.one_pass'.
* | Change the experimental NFSv4 client so that it does not dormacklem2009-05-185-63/+79
| | | | | | | | | | | | | | | | | | the NFSv4 Close operations until ncl_inactive(). This is necessary so that the Open StateIDs are available for doing I/O on mmap'd files after VOP_CLOSE(). I also changed some indentation for the nfscl_getclose() function. Approved by: kib (mentor)
* | Bump CACHE_LINE_SIZE to 128 for x86. Intel's manuals explicitly recommendjhb2009-05-182-2/+2
| | | | | | | | using 128 byte alignment for locks. (See IA-32 SDM Vol 3A 7.11.6.7)
* | add block ack frame idsam2009-05-181-0/+1
| |
* | Rename ia64_invalidate_icache() to ia64_sync_icache(). We'remarcel2009-05-184-9/+12
| | | | | | | | not invalidating anything.
* | Add cpu_flush_dcache() for use after non-DMA based I/O so that amarcel2009-05-1813-5/+117
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | possible future I-cache coherency operation can succeed. On ARM for example the L1 cache can be (is) virtually mapped, which means that any I/O that uses temporary mappings will not see the I-cache made coherent. On ia64 a similar behaviour has been observed. By flushing the D-cache, execution of binaries backed by md(4) and/or NFS work reliably. For Book-E (powerpc), execution over NFS exhibits SIGILL once in a while as well, though cpu_flush_dcache() hasn't been implemented yet. Doing an explicit D-cache flush as part of the non-DMA based I/O read operation eliminates the need to do it as part of the I-cache coherency operation itself and as such avoids pessimizing the DMA-based I/O read operations for which D-cache are already flushed/invalidated. It also allows future optimizations whereby the bcopy() followed by the D-cache flush can be integrated in a single operation, which could be implemented using on-chips DMA engines, by-passing the D-cache altogether.
* | fix typosam2009-05-181-1/+1
| |
* | Add two missing INIT_VNET_INET6(curvnet) to make VIMAGE kernels happier.bz2009-05-181-0/+3
| |
* | Remove empty files and do nto try to build them.kan2009-05-184-3/+0
| | | | | | | | | | | | | | Apparently, they are problematic for CTF users. PR: 119298 Submitted by: Julian H. Stacey
* | add bpf_track eventhandler for monitoring bpf taps attached/detachedsam2009-05-182-0/+9
| | | | | | | | Reviewed by: csjp
* | Teach btpand(8) to recognized Bluetooth device node names.emax2009-05-181-1/+1
| | | | | | | | | | Tested by: Daniel O'Connor <doconnor -at- gsoft -dot- com -dot- au> MFC after: 3 days
* | Remove unnecessary comments. 11A read/write is the same: its just theimp2009-05-181-2/+0
| | | | | | | | | | | | classic indirect register dance. Submitted by: ddkprog at yahoo not com
* | Fix a typo from the original driver. We need to write ctrl2 into RFimp2009-05-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | register 0x52, not ctrl1. This appears to be a mistake in the bcm reverse engineering page, and has been corrected there. Tracing through the code, this is more in keeping with the "documented" register. Sephe thinks it looks interesting and may be worth fixing. :) Submitted by: ddkprog at yahoo com Reviewed by: Sepherosa Ziehau
* | Binding interrupts to a CPU consists of two parts: setting up CPUrwatson2009-05-181-1/+13
| | | | | | | | | | | | | | | | | | | | | | affinity for the interrupt thread, and requesting that underlying hardware direct interrupts to the CPU. For software interrupt threads, implement a no-op interrupt event binder that returns success, so that the interrupt management code will just set the ithread's affinity and succeed. Reviewed by: jhb MFC after: 1 week
* | Mark the clock sysctls as MPSAFE.ed2009-05-181-3/+4
| | | | | | | | | | | | | | These sysctls don't need any form of locking. At least cp_times is used by powerd very often, which means I get 50% less calls to non-MPSAFE sysctls on my system. The other 50% is consumed by dev.cpu.0.freq, but this seems to need Giant for Newbus.
* | Remove license clauses 3 and 4 as per rev. 1.2 from NetBSD.brueffer2009-05-181-10/+3
| | | | | | | | | | | | | | Also, FreeBSD 8.0 will be the first release including this driver. (1) PR: 134093 (1) Submitted by: gavin
* | Garbage collect unused NETISR_{ATM,NETGRAPH,PPP} netisr constants.rwatson2009-05-181-3/+0
| |
* | Remove extra parenthesis used in macros. These macros are not usedyongari2009-05-181-2/+2
| | | | | | | | in driver, though.
* | Consistently use tab characters instead of spaces.yongari2009-05-182-25/+25
| |
* | style(9)yongari2009-05-181-76/+76
| |
* | s/u_int8_t/uint8_t/gyongari2009-05-182-46/+46
| | | | | | | | | | s/u_int16_t/uint16_t/g s/u_int32_t/uint32_t/g
* | style(9) - space after keyword.yongari2009-05-181-25/+25
| |
* | Remove return statement at the end of functions that return void.yongari2009-05-181-35/+0
| |
* | Remove trailling whitespaces.yongari2009-05-182-37/+37
| |
* | Remove register keyword.yongari2009-05-181-6/+6
| |
* | Use ANSI C declarations for all functions.yongari2009-05-181-96/+37
| |
* | The merge in r189699 reverted part of the work done in a previous commitadrian2009-05-181-5/+6
| | | | | | | | | | | | (r188036.) Re-revert that change so the Xen networking functions again.
* | Disable some un-needed console debugging.adrian2009-05-181-1/+1
| |
* | Implement MSG_CMSG_CLOEXEC flag for linux_recvmsg().dchagin2009-05-182-9/+25
| | | | | | | | | | Approved by: kib (mentor) MFC after: 1 month
* | This patch resolves the following issues:qingli2009-05-181-1/+196
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | -- A routing socket message is not generated when an IPv6 address is either inserted or deleted from an interface. The missing routing message problem was discovered by Randall Stewart and Michael Tuxen during SCTP testing. -- Previously when an IPv6 address is configured on an interface, if the prefix length is /128, then a host route is instaleld in the kernel for this address. But this host route is not deleted when that IPv6 address is removed from the interface. -- Routes to the link-local all-nodes multicast address and the interface-local all-nodes multicast address are not removed when the last IPv6 address is removed from an interface. Reviewed by: bz, gnn
* | DMA synchronization fixes:delphij2009-05-181-16/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - In bce_rx_intr(), use BUS_DMASYNC_POSTREAD instead of BUS_DMASYNC_POSTWRITE, as we want to "read" from the rx page chain pages. - Document why we need to do PREWRITE after we have updated the rx page chain pages. - In bce_intr(), use BUS_DMASYNC_POSTREAD and BUS_DMASYNC_PREREAD when before and after CPU "reading" the status block. - Adjust some nearby style mismatches/etc. Pointed out by: yongari Approved by: davidch (no objection) but bugs are mine :)
* | Remove redundant whitespacebrian2009-05-181-3/+2
| |
* | Correct types of PHY, per http://bcm-specs.sipsolutions.net/PHYVersioningimp2009-05-181-1/+2
| | | | | | | | | | | | | | | | # Note: The driver doesn't support either these PHY types, so this is # effectively a nop. Submitted by: "ddk" Obtained from: http://paradox.lissyara.su/bwi.diff
* | tbr_timeout() is a timer driven function[1]. While the previous commitbz2009-05-181-10/+21
| | | | | | | | | | | | | | | | | | made LINT happy this does the proper looping over all vnets as we are only called `globally' and not once per vnet instance. Reported by: zec [1] Missed by: bz [1] in r192264 Reviewed by: zec
* | Turns out that my BCM4318 has a PCI ID of 0x4319, which lead me toimp2009-05-181-10/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | believe it was a BCM4319. However, it is the a/b/g variation of the BCM4318. The chip itself is labelled BCM4318EKFBG, and the board is BCM94318MKABG. Paradox's patch includes the type of 802.11 wireless for each card, but changes all the names (I don't think the latter is quite right). Import that part of the patch, but keep the current set of BCM names (with a minor tweak for the 4306 ones). I'll need to verify them via some other means. Obtained from: http://paradox.lissyara.su/bwi.diff (partially)
* | Several changes to vfs_bio_clrbuf():alc2009-05-171-13/+11
| | | | | | | | | | | | | | | | | | | | Provide a more descriptive comment. Eliminate dead code. The page cannot possibly have PG_ZERO set. Eliminate unnecessary blank lines. Reviewed by: tegge
* | Document sbuf_new_auto().brueffer2009-05-171-2/+18
| | | | | | | | | | | | While here, add a missing `-' in phk's name. MFC after: 3 days
* | Add a missing INIT_VNET_NET() to get VIMAGE closer to full LINT again.bz2009-05-171-0/+1
| |
* | Put the structs under #ifndef VIMAGE_GLOBALS as some constants are notbz2009-05-171-2/+0
| | | | | | | | | | | | defined for VIMAGE_GLOBALS and thus broke the build for that option. Reported by: csjp
* | Unbreak options VIMAGE builds, in a followup to r192011 which did notbz2009-05-171-0/+2
| | | | | | | | | | | | | | introduce INIT_VNET_NET() initializers necessary for accessing V_loif. Submitted by: zec Reviewed by: julian
* | Eliminate a pointless call to pmap_clear_reference() from vm_pageout_scan().alc2009-05-171-1/+2
| | | | | | | | | | If the page belongs to an object with a reference count of zero, then it can't have any managed mappings on which to clear a reference bit.
* | Introduce vfs_bio_set_valid() and use it from ffs_realloccg(). Thisalc2009-05-173-8/+45
| | | | | | | | | | | | eliminates the misuse of vfs_bio_clrbuf() by ffs_realloccg(). In collaboration with: tegge
* | add TRENDnet TEW-504UB/EUsam2009-05-172-0/+2
| | | | | | | | Submitted by: Lucius Windschuh <lwindschuh@googlemail.com>
* | fix 11a channel use; mark OFDM operation correctlysam2009-05-171-2/+2
| | | | | | | | Submitted by: Lucius Windschuh <lwindschuh@googlemail.com>
* | Fix the acquisition of local locks via VOP_ADVLOCK() by thermacklem2009-05-171-11/+28
| | | | | | | | | | | | | | | | | | | | | | | | experimental nfsv4 server. It was setting the a_id argument to a fixed value, but that wasn't sufficient for FreeBSD8. Instead, set l_pid and l_sysid to 0 plus set the F_REMOTE flag to indicate that these fields are used to check for same lock owner. Since, for NFSv4, a lockowner is a ClientID plus an up to 1024byte name, it can't be put in l_sysid easily. I also renamed the p variable to td, since it's a thread ptr. Approved by: kib (mentor)
OpenPOWER on IntegriCloud