summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Give a try to autoconfiguring the number of transmit and receiveglebius2005-11-102-7/+14
| | | | descriptors depending on chip revision.
* Expanet of details printed for each file descriptor to include it'srwatson2005-11-101-5/+5
| | | | | | | garbage collection flags. Reformat generally to make this fit and leave some room for future expansion. MFC after: 1 week
* - Document last change to ARP behavior.glebius2005-11-101-11/+28
| | | | | - Document several undocumented sysctl variables. - Fix spelling of few diagnostics.
* Add a DDB "show files" command to list the current open file list, somerwatson2005-11-101-0/+73
| | | | | | | | state about each open file, and identify the first process in the process table that references the file. This is helpful in debugging leaks of file descriptors. MFC after: 1 week
* Backout r1.11...rse2005-11-101-1/+1
| | | | | | | | | | | | | | | | | | > > There is no need to explicitly add "status" to $extra_commands in > > the /etc/rc.d/pf script as it is implicitly added by /etc/rc.subr's > > run_rc_command() because of the existing $pf_program. > > > > Submitted by: Christoph Schug <chris@schug.net> ...because as yar@ points out: "[...] you were relying on evil side-effects of the variable being named *_program. hose side-effect have been eliminated since rc.subr rev. 1.42. [...] The point is that the default "status" method is for rc.d scripts that handle startup and shutdown of conventional daemons, and not for custom tasks like the pf case." The change is still valid in RELENG_6 (and still doesn't have to be backed out) as long as rc.subr:r1.42 is not MFC'ed to RELENG_6, too.
* add set/read max address 48bit versionssos2005-11-101-0/+2
|
* Use the new bsd.snmpmod.mk makefile to build the modules. The -I pointersharti2005-11-105-38/+10
| | | | | | into the contrib directory are still necessary for some of the Makefiles, because the C-sources there use non-canonical includes ("" includes) to get at the header files.
* Use the canonical include name for snmpmod.h. The build infrastructure takesharti2005-11-101-1/+1
| | | | | already care to pick up the correct version of the file depending on how we build.
* This is a short man page which describes bsd.snmpmod.mk. It documentsharti2005-11-102-0/+99
| | | | | only the features that this file layers on top of bsd.lib.mk and should therefore cross-reference to bsd.lib.mk, which doesn't exist.
* Add a .mk file for building modules for the SNMP daemon. This may beharti2005-11-103-1/+31
| | | | | | | | use in-tree as well as for 3rd party modules. This file is more or less what was in usr.sbin/bsnmpd/modules/Makefile.inc with some modifications and omissions. Usage examples can be found under usr.sbin/bsnmpd/modules/*. Idea by: phk
* Credit NetBSD as the source for the /rescue concept.kientzle2005-11-101-2/+3
| | | | | | While I'm here, update my own email address. Thanks to: Luke Mewburn for pointing out the oversight.
* Since union wait was removed in revision 1.17 (3 years, 5 months ago),davidxu2005-11-101-3/+1
| | | | | | type casting version of macro _W_INT is no longer needed. Discussed with: yongari
* Implement RtlZeroMemory() and RtlCopyMemory(). This seems to allowwpaul2005-11-101-0/+23
| | | | the Broadcom Win64 wireless driver for the BCM4318 to work on amd64.
* Add a -I option to disable the automatic -A flag for the super-user.mux2005-11-102-9/+25
| | | | | | PR: bin/86710 Submitted by: Marcus Alves Grando MFC after: 3 days
* em(4) works on all archs now, so this can be removed.brueffer2005-11-091-1/+0
|
* This is a workaround for a complicated issue involving VFS cookies and devfs.dwhite2005-11-092-0/+28
| | | | | | | | | | | | | The PR and patch have the details. The ultimate fix requires architectural changes and clarifications to the VFS API, but this will prevent the system from panicking when someone does "ls /dev" while running in a shell under the linuxulator. This issue affects HEAD and RELENG_6 only. PR: 88249 Submitted by: "Devon H. O'Dell" <dodell@ixsystems.com> MFC after: 3 days
* Fix typo in recent comment tweak.rwatson2005-11-091-1/+1
| | | | | Submitted by: jkim MFC after: 1 week
* Add unix_passfd, a simple set of regression tests for UNIX domain socketrwatson2005-11-092-0/+314
| | | | file descriptor passing. These tests are not all currently passed.
* In closef(), remove the assumption that there is a thread associatedrwatson2005-11-091-2/+6
| | | | | | | | | | | with the file descriptor. When a file descriptor is closed as a result of garbage collecting a UNIX domain socket, the file descriptor will not have any associated thread, so the logic to identify advisory locks held by that thread is not appropriate. Check the thread for NULL to avoid this scenario. Expand an existing comment to say a bit more about this. MFC after: 1 week
* Unbreak second joystick (joy1) support.jylefort2005-11-091-2/+8
| | | | | | PR: kern/46734 Submitted by: Richard Airlie <richard@darq.net> Approved by: netchild
* General consensus is that it would be even better to run this in aimp2005-11-091-1/+1
| | | | | | | | thread context. While it doesn't matter too much at the moment, in the future we could be back in the same boat if/when more restrictions are placed (or enforced) in a SWI. Suggested by: njl, bde, jhb, scottl
* - Introduce two more stat counters, counting number of RXglebius2005-11-092-4/+9
| | | | | | | | | | | | | overruns and number of watchdog timeouts. - Do not log(9) RX overrun events, since this pessimizes things under load [1]. - Do not increase if->if_oerrors in em_watchdog(), since this leads to counter slipping back, when if->if_oerrors is recalculated in em_update_stats_counters(). Instead increase watchdog counter in em_watchdog() and take it into account in em_update_stats_counters(). Submitted by: ade [1]
* Use intptr_t casts to convert void * <--> int to make 64-bit archs happy.jhb2005-11-091-2/+2
|
* Align output.ru2005-11-091-2/+2
|
* Make IFP2NG() usable as an lvalue.ru2005-11-092-9/+6
|
* Use sparse initializers for "struct domain" and "struct protosw",ru2005-11-0917-497/+640
| | | | so they are easier to follow for the human being.
* MFi386: Remove obsolete options.nyan2005-11-091-1/+0
|
* Fix pc98 build.nyan2005-11-093-0/+6
|
* No longer needed: replaced by mmu_if.m/pmap_dispatch.c/mmu_oea.cgrehan2005-11-091-2476/+0
|
* Add new ports-net-im collection.pav2005-11-091-0/+1
|
* Apply r1.103 to correct place.grehan2005-11-091-1/+0
| | | | | | | pmap.c on PowerPC is now a combo of mmu_if.m, pmap_dispatch.c and mmu_oea.c (I forgot to delete pmap.c from CVS in last jumbo commit)
* Uncomment em(4) as it's now working.yongari2005-11-091-1/+1
|
* Connect em(4) build on sparc64.yongari2005-11-091-0/+1
|
* Make em(4) work on big-endian architectures.yongari2005-11-094-66/+75
| | | | | | | | | | | | | | | | | - disable jumbo frame support on strict alignment architectures due to the limitation of hardware. The driver needs a fix-up code for RX side. The fix will show up in near future. - fix endian issue for 82544 on PCI-X bus. I couldn't test this as I don't have the NIC/hardware. - prefer PCIR_BAR to hardcoded EM_MMBA. - Properly checks for for 64bit BAR [1] - replace inl/outl with bus_space(9) [1] - fix endian issue on VLAN handling. - reorder header files and remove unnecessary one. Reviewed by: cognet No response from: pdeuskar, tackerman Obtained from: OpenBSD [1]
* Reimplement the reclamation of PV entries. Specifically, performalc2005-11-098-152/+190
| | | | | | | | | | | | | | | | | | reclamation synchronously from get_pv_entry() instead of asynchronously as part of the page daemon. Additionally, limit the reclamation to inactive pages unless allocation from the PV entry zone or reclamation from the inactive queue fails. Previously, reclamation destroyed mappings to both inactive and active pages. get_pv_entry() still, however, wakes up the page daemon when reclamation occurs. The reason being that the page daemon may move some pages from the active queue to the inactive queue, making some new pages available to future reclamations. Print the "reclaiming PV entries" message at most once per minute, but don't stop printing it after the fifth time. This way, we do not give the impression that the problem has gone away. Reviewed by: tegge
* WIFxxx macros requires an int type but p_xstat is short, convert itdavidxu2005-11-091-2/+3
| | | | | | to int before using the macros. Bug reported by : Pyun YongHyeon pyunyh at gmail dot com
* Kick off the suspend sequence from the keyboard in a SWI rather thanimp2005-11-091-2/+13
| | | | | | | | | | | in the hardware interrupt context (even if it is likely just an ithread). We don't document that suspend/resume routines are run from such a context and some of the things that happen in those routines aren't interrupt safe. Since there's no real need to run from that context, this restores assumptions that suspend routines have made. This fixes Thierry Herbelot's 'Trying to sleep while sleeping is prohibited' problem.
* Clarify panic message, I parsed the old one 'trying to sleep while sleeping'imp2005-11-091-1/+1
|
* Remove obsolete optionsimp2005-11-091-1/+0
|
* Add support for XBOX to the FreeBSD port. The xbox architecture isimp2005-11-0913-0/+945
| | | | | | | | | | | | | | | | | | | | nearly identical to wintel/ia32, with a couple of tweaks. Since it is so similar to ia32, it is optionally added to a i386 kernel. This port is preliminary, but seems to work well. Further improvements will improve the interaction with syscons(4), port Linux nforce driver and future versions of the xbox. This supports the 64MB and 128MB boxes. You'll need the most recent CVS version of Cromwell (the Linux BIOS for the XBOX) to boot. Rink will be maintaining this port, and is interested in feedback. He's setup a website http://xbox-bsd.nl to report the latest developments. Any silly mistakes are my fault. Submitted by: Rink P.W. Springer rink at stack dot nl and Ed Schouten ed at fxq dot nl
* Improve diagnostic message.imp2005-11-091-2/+3
|
* For nmount(), allow a text string error message to be propagated backrodrigc2005-11-091-2/+37
| | | | | | | | | to user-space if a parameter named "errmsg" is passed into the iovec. Used in conjunction with vfs_mount_error(), more useful error messages than errno can be passed back to userspace when mounting a filesystem fails. Discussed with: phk, pjd
* Added list of supported 9xxxSX models.vkashyap2005-11-091-0/+10
|
* In aio_waitcomplete, do not return EAGAIN if no other threadsdavidxu2005-11-081-1/+1
| | | | | | | | | | | have started aio, instead, initialize aio management structure if it hasn't been done, the reason to adjust this behavior is to make it a bit friendly for threaded program, consider two threads, one submits aio_write, and another just calls aio_waitcomplete to wait any I/O to be completed and recycle the aio requests, before submitter doing any I/O, the recycler wants to wait in kernel. This also fixes inconsistency with other aio syscalls.
* Make sure pending SIGCHLD is removed from previous parent when processdavidxu2005-11-081-1/+10
| | | | is attached or detached.
* twa corresponding to the 9.3.0.1 release on the 3ware website. This driver hasvkashyap2005-11-0818-22644/+44220
| | | | | support for the 9xxxSX controllers, along with the earlier 9xxxS series controllers.
* The hptmv inherently believes that a 'long' can hold a physical address.scottl2005-11-081-0/+1
| | | | | | | | This hasn't been true on i386 for at least a decade, probably longer, but I'm too lazy to look up the exact year that PAE support was introduced. Thus, this driver doesn't work on PAE. X-MFC After: now
* Introduce 3 new options for pkg_create(1), -x for using basickrion2005-11-084-7/+61
| | | | | | | | regular expressions for pkg-name, -E for extended regexps and -G for exact matching. Submitted by: mux MFC after: 3 days
* Move the cloned interface list management in to if_clone. For some drivers thethompsa2005-11-0815-134/+63
| | | | | | | | | | softc lists and associated mutex are now unused so these have been removed. Calling if_clone_detach() will now destroy all the cloned interfaces for the driver and in most cases is all thats needed to unload. Idea by: brooks Reviewed by: brooks
* Various and sundry cleanups:jhb2005-11-081-80/+84
| | | | | | | | | | | - Use curthread for calls to knlist_delete() and add a big comment explaining why as well as appropriate assertions. - Use TAILQ_FOREACH and TAILQ_FOREACH_SAFE instead of handrolling them. - Use fget() family of functions to lookup file objects instead of grovelling around in file descriptor tables. - Destroy the aio_freeproc mutex if we are unloaded. Tested on: i386
OpenPOWER on IntegriCloud