summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Delete description of non-existent options: "-4" and "-6".motoyuki2007-06-121-5/+1
| | | | | | | | | | ntpd's "-4" and "-6" options are described in the original documentation (contrib/ntp/html/ntpd.html). It may be original's doc bug. PR: docs/112642 Submitted by: Seth Hieronymus<shieronymus@speakeasy.net> Discussed with: ume MFC after: 1 week
* Drop the argument to the OUT macro because it can't emityar2007-06-121-7/+7
| | | | | | | anything but the pattern space anyway. Apply style(9) to the macro. Tested with: md5(1)
* Don't forget to clear out the hold space for each subsequent fileyar2007-06-124-5/+20
| | | | | | | | when in -i mode so that each file gets a clean context of its own. Add a regression test for the bug. Tested with: regression tests
* Add cust_pkg() which iteratively tries to install packages.phk2007-06-121-2/+59
| | | | | | Move /usr/local/etc to /etc/local so that installed packages can be frobbed. Use a more compatible 512MB card geometry.
* - Restructure so bindx functions are not done inline to socket optionrrs2007-06-1210-240/+296
| | | | | | | but are a seperate call that can be re-used if needed. - 64 bit issues o re-arrange cookie so it is better 64 bit aligned o For wire level things we need the packed attribute.
* There is a symbolic antonym for REPLACE as a flag to cspace()yar2007-06-121-6/+6
| | | | | | | and mf_fgets(): APPEND. So use it instead of a 0 constant for clarity. Tested with: md5(1)
* The maximum size of the sum of all segment lengths in a given DMA mappingyongari2007-06-122-2/+2
| | | | | | should be 65535 + link layer headers. Pointed out by: gallatin
* Catch up with variable name changes in struct lagg_protos.thompsa2007-06-121-10/+10
|
* Remove duplicate. Was that a bug? :-)philip2007-06-121-5/+0
|
* - add myselfchinsan2007-06-121-0/+3
| | | | Approved by: rafan (mentor)
* - Move some common code out of sched_fork_exit() and back into fork_exit().jeff2007-06-123-30/+20
|
* non-functional cleanupthompsa2007-06-124-142/+108
| | | | | | | - remove dead code - use consistent variable names - gc unused defines - whitespace cleanup
* Solve a complex exit race introduced with thread_lock:jeff2007-06-122-15/+34
| | | | | | | | | | | | | | - Add a count of exiting threads, p_exitthreads, to struct proc. - Increment p_exithreads when we set the deadthread in thread_exit(). - When we thread_stash() a deadthread use an atomic to drop the count. - Spin until the p_exithreads count reaches 0 in thread_wait(). - Lock the last exiting thread momentarily to be certain that it has exited cpu_throw(). - Restructure thread_wait(). It does not need a loop as there will only ever be one thread. Tested by: moose@opera.com Reported by: kris, moose@opera.com
* Nuke duplicated __FBSDID.yongari2007-06-121-4/+0
|
* Add checks for contigmalloc(9) failure.yongari2007-06-121-0/+10
|
* Increase a maximum segment size of DMA to 4096. Previously it usedyongari2007-06-122-2/+4
| | | | | | | | MCLBYTES for the segment size but it used too many Tx descriptors in TSO case. While I'm here adjust maximum size of the sum of all segment lengths in a given DMA mapping to 65535, the maximum size, in bytes, of a IP packet.
* Add nfe(4) to the list of drivers supported by GENERIC kernel.yongari2007-06-122-2/+4
| | | | | | While I'm here comment out nve(4) as nfe(4) will take over. Approved by: re
* Allow nfe(4) override nve(4).yongari2007-06-121-1/+1
|
* Xref altq(4).yongari2007-06-121-1/+2
|
* nfe(4) supports altq(4).yongari2007-06-121-1/+2
|
* Add nfe(4) to the list of device drivers use the miibus interface.yongari2007-06-121-1/+4
|
* Bring overhauled nfe(4) into tree.yongari2007-06-123-909/+2103
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | o s/printf/device_printf/g o Nuke OpenBSDism. o Nuke NetBSD/OpenBSD specific DMA sync operations.(we don't have a way to sync a single descriptor within a DMA map.) o Remove recursive mutex. o bus_dma(9) clean up. o 40bit DMA address support. o Add protection for Rx map load failure. o Fix a long standing bug for watchdog timeout. [1] o Add additional protections, missing Tx completion interrupt, losing start Tx command, for watchdog timeout. o Switch to taskqueue(9) API to handle interrupts. o Use our own timer for watchdog instead of if_watchdog/if_timer interface. o Advertise VLAN header length/capability correctly to upper layer. o Remove excessive kernel stack consumption in nfe_encap(). o Handle highly fragmented mbuf chains correctly. o Enable etherenet address reprogramming with ifconfig(8). o Add ALTQ/TSO, MSI/MSIX support. o Increased Rx ring to 256 descriptors from 128. o Align Tx/Rx descriptor ring on sizeof(struct nfe_desc64) boundary. o Remove alignment restrictions on Tx/Rx buffers. o Rewritten jumbo frame support code. o Add support for hardware assistend VLAN tag insertion/stripping. o Add support for Tx/Rx flow control based on patches from Peer Chen. [2] o Add a routine that detects whether ethernet address swap routines is required. [3] o Add a workaround that take MAC/PHY out of power down mode. o Add suspend/resume support. o style(9) and code clean up. Special thanks to Shigeaki Tagashira, the original porter of nfe(4), who submitted lots of patches, performed uncountable number of regression tests and maintained nfe(4) for a long time. Without his enthusiastic help and support I could never have completed this overhauling task. The only weak point of nfe(4) compared to nve(4) is instability of manual half-duplex media selection on certain hardwares(auto sensing media type should work for all cases, though). This was a long standing bug of nfe(4) and I still have no idea why it doesn't work on some hardwares. Obtained from: OpenBSD [1] Submitted by: Peer Chen < pchen at nvidia dot com > [2], [3] Reviewed by: Shigeaki Tagashira < shigeaki AT se DOT hiroshima-u DOT ac DOT jp > Tested by: Shigeaki Tagashira, current Discussed with: current Silence from: obrien
* Reset the pointer to the ioctl buffer after it gets changed.thompsa2007-06-121-0/+2
|
* Eliminate now-unused SUSER_ALLOWJAIL arguments to priv_check_cred(); inrwatson2007-06-1244-258/+144
| | | | | | | | | | | | | | | some cases, move to priv_check() if it was an operation on a thread and no other flags were present. Eliminate caller-side jail exception checking (also now-unused); jail privilege exception code now goes solely in kern_jail.c. We can't yet eliminate suser() due to some cases in the KAME code where a privilege check is performed and then used in many different deferred paths. Do, however, move those prototypes to priv.h. Reviewed by: csjp Obtained from: TrustedBSD Project
* - Add a missing PROC_SUNLOCK() in tdsignal()jeff2007-06-111-1/+3
|
* Clean up, and sometimes remove, a number of audit-related implementationrwatson2007-06-113-32/+3
| | | | | | comments. Obtained from: TrutstedBSD Project
* - Move p_ru to the zero'd section of the proc to keep stats accurate.jeff2007-06-111-1/+1
|
* Add CPU_XSCALE_81342 before I forget again.cognet2007-06-111-1/+2
|
* Introduce pmap_kenter_supersection(), which maps 16MB super-sections intocognet2007-06-113-2/+97
| | | | | the kernel pmap. Document a bit more the behavior of the xscale core 3.
* Re-acquire the PROC_SLOCK before calling calcru(), and release it after,cognet2007-06-111-0/+2
| | | | | | since calcru() expects it to be locked. Reviewed by: attilio
* - Validate incoming addresses and sizes for connectx and bindx.rrs2007-06-111-5/+16
| | | | - For non-sys call version pass the msg_flags.
* Bump __FreeBSD_version for TCP LRO support.andre2007-06-111-1/+1
|
* Add reporting and toggling of TCP LRO (large receive offload) support toandre2007-06-112-1/+11
| | | | ifconfig(8).
* Correct corrupt read when the read starts at a non-aligned offset.remko2007-06-111-4/+6
| | | | | | | | PR: kern/77234 MFC After: 1 week Approved by: imp (mentor) Requested by: many many people Submitted by: Andriy Gapon <avg at icyb dot net dot ua>
* Add IFCAP_LRO flag for drivers to announce their TCP Large Receive Offloadandre2007-06-111-0/+1
| | | | capabilities.
* Exclude inet_addr.c from the build.cognet2007-06-111-1/+1
| | | | | | | It only provides inet_aton(), which is already provided by the libc. This causes multiple symbol definitions when linking statically. Reviewed by: darrenr
* Fix a spacing nit.imp2007-06-111-1/+0
|
* Prefer __packed to __attribute__((__packed__)).imp2007-06-111-1/+1
| | | | OK'd by sam@ months ago...
* Exclude wlan_scan_* from PAE like the rest of wlan.thompsa2007-06-111-0/+2
|
* Remove some ioctls that were ill-thought out. There is no usermjacob2007-06-112-128/+14
| | | | | | impact as no softwware using these ioctls was ever committed. Redo locking for ispioctl.
* Move the oversize ethernet frame size check into DIAGNOSTIC,gallatin2007-06-111-0/+2
| | | | | | | | as was proposed when it was originally added. This allows LRO to work on non-DIAGNOSTIC kernels without consuming any mbuf flags. Discussed with: sam
* Create group ftp by default. This is gid 14 as this is the historicalceri2007-06-112-3/+4
| | | | | | | | | | | | id used by sysinstall when enabling anonymous FTP. Change the default group used by sysinstall for setting up anonymous FTP from operator to ftp; there is no reason to use operator and there are potential security issues when doing so. PR: 93284 Approved by: ru (mentor) Reviewed by: simon
* Back out the previous commit which added an M_LRO mbuf flaggallatin2007-06-113-5/+2
| | | | | to defeat the mtu check in ether_input. Mbuf flags are too scarce. Discussed with: sam
* Check against maxsegsz being zero in bus_dma_tag_create and return EINVALmjacob2007-06-112-0/+8
| | | | | | if it is. Reviewed by: scott long
* Only try and set a segment lim size to 1 << 32 iff bus_size_t > 4.mjacob2007-06-111-2/+6
|
* Silence a gcc warning in a more canonical way (evl = NULL rather than &evl).imp2007-06-111-2/+1
| | | | I saw warnings here at one point on the arm build.
* Allow drivers, such as cxgb and mxge, which support LRO to bypassgallatin2007-06-113-2/+5
| | | | | | the MTU check in ether_input() on LRO merged frames. Discussed with: kmacy
* Small LRO related fixes for mxge:gallatin2007-06-112-5/+39
| | | | | | | - Allow LRO to be enabled / disabled at runtime - Fix a double-free at module unload time. - Only update timestamp in lro merge when it is present in the frame Sponsored by: Myricom
* When we return from a "show" function without printing anything exceptbde2007-06-111-6/+6
| | | | | | | | | | | | a warning, return 1 instead of 0 to indicate that we didn't print anything, so that top-level callers don't print a spurious newline. This is mainly to fix output formatting when stderr is redirected. It also helps in some cases when stderr is interleaved with stdout, depending on the details of the interleaving (this program has the usual null explicit support for syncing stderr with stdout). Return 1 instead of -1 after printing the "malloc failed" warning, since the return value is boolean.
* Add missing \n to printfphk2007-06-111-1/+1
|
OpenPOWER on IntegriCloud