summaryrefslogtreecommitdiffstats
path: root/sys
Commit message (Collapse)AuthorAgeFilesLines
* NODEV is defined the same in _KERNEL and !_KERNEL case, so move it out fromjmallett2002-06-041-3/+1
| | | | | | the preprocessor conditional, and remove the now-empty #else. Reviewed by: asmodai
* Add a comment describing a resource leak that occurs during a failure casejeff2002-06-031-0/+3
| | | | in obj_alloc.
* Added support for 82545EM and 82546EB based adapters.pdeuskar2002-06-039-1761/+7205
| | | | | | Added Vlan support. MFC after: 1 week
* Use a per-device worker thread to avoid blocking in mdstrategy()iedowse2002-06-031-11/+36
| | | | | | | until the I/O completes. This fixes some easily reproducable deadlocks that occur when using md(4) with GEOM. Reviewed by: phk
* Quick and dirty convert to newbus. (Eventually 'eni.c' should go away.)mdodd2002-06-036-18/+670
| | | | | | | Module loads and unloads properly. Thanks to Richard Hodges <rh@matriplex.com> for donating the hardware to allow me to work on this driver.
* Add new 'hea' driver files.mdodd2002-06-031-0/+2
|
* Build a 'hea_pci' driver module.mdodd2002-06-031-0/+11
|
* - Add 'hea'.mdodd2002-06-031-1/+2
| | | | - Compile 'hfa' only on i386 (for now).
* o Migrate vm_map_split() from vm_map.c to vm_object.c, renaming italc2002-06-023-90/+93
| | | | | to vm_object_split(). Its interface should still be changed to resemble vm_object_shadow().
* ANSIfy the one remaining K&R function.des2002-06-021-4/+1
|
* Whitespace nits.des2002-06-021-2/+2
|
* Add support for 'j' flag. Simplify the size modifier code and reduce codedes2002-06-021-100/+71
| | | | | | duplication. Also add support for 'n' specifier. Reviewed by: bde
* Fix typo in the BSD copyright: s/withough/without/schweikh2002-06-0258-58/+58
| | | | | Spotted and suggested by: des MFC after: 3 weeks
* o Style fixes to vm_map_split(), including the elimination of one variablealc2002-06-021-8/+1
| | | | | | | | declaration that shadows another. Note: This function should really be vm_object_split(), not vm_map_split(). Reviewed by: md5
* o Condition vm_object_pmap_copy_1()'s compilation on the kernelalc2002-06-021-0/+2
| | | | | option ENABLE_VFS_IOOPT. Unless this option is in effect, vm_object_pmap_copy_1() is not used.
* bde noticed that SOMAXCONN breaks pretty badly as an option for LINT.alfred2002-06-022-3/+0
| | | | so back it out.
* o Remove GIANT_REQUIRED from vm_map_zfini(), vm_map_zinit(),alc2002-06-012-25/+15
| | | | | | | | | vm_map_create(), and vm_map_submap(). o Make further use of a local variable in vm_map_entry_splay() that caches a reference to one of a vm_map_entry's children. (This reduces code size somewhat.) o Revert a part of revision 1.66, deinlining vmspace_pmap(). (This function is MPSAFE.)
* Be more strict about namespaces.mike2002-06-011-8/+11
| | | | Submitted by: wollman (mostly)
* Backout/modify previous revision:alfred2002-06-011-0/+4
| | | | | | | "empty default cases shouldn't be removed, they should have a break; statement added to them." Requested by: billf
* Silence warnings, remove some empty 'default' switch cases.alfred2002-06-011-2/+0
|
* Declare a variable sized array within a structure using [] rather than [0]alfred2002-06-011-1/+1
| | | | to silence warnings.
* Silence preprocessor warning, No need to use CONCAT with "," and "word".alfred2002-06-012-2/+2
|
* Unbreak LINT by compensating for thealfred2002-06-011-4/+3
| | | | ng_parse_struct_info -> ng_parse_struct_field change.
* Fix some, but not all style bugs.mike2002-06-011-23/+22
|
* Fix warnings.alfred2002-06-011-3/+3
| | | | | There's no need to use concatination when you have 'something.macro_arg'. Comment out comment following #endif.
* Get rid of warnings, there's no need to do preprocessor concatination ofalfred2002-06-011-2/+2
| | | | things with commas and equal signs.
* Add POSIX.1-2001 WCONTINUED option for waitpid(2). A proc flagmike2002-06-014-1/+22
| | | | | | | | | | (P_CONTINUED) is set when a stopped process receives a SIGCONT and cleared after it has notified a parent process that has requested notification via waitpid(2) with WCONTINUED specified in its options operand. The status value can be checked with the new WIFCONTINUED() macro. Reviewed by: jake
* Fixed the return value of fpsetmask(). The API requires inversion of thebde2002-06-012-2/+4
| | | | | | | | | mask on both input and output to fpsetmask(), but this was only done for input, so fpsetmask() returned the complement of the old mask (ANDed with the mask bitfield). PR: 38170 MFC after: 4 weeks
* Fixed style bugs in rev.1.9.bde2002-06-012-18/+34
|
* o Revert a part of revision 1.66, contrary to what that commit message says,alc2002-06-012-17/+21
| | | | | | | | deinlining vm_map_entry_behavior() and vm_map_entry_set_behavior() actually increases the kernel's size. o Make vm_map_entry_set_behavior() static and add a comment describing its purpose. o Remove an unnecessary initialization statement from vm_map_entry_splay().
* Fix a couple of places where preprocessor concatination was misused andalfred2002-06-011-2/+2
| | | | something wound up grafted to a comma.
* Silence warning.alfred2002-06-011-2/+2
| | | | | When casting a "const void *" to a "struct foo **" you want to actually cast it to "struct foo * const *" not simply "const struct foo **".
* Make devfs to give honour to PDIRUNLOCK flag.semenu2002-06-011-9/+13
| | | | | Reviewed by: jeff MFC after: 1 week
* Quick, low impact band-aide to unbreak the build. Added && 0 so weru2002-06-011-1/+1
| | | | | | | ifdef out what appears to be a bogus call to softintr using data elements that aren't in the softc. Forgotten by: imp
* Should have been part of recent commit:alfred2002-06-012-5/+3
| | | | | | | | Fix GCC warnings caused by initializing a zero length array. In the process, simply things a bit by getting rid of 'struct ng_parse_struct_info' which was useless because it only contained one field. But now I'm unbreaking compilation by adjusting these files to the recent netgraph change.
* Call destroy_dev in detach routine to cleanup properly otherwise wealfred2002-06-011-3/+8
| | | | | | | | | | | panic because of a repeat make_dev if/when the device is reattached to the system. Remove an "#if __FreeBSD__" in code that's nested under a "#if __NetBSD__" (*sigh*) Reported by: Seth Hettich <sjh@whiskey.ucf.ics.uci.edu> Tested by: Seth Hettich <sjh@whiskey.ucf.ics.uci.edu>
* Use PCI_INTERRUPT_VALI in stead of hard coded 255imp2002-06-011-5/+5
|
* More style(9) nitsimp2002-06-011-20/+23
|
* Define a PCI_INVALID_IRQ to augment PCI_INTERRUPT_VALIDimp2002-06-011-1/+2
|
* Use a common function to map the bogus intlines.imp2002-06-013-33/+51
| | | | | | | Don't require pin be non-zero before we map bogus intlines, always do it. This fixes a number of problems on HP Omnibook computers. Tested/Reviewed by: Brooks Davis
* Make a structure definition slightly more style(9) compliant (makesbsd2002-06-011-2/+1
| | | | the structure definition easier to find using grep).
* Make this file mostly conform to style(9).imp2002-06-011-87/+86
| | | | Approved by: msmith in principle before walkabout
* Fix GCC warnings caused by initializing a zero length array. In the process,archie2002-05-3133-257/+159
| | | | | | | simply things a bit by getting rid of 'struct ng_parse_struct_info' which was useless because it only contained one field. MFC after: 2 weeks
* Quick, low impact band-aide to unbreak the build. Added && 0 so weimp2002-05-313-3/+3
| | | | | ifdef out what appears to be a bogus call to softintr using data elements that aren't in the softc.
* Warnings cleanup for gcc3. Also __FUNCTION__ -> __func__anholt2002-05-3113-148/+148
| | | | Approved by: des
* Fix a bug in m_split(): the "m->m_ext.ext_size" field of an mbuf was beingarchie2002-05-312-3/+14
| | | | | | | | | | | | | set to zero. This field indicates the total space in the external buffer and therefore should not be modified after the external buffer is added. Add a comment warning that the mbufs returned by m_split() might be read-only. Fix M_TRAILINGSPACE() to return zero if !M_WRITABLE(m). Reviewed by: freebsd-net Obtained from: Vernier Networks, Inc. MFC after: 1 week
* __FreeBSD__ is not a compiler constant. We must useume2002-05-311-1/+1
| | | | | | __FreeBSD_version here. Submitted by: rwatson
* Nit: kern.ttys is of type S,xtty, not S,tty.des2002-05-311-1/+1
|
* Back out my lats commit of locking down a socket, it conflicts with hsu's work.tanimura2002-05-3162-1713/+502
| | | | Requested by: hsu
* - Replace the bandaid introduced in revision 1.110 withrobert2002-05-311-1/+3
| | | | | | a better solution. - Add braces for a ``for'' statement containing a single multi-line statement.
OpenPOWER on IntegriCloud