summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Use iv_appie_wpa, with this commit WPA works again.bschmidt2010-04-171-2/+2
| | | | Approved by: rpaulo (mentor)
* - Make ipw usable again by moving directly into ASSOC state.bschmidt2010-04-171-1/+7
| | | | | | | - No need to manually switch to RUN state, assoc response takes care of that. Approved by: rpaulo (mentor)
* Pass correct RSSI to ieee80211_input*().bschmidt2010-04-171-2/+2
| | | | Approved by: rpaulo (mentor)
* Fix comment about ipw_assoc and remove some whitespaces; no functionalbschmidt2010-04-171-6/+6
| | | | | | changes. Approved by: rpaulo (mentor)
* Setting PG_REFERENCED on the requested page in swap_pager_getpages() isalc2010-04-171-5/+1
| | | | | | | | | | | either redundant or harmful, depending on the caller. For example, when called by vm_fault(), it is redundant. However, when called by vm_thread_swapin(), it is harmful. Specifically, if the thread is later swapped out, having PG_REFERENCED set on its stack pages leads the page daemon to reactivate these stack pages and delay their reclamation. Reviewed by: kib MFC after: 3 weeks
* getcwd(3): Clarify that EACCES may or may not be checked.jilles2010-04-171-3/+11
| | | | | | | | | | | | | | | | POSIX permits but does not require checking access on the current and parent directories. Because various programs do not like it if getcwd(3) fails, it seems best to avoid checking access as much as possible. There are various reports in GNATS about this (search for getcwd). Our getcwd(3) implementation first queries the kernel for the pathname directly, which does not check any permissions but sometimes fails, and then falls back to reading all parent directories for the names. PR: standards/44425 MFC after: 2 weeks
* sh: On startup of the shell, use PWD from the environment if it is valid.jilles2010-04-174-10/+48
| | | | | | | | | | | | | | | Unset PWD if it is incorrect and no value for it can be determined. This preserves the logical current directory across shell invocations. Example (assuming /home is a symlink): $ cd $ pwd /home/foo $ sh $ pwd /home/foo Formerly the second pwd would show the physical path (symlinks resolved).
* Fix a bug where SACKs are not sent when they should.tuexen2010-04-171-8/+13
| | | | | | | Move some protection code to INVARIANTS. Cleanups. MFC after: 3 days.
* Add another ICH7M chipset that works.rpaulo2010-04-171-0/+1
| | | | MFC after: 1 week
* o) Make pcb_onfault a pointer rather than an obscure integer value.jmallett2010-04-177-548/+459
| | | | | | | | | | | | | | | | | | | o) Mask off PAGE_MASK bits in pmap_update_page, etc., rather than modifying the badvaddr in trapframe. Some nearby interfaces already did this. o) Make PTEs "unsigned int" for now, not "unsigned long" -- we are only ready for them to be 32-bit on 64-bit platforms. o) Rather than using pmap_segmap and calculating the offset into the page table by hand in trap.c, use pmap_pte(). o) Remove unused quad_syscall variable in trap.c. o) Log things for illegal instructions like we do for bad page faults. o) Various cast cleanups related to how to print registers. o) When logging page faults, show the page table information not just for the program counter, but for the fault address. o) Modify support.S to use ABI-neutral macros for operating on pointers. o) Consistently use CALLFRAME_SIZ rather than STAND_FRAME_SIZE, etc. o) Remove unused insque/remque functions. o) Remove some coprocessor 0 accessor functions implemented in assembly that are unused and have inline assembly counterparts.
* o) Add NPDEPG, like NPTEPG but for PDEs.jmallett2010-04-1712-78/+54
| | | | | | | | o) Remove NBPG, PGOFSET and PGSHIFT. Use the standard names. o) Remove some unused macros and move things from param.h to vmparam.h that belong in the latter. (Actually, all of the kernel segment values, virtual addresses, etc., belong in one place, but this is a step in the right direction.)
* o) Add SMP support for Octeon using U-Boot to launch all the processors at thejmallett2010-04-1711-513/+210
| | | | | | | | | | | | | | | | | | | same time. o) Remove some unused trivial uart functions from octeon_machdep now that the uart part is fully working and they are unused. o) Use __func__ instead of __FUNCTION__. o) Use intr_*() instead of other routines that do the same thing. o) Remove some duplicate printfs from the Octeon port, as well as duplicate setting of Maxmem. o) Use the right frequency divider on Octeon. o) Use PCPU_GET(cpuid) consistently to get the cpuid of the running core. o) Remove some unused macros in the Octeon port. o) Use mips_sync() around use of the global dpcpu, whose value may not be visible to APs at first. o) When loading the first thread's stack, use macros to make the code correct for n64 as well. o) Remove stub, do-nothing FAU init/enable/disable functions from the RGMX driver.
* o) Back out my previous change to SWARM; some of it was to address an issuejmallett2010-04-172-16/+13
| | | | | | that turned out to be unrelated, and the rest was, as pointed out by Neel, just wrong-headed. o) Tweak mem.c to fix use of /dev/kmem for direct-mapped addresses.
* o) Use inline functions to access coprocessor 0 registers rather than externaljmallett2010-04-1716-417/+214
| | | | | | | | | | | | | | | | | | | | ones implemented using assembly. o) Use TRAPF_USERMODE() consistently rather than USERMODE(). Eliminate <machine/psl.h> as a result. o) Use intr_*() rather than *intr(), consistently. o) Use register_t instead of u_int in some trap code. o) Merge some more endian-related macros to machine/asm.h from NetBSD. o) Add PTR_LI macro, which loads an address with the correct sign-extension for a pointer. o) Restore interrupts when bailing out due to an excessive IRQ in nexus_setup_intr(). o) Remove unused functions from psraccess.S. o) Enter temporary virtual entries for large memory access into the page tables rather than simply hoping they stay resident in the TLB and we don't need to do a refill for them. o) Abstract out large memory mapping setup/teardown using some macros. o) Do mips_dcache_wbinv_range() when using temporary virtual addresses just like we do when we can use the direct map.
* o) Remove code related to VM_ALLOC_WIRED_TLB_PG_POOL, VM_KERNEL_ALLOC_OFFSETjmallett2010-04-176-338/+59
| | | | and floating pages. They are unused and unsupported.
* Adjust limits and formats for ABIs with 64-bit longs.jmallett2010-04-162-46/+56
|
* o) Use the direct map where possible for uiomove_fromphys, based on code fromjmallett2010-04-164-214/+152
| | | | | | | sparc64. o) Use uiomove_fromphys rather than the broken fpage mechanism for /dev/mem. o) Update sf_buf allocator to not share buffers and to do a pmap_qremove when done with an sf_buf so as to better track valid mappings.
* o) Fix the intr_* functions to not spam the whole status register, just the IEjmallett2010-04-161-56/+45
| | | | | | | | bit. o) Remove some unused inlines. o) Generate CP0 access functions for 64-bit TLB registers when building for n64. o) Add an inline function version of the COP0_SYNC macro.
* Set KERNLOADADDR and TARGET_BIG_ENDIAN for SWARM.jmallett2010-04-161-0/+5
|
* fnmatch: Fix bad FNM_PERIOD disabling if an asterisk has been seen.jilles2010-04-162-8/+9
| | | | | | | Example: fnmatch("a*b/*", "abbb/.x", FNM_PATHNAME | FNM_PERIOD) PR: 116074 MFC after: 1 week
* Add some tests for fnmatch(3).jilles2010-04-162-1/+336
| | | | MFC after: 1 week
* Expose a few symbols as public interface rather than private.delphij2010-04-161-6/+6
| | | | | | | | Note: the *64 interfaces are no longer exposed via zlib.h but were keep as public interfaces; Note 2: this commit would break applications that uses the moved symbols directly.
* MFV: libz 1.2.4.3.delphij2010-04-1611-35/+104
|
* Add ubthidhci.rpaulo2010-04-161-0/+4
| | | | MFC after: 2 days
* Remove the tx queue selection based on the cpu whejfv2010-04-161-13/+15
| | | | | | | | no flowid is present, this was causing some bad reordering, now just use 0. Also, add a few watchdog bits, and tx handler bits that were corrected in igb.
* Revert r206560. The change doesn't work correctly in all cases withjh2010-04-162-24/+0
| | | | multiple devfs mounts.
* Fix log size calculation which caused message truncation.pjd2010-04-161-1/+1
| | | | | Submitted by: Mikolaj Golub <to.my.trociny@gmail.com> MFC after: 3 days
* Fix control socket leak when worker process exits.pjd2010-04-161-0/+1
| | | | | Submitted by: Mikolaj Golub <to.my.trociny@gmail.com> MFC after: 3 days
* Remove some unused header files.jmallett2010-04-167-613/+8
|
* Add mutex lock calls to 2 cases in the experimental NFS client'srmacklem2010-04-151-2/+6
| | | | | | renew thread where they were missing. MFC after: 1 week
* Utilize IP_BINDANY which provided the same semantics of OpenBSD'sdelphij2010-04-151-4/+2
| | | | SO_BINDANY.
* The experimental NFS client was not filling in recovery credentialsrmacklem2010-04-155-3/+19
| | | | | | | | | | | for opens done locally in the client when a delegation for the file was held. This could cause the client to crash in crsetgroups() when recovering from a server crash/reboot. This patch fills in the recovery credentials for this case, in order to avoid the client crash. Also, add KASSERT()s to the credential copy functions, to catch any other cases where the credentials aren't filled in correctly. MFC after: 1 week
* indent(1): don't treat bare '_t' as a type name when -ta is usedavg2010-04-151-2/+3
| | | | | | | | | | It seems that identifier "_t" is sometimes used as a variable name, even in our tree. Not that I endorse that, but still it's better to require at least one character before _t suffix to consider an identifier to be a type name. Reported by: Alex Vasylenko <lxv@omut.org> MFC after: 1 week
* If a service is running, make 'stop' work even if ${name}_enabledougb2010-04-151-3/+3
| | | | | | | | is not set. PR: conf/130414 Submitted by: Dominic Fandrey <kamikaze@bsdforen.de> Reviewed by: freebsd-rc@
* - Fix a typo OFFCORE_REQUESTS.ANY.RFO is B0H10H and not 80H10H.fabient2010-04-152-2/+3
| | | | | | - Enable missing PARTIAL_ADDRESS_ALIAS for Core i7. MFC after: 3 days
* Diff reduction with OpenBSD:delphij2010-04-152-23/+8
| | | | | | | - Remove unused locally added variable; - Deprecate -o: it's the default behavior on OpenBSD. X-MFC: along with nc 4.7.
* Fix include path.yongari2010-04-151-1/+1
|
* Fix typo.kib2010-04-151-1/+1
| | | | MFC after: 3 days
* Increase ggate queue size to maximum value.pjd2010-04-151-1/+1
| | | | | | | HAST was not able to stand heavy random load. Reported by: Hiroyuki Yamagami MFC after: 3 days
* Use spaces instead of tab for indent here.pjd2010-04-151-2/+2
|
* Fix 3-way deadlock that can happen because of ZFS and vnode lockpjd2010-04-152-7/+10
| | | | | | | | | | | | | | | order reversal. thread0 (vfs_fhtovp) thread1 (vop_getattr) thread2 (zfs_recv) -------------------- --------------------- ------------------ vn_lock rrw_enter_read rrw_enter_write (hangs) rrw_enter_read (hangs) vn_lock (hangs) Submitted by: Attila Nagy <bra@fsn.hu> MFC after: 3 days
* Flush disk write cache after storing and clearing metadata.pjd2010-04-151-0/+2
|
* Use lower priority for GELI worker threads. This improves systempjd2010-04-151-3/+2
| | | | | | responsiveness under heavy GELI load. MFC after: 3 days
* Allow option aliasing. Lines of the form:imp2010-04-152-1/+28
| | | | | | | | | | | | OLD_OPT = NEW_OPT in options* files will now map OLD_OPT to NEW_OPT with a friendly message. This is indented for situations where we need to preserve an interface in the config file in an upwards compatible fashion on a stable branch. Reviewed by: nwhitehorn@ MFC after: 3 days
* Add missing IFCAP_LINKSTATE to mxgegallatin2010-04-151-1/+1
| | | | Submitted by: yongari
* Cleanup if_media handling in mxge(4)gallatin2010-04-152-44/+79
| | | | | | | | | | | - Re-probe xfp / sfp+ socket on link events, in case user has changed transceiver - correctly report current media to avoid confusing lagg (reported by Panasas) - Report link speed (submitted by yongari) Reviewed by: yongari (earlier version) MFC after: 7 days
* Locks SPTREE when setting some SP entries to state DEAD.vanhu2010-04-151-0/+6
| | | | | | | | This can prevent kernel panics when updating SPs while there is some traffic for them. Obtained from: NETASQ MFC after: 1m
* Explicitly enable PCI busmastering on attach.mav2010-04-151-0/+1
| | | | | | Now SiI3124 with siis(4) successfully works on sparc64 (SunBlade 100). H/W donated by: Gheorghe Ardelean
* scsi_cd: CD_FLAG_VALID_MEDIA is sufficient to set d_sectorsize andavg2010-04-150-0/+0
| | | | | | | | | | | | | | | | d_mediasize [Forced commit to correct PR number.] CD_FLAG_VALID_TOC is not required for setting those media properties. PR: kern/138789 Submitted by: Juergen Lock <nox@jelal.kn-bremen.de> a slightly different version Tested by: Pavel Sukhoy <sukhoy@ripn.net>, Markus Wild <m.wild@cybernet.ch>, Juergen Lock <nox@jelal.kn-bremen.de>, uqs MFC after: 1 week
* g_io_check: respond to zero pp->mediasize with ENXIOavg2010-04-151-2/+2
| | | | | | | | Previsouly this condition was reported with EIO by bio_offset > mediasize check. Perhaps that check should be extended to bio_offset+bio_length > mediasize. MFC after: 1 week
OpenPOWER on IntegriCloud