summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Use ptoa(psize) instead of size to compute the end of the mapping inalc2006-06-171-3/+3
| | | | vm_map_pmap_enter().
* o Typo: ownship -> ownership.maxim2006-06-171-1/+1
| | | | Obtained from: DragonFlyBSD
* MFCs noted: pc98 CDROM bootloader, linsysfs(5).bmah2006-06-172-4/+4
|
* Add a description for sysctl -d.emaste2006-06-171-1/+1
|
* Document that we can only bridge wireless interfaces in hostap mode, this isthompsa2006-06-161-0/+3
| | | | | | becoming a faq. MFC after: 1 week
* Remove extra blank line below comment.rwatson2006-06-161-1/+0
| | | | MFC after: 1 week
* Remove unused (and ifdef'd) unp_abort() and unp_drain().rwatson2006-06-161-18/+0
| | | | MFC after: 1 month
* Check for errors when registering and unregistering firmware modules. Thisjhb2006-06-161-12/+25
| | | | | | | | | prevents the unfortunate situation whereby one might kldload a firmware module by hand and later kldunload it while a driver still has an open reference to it. MFC after: 1 week Glanced at by: iedowse
* Add a kern.timecounter.tc sysctl tree that contains the mask,dwmalone2006-06-161-0/+40
| | | | | | | | | frequency, quality and current value of each available time counter. At the moment all of these are read-only, but it might make sense to make some of these read-write in the future. MFC after: 3 months
* Never zero-out db_last_symtab. Whan backtraces are donekib2006-06-161-1/+0
| | | | | | | | | in parallel in several threads, one symbol lookup could clear db_last_symtab when another one going to use it as starting point for traversal. Approved by: pjd (mentor) MFC after: 1 month
* Mention that the powernow driver also supports AMD Cool'n'Quiet.brueffer2006-06-161-1/+1
| | | | MFC after: 3 days
* Unbreak tinderbox- fix device_printf arg to accomodate different sizesmjacob2006-06-161-2/+2
| | | | of vm_paddr_t in different contexts (e.g., PAE vs. non PAE).
* Build the ppc module on pc98.nyan2006-06-162-2/+6
|
* Return -1 from db_numargs() if number of args couldn't be guessed.yar2006-06-161-4/+8
| | | | | | | Use this later to indicate in backtrace output that args shown are uncertain. Sponsored by: RiNet (Cronyx Plus LLC)
* Allow for ppc(4) to be built as module, initiallykib2006-06-162-0/+14
| | | | | | | only for i386 and amd64. MFC after: 1 month Approved by: pjd (mentor)
* Guess the number of arguments to a function somewhat better.yar2006-06-161-4/+8
| | | | | | | | Now GCC likes to stick a "mov %eax, %FOO" instruction before "addl $BAR, %esp" if the function just called returns an int, which is a very common case in the kernel. Sponsored by: RiNet (Cronyx Plus LLC)
* Fix pfsync w/o carp compilation.mlaier2006-06-161-0/+2
| | | | Submitted by: yar
* Kill an XXX remark that has been untrue since rev. 1.150 of this file.yar2006-06-161-4/+0
|
* Axe Giant from vn_fullpath(9). The vnode -> pathname lookup should becsjp2006-06-161-4/+0
| | | | | | | | | | filesystem agnostic. We are not touching any file system specific functions in this code path. Since we have a cache lock, there is really no need to keep Giant around here. This eliminates Giant acquisitions for any syscall which is auditing pathnames. Discussed with: jeff
* Remove COMPAT_43 from GENERIC (and other kernel configs). For amd64 there'snetchild2006-06-1512-12/+0
| | | | | | | | | | | | | | | | | | | | | | an explicit comment that it's needed for the linuxolator. This is not the case anymore. For all other architectures there was only a "KEEP THIS". I'm (and other people too) running a COMPAT_43-less kernel since it's not necessary anymore for the linuxolator. Roman is running such a kernel for a for longer time. No problems so far. And I doubt other (newer than ia32 or alpha) architectures really depend on it. This may result in a small performance increase for some workloads. If the removal of COMPAT_43 results in a not working program, please recompile it and all dependencies and try again before reporting a problem. The only place where COMPAT_43 is needed (as in: does not compile without it) is in the (outdated/not usable since too old) svr4 code. Note: this does not remove the COMPAT_43TTY option. Nagging by: rdivacky
* mxge(4) works with altq.brueffer2006-06-151-1/+2
| | | | Tested by: gallatin
* o Make grep ^strlcpy work: put a return value type on separate line.maxim2006-06-151-1/+2
|
* Since we are doing some bpf(4) clean up, change a couple of function prototypescsjp2006-06-151-142/+48
| | | | | to be consistent. Also, ANSI'fy function definitions. There is no functional change here.
* Forced commit to note that previous commit was also:glebius2006-06-150-0/+0
| | | | | Partially submitted by: Pavel Merdin <freebsd-bugs merdin.com> Tested by: Lucas Nussbaum <lucas.nussbaum imag.fr>
* Possess some work from OpenBSD, with some local additions.glebius2006-06-152-293/+382
| | | | | | | | | | | | | | | | | - Add more device IDs, ASIC revisions and chip IDs. - Rewrite a bit code that picks the description for device. - Introduce several macros to shorten quirks for bugs and features.[*] - Use some magic values, that OpenBSD has successfully possessed from Linux (Broadcom supplied) driver. - Remove disabled code that tried to access VPD. [*] The macro that matches Jumbo capable NICs is rewritten to preserve our current behavior. I need clarify whether our or theirs is correct. PR: 68351 (and may be others) Obtained from: OpenBSD, brad@ mostly
* Add support of 'tablearg' feature for:oleg2006-06-153-95/+158
| | | | | | | | | | | | | | | | | | | - 'tag' & 'untag' action parameters. - 'tagged' & 'limit' rule options. Rule examples: pipe 1 tag tablearg ip from table(1) to any allow ip from any to table(2) tagged tablearg allow tcp from table(3) to any 25 setup limit src-addr tablearg sbin/ipfw/ipfw2.c: 1) new macros GET_UINT_ARG - support of 'tablearg' keyword, argument range checking. PRINT_UINT_ARG - support of 'tablearg' keyword. 2) strtoport(): do not silently truncate/accept invalid port list expressions like: '1,2-abc' or '1,2-3-4' or '1,2-3x4'. style(9) cleanup. Approved by: glebius (mentor) MFC after: 1 month
* install_state(): style(9) cleanupoleg2006-06-151-33/+36
| | | | | Approved by: glebius (mentor) MFC after: 1 month
* o Expand an exclusive lock scope to prevent a race between twomaxim2006-06-151-5/+5
| | | | | | | | simultaneous module_register(). Original work done by: Alex Lyashkov Reviewed by: jhb MFC after: 2 weeks
* Merge NetBSD's revision 1.86: Don't crash on "<cmd> | { }".stefanf2006-06-151-1/+1
|
* Implement the PS4 variable which is defined by the POSIX User Portabilitystefanf2006-06-154-6/+23
| | | | | | | | | | | | Utilities option. Its value is printed at the beginning of the line if tracing (-x) is active. PS4 defaults to the string "+ " which is compatible with the old behaviour to always print "+ ". We still need to expand variables in PS1, PS2 and PS4. PR: 46441 (part of) Submitted by: schweikh Obtained from: NetBSD
* Use scheduler API sched_relinquish() to implement yield() syscall.davidxu2006-06-151-8/+2
|
* Add scheduler API sched_relinquish(), the API is used to implementdavidxu2006-06-156-6/+46
| | | | | | | yield() and sched_yield() syscalls. Every scheduler has its own way to relinquish cpu, the ULE and CORE schedulers have two internal run- queues, a timesharing thread which calls yield() syscall should be moved to inactive queue.
* Remove mpte optimization from pmap_enter_quick().ups2006-06-1511-47/+28
| | | | | | | | | There is a race with the current locking scheme and removing it should have no measurable performance impact. This fixes page faults leading to panics in pmap_enter_quick_locked() on amd64/i386. Reviewed by: alc,jhb,peter,ps
* Bump the version of src/etc/sendmail/freebsd*mc so mergemaster willgshapiro2006-06-140-0/+0
| | | | | | merge /etc/mail/freebsd*cf Submitted by: Rostislav Krasny
* Much to my surprise, IFQ_DRV_DEQUEUE() can return a null mbuf even ifgallatin2006-06-141-13/+11
| | | | | | | | !IFQ_DRV_IS_EMPTY(). Taking this into account, I re-structured the transmit routine so as to avoid adding another if/then in the critical path. Thanks to brueffer for showing my how to test with altq/pf.
* - new sentence -> new linebrueffer2006-06-141-9/+11
| | | | | - s/freebsd/FreeBSD/ for consistency - eol and eof whitespace removed
* Replace a sc->ifp->if_snd.ifq_drv_maxlen with IFQ_SET_MAXLEN(),gallatin2006-06-141-1/+2
| | | | | | and call IFQ_SET_READY(). Submitted by: brueffer
* Correct an error in the previous revision that could lead to a panic:alc2006-06-141-0/+1
| | | | | | | | | | | | Found mapped cache page. Specifically, if cnt.v_free_count dips below cnt.v_free_reserved after p_start has been set to a non-NULL value, then vm_map_pmap_enter() would break out of the loop and incorrectly call pmap_enter_object() for the remaining address range. To correct this error, this revision truncates the address range so that pmap_enter_object() will not map any cache pages. In collaboration with: tegge@ Reported by: kris@
* Remove the initial myri10ge driver, now that it has beengallatin2006-06-1411-4522/+0
| | | | renamed mxge.
* - Document FreeBSD-SA-06:17.sendmail.hrs2006-06-142-2/+20
| | | | - Split an item of sendmail import since 8.13.7 is not merged yet.
* Record sendmail 8.13.7 importgshapiro2006-06-142-2/+2
|
* Update FreeBSD info regarding sendmail 8.13.7 importgshapiro2006-06-141-4/+4
|
* Resolve conflicts from sendmail 8.13.7 importgshapiro2006-06-144-12/+20
|
* Update the mxge driver.gallatin2006-06-145-1704/+2005
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Update the firmware to the latest released firmware (1.4.3), which corresponds to the firmware in the latest shipping drivers from Myricom. This firmware fixes several bugs in the firmware's PCI-e implementation, and it also changes the driver/firmware interface: o TSO was added, and changed the format of the transmit descriptors. o The firmware no longer counts transmits descriptors, but frames. So the driver needs to keep a count of the number of frames sent. o The weird interrupt strategy changed to a normal receive return ring. This ring is much bigger, and we may be able to support DEVICE_POLLING. o Myricom's header files changed the name of firmware related #define's and enums (s/_MCP_/FW_). - Stopped spamming the console with lots of printfs unless mxge_verbose (or bootverbose) is set. - Made additional information available via sysctl, including the results of a PCI-e DMA benchmark run at device reset. - Decreased the excessively long timeouts when sending commands from 2 seconds to 20ms. Sponsored by: Myricom Inc.
* This commit was generated by cvs2svn to compensate for changes in r159609,gshapiro2006-06-1433-748/+1423
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * Import sendmail 8.13.7gshapiro2006-06-1437-760/+1443
| | | | | | | | Security: FreeBSD-SA-06:17.sendmail
* | Change the myri10ge dev entity and all consumers to mxge.brueffer2006-06-146-11/+11
| |
* | o Revert a previous delta as strlcpy(3) operates with NUL-terminatedmaxim2006-06-141-1/+2
| | | | | | | | | | strings and cp is not. Fix logic in the original code and eliminate core dumps on lines without '\n'.
* | o Replace (an incorrect) string copy gymnastics with strlcpy(3).maxim2006-06-141-2/+1
| | | | | | | | | | | | PR: bin/98905 Submitted by: Fabian Keil MFC after: 1 week
* | Fix byteorder of syncpeer and make it actually work.mlaier2006-06-141-6/+23
| | | | | | | | | | Submitted by: glebius MFC after: 1 week
OpenPOWER on IntegriCloud