summaryrefslogtreecommitdiffstats
path: root/sys
Commit message (Collapse)AuthorAgeFilesLines
* Fix software single-stepping: we need to check if the instruction is acognet2008-08-021-1/+1
| | | | | | | return instruction as well, or we'll stop single-stepping as soon as we'll return from a function. MFC after: 3 days
* Add yet another branch instruction.cognet2008-08-021-1/+2
| | | | | Obtained from: NetBSD MFC after: 3 days
* Add support for the ASUS P535 PDAremko2008-08-022-0/+2
| | | | | | | PR: kern/126097 Submitted by: Anton Kartashev <amokk@seb.org.ua> Approved by: imp (mentor, implicit) MFC after: 3 days
* Make the at91 uart(4) driver compile again.ed2008-08-021-9/+12
| | | | | | | As of r178766 this driver didn't compile anymore, because it missed a switch()-statement. I'm getting tired of seeing this driver being broken for two months already. When I run `make universe', everything passes, except the BWCT kernel configuration file.
* ixp425 parts aren't multicore, so remove the SMP option. They alsoimp2008-08-021-3/+0
| | | | | | don't support the ioapic either, so remove that option too. These were commented out, but could never be enabled, unlike the other options in the file that are commented out.
* Conform to the options<space><tab> convention everywhere in this file.imp2008-08-021-22/+22
| | | | This is just a white space change, no functional change.
* Enhance pmap_mapdev_attr(). Take advantage of recent enhancements toalc2008-08-021-4/+7
| | | | | | | | | | | pmap_change_attr() in order to use the direct map for any cache mode, not just write-back mode. It is worth noting that this change also eliminates a situation in which we have two mappings to the same physical memory with different cache modes. Submitted by: Magesh Dhasayyan (with some changes by me) Discussed with: jhb
* Add ELF relocation types for mips.imp2008-08-021-0/+18
| | | | Obtained from: mips/include/elf.h
* Store the PC while context switching, for the benefits of DDB.cognet2008-08-021-0/+1
|
* The IPFW code accepts the use of the tablearg keyword along with the skiptojulian2008-08-011-8/+21
| | | | | | | | | | | | keyword. But it doesn't work. Two options.. make it no longer accept it, or actually make it work.. I chose the 2nd.. Allow the tablearg to be used to specify a skipto destination. This is actually a very powerful construct if used correctly, or a sink of cpu cycles if used badly. changes t teh man page will follow.
* Make "1000baseT" the description and "1000baseTX" the alias forantoine2008-08-011-2/+2
| | | | | | | | | IFM_1000_T instead of the reverse. It is possible FreeBSD doesn't even support 1000baseTX. This changes ifconfig(8) output. Requested by: gavin@ and bms@ See also: http://docs.freebsd.org/cgi/mid.cgi?20050307191901.H32508
* Remove trailing ';' in BPFD_LOCK_ASSERT macro.antoine2008-08-011-1/+1
| | | | | MFC after: 1 month X-MFC-to: stable/7, stable/6 has it right
* Annotate why we do not call BPF_CHECK_DIRECTION() in this tapping routine.csjp2008-08-011-0/+6
| | | | | | | There is no way for the caller to tell us which direction this packet is going. With the bpf_mtap{2} routines, we can check the interface pointer. MFC after: 2 weeks
* Use the new bus device_shutdown hook for performing the shutdown actionjhb2008-08-013-9/+19
| | | | | on the ee16 parts rather than explicitly registering an event handler that wasn't being torn down on detach.
* - Use an sx lock to serialize writes since they update the checksum.jhb2008-08-011-3/+14
| | | | | | | - Remove D_NEEDGIANT as the rtc drivers already have their own locks, so this doesn't need Giant. MFC after: 1 week
* Adjust comment. This stack is only used for booting now and not as anjhb2008-08-011-1/+1
| | | | idle stack.
* Fix whitespace.emaste2008-08-011-2/+2
|
* Enable the support for G33/Q35/Q33 now that both the G33 and Q35 have beenjhb2008-08-011-2/+0
| | | | | | | tested: PR: amd64/126090 MFC after: 1 week
* Remove further trailing white space.rwatson2008-08-011-1/+1
|
* Enhance pmap_change_attr() with the ability to demote 1GB page mappings.alc2008-08-012-2/+106
|
* Implement ratelimiting for debug messages. For now, allow at mostemax2008-08-015-20/+50
| | | | | | | one message per second. In the future might add a sysctl knob for each socket family to fine tune this. MFC after: 1 week
* Increase maximum input queue size limit for raw Bluetooth HCI sockets.emax2008-08-011-2/+1
| | | | MFC after: 3 days
* Fix locking bug, i.e. lock "wildcard" matched pcb before return.emax2008-08-011-0/+3
|
* Enhance pmap_change_attr(). Specifically, avoid 2MB page demotions, cachealc2008-07-312-21/+54
| | | | | | | mode changes, and cache and TLB invalidation when some or all of the specified range is already mapped with the specified cache mode. Submitted by: Magesh Dhasayyan
* In mac_bsdextended's auditctl and acct policy access control checks,rwatson2008-07-311-11/+8
| | | | | | | | | | | | | | return success if the passed vnode pointer is NULL (rather than panicking). This can occur if either audit or accounting are disabled while the policy is running. Since the swapoff control has no real relevance to this policy, which is concerned about intent to write rather than water under the bridge, remove it. PR: kern/126100 Reported by: Alan Amesbury <amesbury at umn dot edu> MFC after: 3 days
* remove socketvar.h, add more selective includeskmacy2008-07-314-6/+15
|
* move sockbuf locking macros in to sockbuf.hkmacy2008-07-312-14/+18
|
* Currently, BSM audit pathname token generation for chrooted or jailedcsjp2008-07-313-55/+121
| | | | | | | | | | | | | | | | | | | | | | | | | processes are not producing absolute pathname tokens. It is required that audited pathnames are generated relative to the global root mount point. This modification changes our implementation of audit_canon_path(9) and introduces a new function: vn_fullpath_global(9) which performs a vnode -> pathname translation relative to the global mount point based on the contents of the name cache. Much like vn_fullpath, vn_fullpath_global is a wrapper function which called vn_fullpath1. Further, the string parsing routines have been converted to use the sbuf(9) framework. This change also removes the conditional acquisition of Giant, since the vn_fullpath1 method will not dip into file system dependent code. The vnode locking was modified to use vhold()/vdrop() instead the vref() and vrele(). This will modify the hold count instead of modifying the user count. This makes more sense since it's the kernel that requires the reference to the vnode. This also makes sure that the vnode does not get recycled we hold the reference to it. [1] Discussed with: rwatson Reviewed by: kib [1] MFC after: 2 weeks
* MFp4 (//depot/projects/tcpecn/):rpaulo2008-07-315-14/+155
| | | | | | | | TCP ECN support. Merge of my GSoC 2006 work for NetBSD. TCP ECN is defined in RFC 3168. Partly reviewed by: dwmalone, silby Obtained from: NetBSD
* Adds support for the SCTP_PORT_REUSE optionrrs2008-07-317-110/+330
| | | | | | Fixes a refcount bug found in the process Obtained from: With the help of Michael Tuexen
* Further synchronization of copyrights, licenses, white space, etc fromrwatson2008-07-3113-18/+17
| | | | | | | Apple and from the OpenBSM vendor tree. Obtained from: Apple Inc., TrustedBSD Project MFC after: 3 days
* Eliminate recomputation of the PDE by pmap_pde_attr().alc2008-07-311-5/+2
|
* Fix LINTemax2008-07-311-0/+1
| | | | MFC after: 3 months
* Data type fixjfv2008-07-311-2/+2
|
* Unbreak the build by creating opt_nfs.hps2008-07-311-1/+1
|
* Unbreak the build by including sys/socketvar.hps2008-07-314-3/+7
|
* Include netinet/tcp_lro.h, unbreak the buildps2008-07-301-1/+1
|
* Hook up Bluetooth SCO sockets code to the buildemax2008-07-301-1/+2
| | | | MFC after: 3 months
* Introduce support for Bluetooth SCO sockets. This is based on olderemax2008-07-303-1/+2132
| | | | | | code that was revisted. MFC after: 3 months
* Add igb driver to the default kerneljfv2008-07-301-1/+2
|
* Add igb to the default kerneljfv2008-07-301-1/+2
| | | | MFC after:ASAP
* Change Makefile to reflect new directory structurejfv2008-07-301-3/+5
| | | | MFC after:ASAP
* Change to build module with new directory treejfv2008-07-301-10/+4
| | | | MFC after:ASAP
* Alter kernel build to work with new dev/e1000 structure.jfv2008-07-301-32/+32
| | | | | | | This makes both em and igb, or either alone build and work in the static kernel. MFC after:ASAP
* Merge of the source for igb and em into dev/e1000, thisjfv2008-07-3050-10133/+1420
| | | | | | | | | | | proved to be necessary to make the static drivers work in EITHER/OR or BOTH configurations. Modules will still build in sys/modules/igb or em as before. This also updates the igb driver for support for the 82576 adapter, adds shared code fixes, and etc.... MFC after: ASAP
* One more whitespace nit.jhb2008-07-301-2/+0
|
* A few more whitespace fixes.jhb2008-07-302-2/+1
|
* If the kernel has run out of metadata for swap, then explicitly panic()jhb2008-07-301-1/+1
| | | | | | instead of emitting a warning before deadlocking. MFC after: 1 month
* Whitespace tweak.jhb2008-07-301-1/+0
|
* Trim some noise from some #ifdef's. This had leaked into the compat32jhb2008-07-302-2/+2
| | | | | | | support for bpf(4) due to hacks in the Y! tree for a truss32 binary (since superseded by native support for 32-bit binaries in truss itself). MFC after: 1 week
OpenPOWER on IntegriCloud