summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Chop off excessive long hostnames to keep the table structure intact.ed2010-03-201-1/+1
| | | | This makes lastlogin(8) use exactly the same printf format as last(1).
* Sibyte provides a 64-bit read-only counter that counts at half the processorneel2010-03-205-0/+53
| | | | | | | | | frequency. This counter can be accessed coherently from both cores. Use this as the preferred timecounter for the SWARM kernels. The CP0 COUNT register is unusable as the timecounter on SMP platforms because the COUNT registers on different CPUs are not guaranteed to be in sync.
* Make sure that the registers 'v0' and 'v1' are properly sign-extendedneel2010-03-201-4/+4
| | | | | | | when sb_load64() returns. Some 32-bit arithmetic operations (e.g. subu) have unpredicatable results when operating on 64-bit registers that are not properly sign-extended.
* Get rid of unused macro MIPS_MEM_RID.neel2010-03-201-1/+0
| | | | Suggested by: Alexandr Rybalko (ray@dlink.ua)
* This change enables use of physical memory that is beyond the directneel2010-03-206-266/+183
| | | | | | | | | | | | | mapped kseg0 region. The basic idea is to use KVA from the kseg2 region for mapping page table pages that lie beyond the direct mapped region. The TLB miss handler can now recursively fault into the TLB invalid handler if it dereferences a kseg2 page table page address that is not in the TLB. Tested by: JC (c.jayachandran@gmail.com)
* Enable MSI by default for SiI3124.mav2010-03-201-6/+7
|
* Don't check for boot_verbose in the environment. The loader doesmarcel2010-03-201-11/+1
| | | | that already and sets RB_VERBOSE. The loader has always done it.
* Let unin(4) attach to U3 controllers found on G5 machines.nwhitehorn2010-03-201-5/+10
| | | | Submitted by: Andreas Tobler
* Add support for the Samsung S3C2xx0 family of ARM SoCs written byimp2010-03-2022-0/+3883
| | | | | | | | Andrew Turner. The kernel supports the LN2410SBC evaluation board, and likely others. These parts (or similar ones) are in some open hardware designs for phones. Submitted by: Andrew Turner
* - Map EBDA if available and add 64KB above 1MB (high memory), just in case.jkim2010-03-191-33/+113
| | | | | | | - Print the initial memory map when bootverbose is set. - Change the page fault address format from linear to %cs:%ip style. - Move duplicate code into a newly added function. - Add strictly aligned memory access for distant future. ;-)
* The same code is used to import and to create pool.pjd2010-03-191-10/+20
| | | | | | | | | | | | | | | | | | | The order of operations is the following: 1. Try to open vdev by remembered path and guid. 2. If 1 failed, try to find vdev which guid matches and ignore the path. 3. If 2 failed this means either that the vdev we're looking for is gone or that pool is being created and vdev doesn't contain proper guid yet. To be able to handle pool creation we open vdev by path anyway. Because of 3 it is possible that we open wrong vdev on import which can lead to confusions. The solution for this is to check spa_load_state. On pool creation it will be equal to SPA_LOAD_NONE and we can open vdev only by path immediately and if it is not equal to SPA_LOAD_NONE we first open by path+guid and when that fails, we open by guid. We no longer open wrong vdev on import. MFC after: 2 weeks
* Split eventhandler_register() into an internal part and a wrapper functionbz2010-03-194-17/+139
| | | | | | | | | | | | | | | | | | | | | | | | | | that provides the allocated and setup eventhandler entry. Add a new wrapper for VIMAGE that allocates extra space to hold the callback function and argument in addition to an extra wrapper function. While the wrapper function goes as normal callback function the argument points to the extra space allocated holding the original func and arg that the wrapper function can then call. Provide an iterator function for the virtual network stack (vnet) that will call the callback function for each network stack. Provide a new set of macros for VNET that in the non-VIMAGE case will just call eventhandler_register() while in the VIMAGE case it will use vimage_eventhandler_register() passing in the extra iterator function but will only register once rather than per-vnet. We need a special macro in case we are interested in the tag returned as we must check for curvnet and can neither simply assign the return value, nor not change it in the non-vnet0 case without that. Sponsored by: ISPsystem Discussed with: jhb Reviewed by: zec (earlier version), jhb MFC after: 1 month
* Back out revision 205307.delphij2010-03-191-0/+2
| | | | | | | For the record: CPU_ENABLE_SSE enables some code that dynamically enables SSE support but not necessarily enforce execution of SSE instructions.
* Slightly improve my previous commit.ed2010-03-191-1/+1
| | | | | | Just comment out the atrun line instead of completely removing it. It is not a bad idea to leave it as a reference in case someone decides to install atrun by hand afterwards.
* pmap amd64/i386: fix a typo in a commentavg2010-03-192-2/+2
| | | | MFC after: 3 days
* vfs_mount.9: drop cross-reference to a removed manualavg2010-03-191-2/+1
| | | | MFC after: 3 days
* Use the same policy for rejecting / not-reject ACPI tables with incorrectjhb2010-03-192-0/+4
| | | | | | | | | | checksums as the base acpi(4) driver. This fixes a problem where the MADT parser would reject the MADT table during early boot causing the MP Table to be, but then the acpi(4) driver would attach and use non-SMP interrupt routing. Tested by: Alastair Hogge agh of coolrhaug com MFC after: 1 week
* Don't add the atrun-line to the crontab when MK_AT is set.ed2010-03-191-0/+3
| | | | | | This prevents spurious calls to sendmail every 5 minutes. MFC after: 1 week
* Regenkib2010-03-194-53/+123
|
* Remove empty line.kib2010-03-191-1/+0
| | | | MFC after: 2 weeks
* Convert aio syscall registration to SYSCALL_INIT_HELPER.kib2010-03-191-33/+59
| | | | | Reviewed by: jhb MFC after: 2 weeks
* Implement compat32 shims for mqueuefs.kib2010-03-193-68/+328
| | | | | Reviewed by: jhb MFC after: 2 weeks
* Implement compat32 shims for ksem syscalls.kib2010-03-192-70/+141
| | | | | Reviewed by: jhb MFC after: 2 weeks
* Move SysV IPC freebsd32 compat shims from freebsd32_misc.c to correspondingkib2010-03-195-587/+733
| | | | | | | | | | | | | | sysv_{msg,sem,shm}.c files. Mark SysV IPC freebsd32 syscalls as NOSTD and add required SYSCALL_INIT_HELPER/SYSCALL32_INIT_HELPERs to provide auto register/unregister on module load. This makes COMPAT_FREEBSD32 functional with SysV IPC compiled and loaded as modules. Reviewed by: jhb MFC after: 2 weeks
* Move SysV IPC freebsd32 compat shims helpers from freebsd32_misc.c tokib2010-03-193-54/+74
| | | | | | | sysv_ipc.c. Reviewed by: jhb MFC after: 2 weeks
* Introduce SYSCALL_INIT_HELPER and SYSCALL32_INIT_HELPER macros andkib2010-03-194-0/+95
| | | | | | | | | neccessary support functions to allow registering dynamically loaded syscalls from the MOD_LOAD handlers. Helpers handle registration failures semi-automatically. Reviewed by: jhb MFC after: 2 weeks
* FOr SYSCALL_MODULE_HELPER, use "sys/<syscallname>" module name.kib2010-03-192-2/+2
| | | | | | | | | | | | FOr SYSCALL32_MODULE_HELPER, use "sys32/<syscallname>" module name. This avoids modules name conflict when compat32 syscall does not need shims. Note that SYSCALL_MODULE_HELPER is going to be unused in the tree by several next commits. Suggested by: jhb MFC after: 2 weeks
* Make freebsd32_copyiniov() available outside of freebsd32_misc.kib2010-03-192-1/+4
| | | | MFC after: 2 weeks
* Properly handle compat32 calls to sctp generic sendmsd/recvmsg functions thatkib2010-03-191-4/+19
| | | | | | | take iov. Reviewed by: tuexen MFC after: 2 weeks
* Remove dead statement.kib2010-03-191-1/+0
| | | | | Reviewed by: tuexen MFC after: 2 weeks
* Fix two style issues.kib2010-03-191-2/+2
| | | | MFC after: 2 weeks
* Make sure the snmp_pf module will first refresh its entires if necessary,syrinx2010-03-191-12/+12
| | | | | | | | | | | then find a specific entry, and get the requested value. So far, it found the specific entry, refreshed the entry list if necessary, and got the requested value from the found entry. The problem is that refreshing nukes all old entries and replaces them with new ones and the obtained entry pointer was no longer valid after the refresh. Reviewed by: bz, philip MFC after: 1 week
* Fix typo in commentimp2010-03-191-1/+1
|
* SSE is enabled by default about 5 years ago so there is no point pretendingdelphij2010-03-191-2/+0
| | | | | | | | that we support I486 and I586 CPUs in the GENERIC kernel, users wants these support would have to build a custom kernel to explicitly disable SSE anyways. MFC after: 1 month
* - Added support for 5709S/5716S PHYs.davidch2010-03-183-389/+288
| | | | | | | | - Update copyright to 2010. - Add new debug code for RV2P block. - Improve output formatting for various debug functions. MFC after: 2 weeks
* - Added support for 5709S/5716S PHYs.davidch2010-03-183-23/+158
| | | | | Submitted by: pyunyh MFC after: 2 weeks
* turn 205266 in to a no-op until the problem can be properly diagnosedkmacy2010-03-181-1/+1
|
* Detect illegal access to unmapped memory within real mode emulator to aidjkim2010-03-181-9/+44
| | | | debugging. Update copyright date while I am here.
* Properly progress through the list of IPv6 addresses using in6_addr size.ed2010-03-181-1/+1
| | | | | | | | | | | | | | | | | Right now if a jail has multiple IPv6 addresses, it will print them shifting only 4 bytes at a time. Example: 2001:4dd0:ff41::b23f:a9 2001:4dd0:ff41::b23f:aa Becomes: 2001:4dd0:ff41::b23f:a9 ff41::b23f:a9:2001:4dd0 By casting to in6_addr, it uses the correct offsets. MFC after: 1 week
* Update to 9.6.2-P1, the latest patchfix release which deals withdougb2010-03-1857-1858/+2459
| | | | | | | | the problems related to the handling of broken DNSSEC trust chains. This fix is only relevant for those who have DNSSEC validation enabled and configure trust anchors from third parties, either manually, or through a system like DLV.
* For those of us mere mortals who do not aspire to the lofty heightsdougb2010-03-181-0/+2
| | | | | of kernel hackery, add MAKE_JUST_WORLDS so that we can take part in the 'make universe' goodnes without using unecessary time and resources.
* Unbreak build by removing a code bit that is only related to other coderpaulo2010-03-181-1/+1
| | | | in my branch.
* Add support for retrieving labeled pf filter rule counters.syrinx2010-03-183-4/+382
| | | | | PR: bin/132847 Submitted by: Szalai Andras <szalai (dot) bandi (at) gmail.com>
* Simplify loops.pjd2010-03-181-20/+10
|
* Fix a couple of bugs with 802.11n:rpaulo2010-03-184-25/+90
| | | | | | | | | | | o Process the BAR frame on the adhoc, mesh and sta modes o Fix the format of the ADDBA reply frame o Fix references to the spec section numbers Also, print the all the MCS rates in bootverbose. Sponsored by: iXsystems, Inc. Obtained from: //depot/user/rpaulo/80211n/...
* Add ddb support to the "new" link layer code ("new-arp"):bz2010-03-181-0/+136
| | | | | | | | - show all lltables [1] (optional flag to also show the llentries as well) - show lltable <struct lltable *> - show llentry <struct llentry *> MFC after: 6 days
* Remove an unneeded variable.ed2010-03-181-1/+0
| | | | Reported by: tinderbox
* Remove two pieces of code (one disabled in revision 39665 and another deriveddelphij2010-03-182-16/+0
| | | | from the first one) that is not used for the last 12 years.
* Need to set the proper flag bit when inserting ARPqingli2010-03-181-1/+1
| | | | | | entries into the kernel. MFC after: 3 days
* o) Add a keyword to displaying elapsed time in integer seconds, "etimes".jmallett2010-03-174-2/+25
| | | | | | o) Give slightly better (i.e. any) documentation of the format of "etime". Reviewed by: jilles
OpenPOWER on IntegriCloud