summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Acquire socket receive buffer mutex before appending and then waking uprwatson2004-12-051-2/+4
| | | | | | a receive socket in DDP. This reduces the number of mutex operations required to deliver to a socket by two, and is the model used in other protocols.
* DDB_UNATTENDED is now called KDB_UNATTENDED.simon2004-12-051-2/+2
| | | | MFC after: 3 days
* IPv6 packets can contain headers (like options) before the TCP/UDP/ICMP6dhartmei2004-12-051-3/+6
| | | | | | | | | | | header. pf finds the first TCP/UDP/ICMP6 header to filter by traversing the header chain. In the case where headers are skipped, the protocol checksum verification used the wrong length (included the skipped headers), leading to incorrectly mismatching checksums. Such IPv6 packets with headers were silently dropped. Discovered by: Bernhard Schmidt MFC after: 1 week
* Use "ifconfig -l" instead of "list_network_interfaces all" inrse2004-12-051-1/+1
| | | | | | | | | | | | ifnet_rename() to support situations where rc.conf's $network_interfaces variable is set to an explicit list of network interfaces (instead of the default "auto"). Using "list_network_interfaces all" resulted in using $network_interfaces for both interface _renaming_ and interface _configuration_ which obviously cannot work either before (if the new name is in $network_interfaces) or after (if the old name is in $network_interfaces) renaming the interface.
* fix typo: s/intefraces/interfaces/rse2004-12-051-1/+1
|
* Start to add GIANT_REQUIRED; macros in places where giant is requiredimp2004-12-051-0/+6
| | | | | | | | | and that I've verified things seem to basically work. I was able to boot and hot plug usb devices. Please let me know if this causes problems for anybody. The push down of giant has proceeded to the point that this will start to matter more and more.
* Source changes to allow building a cross-debugger. Move solib.c andmarcel2004-12-0516-5/+29
| | | | | | | | solib-svr4.c to the MD makefiles because they are native files for alpha and sparc64, but target files for amd64, i386 and ia64. Note that kgdb(1) does not yet build as a cross-debugger due to libkvm.
* o Don't limit GPT as a rank 2 provider. Allow it to be connectedmarcel2004-12-051-17/+25
| | | | | | | | | anywhere in the DAG. This includes configurations that are not allowed by the EFI specification. o Reject a GPT partition table if it's not preceeded by a PMBR. There's no need to preserve the MBR partitioning anymore as GPT is mature and with the first bullet extending the applicability of GPT, it's better to be a bit more strict.
* Now as a full blown port.obrien2004-12-053-488/+0
|
* Fix previous commit. GDB_CROSS_DEBUGGER needs to be defined for allmarcel2004-12-052-9/+5
| | | | subdirectories.
* Grab Giant around calls to DEVICE_SUSPEND/RESUME in acpi_SetSleepState().njl2004-12-051-0/+12
| | | | | | | | | | | If we are resuming non-MPSAFE drivers, they need Giant held for them. This may fix some obscure suspend/resume problems. It has fixed keyrate setting problems that were triggered by cardbus (MPSAFE) changing the ordering for syscons resume (non-MPSAFE). Also, add some asserts that Giant is held in our suspend/resume and shutdown methods. Found by: iedowse MFC after: 2 days
* Add more frequently-used locale directories. This is in preparationkris2004-12-042-0/+406
| | | | | | | for cleanup of pkg-plist files with respect to handling of the share/locale subdirectories. MFC after: 3 days
* Document ACPI tunable hw.acpi.serialize_methods.marks2004-12-041-4/+10
| | | | | | | Also reorder tunables. Approved by: njl MFC after: 1 week
* Replace (inlined) pmap_pte() calls with smaller, faster code wherealc2004-12-041-7/+7
| | | | | | possible, such as the inner loop of pmap_copy(). Remove two comments that apply to i386 but not amd64.
* When initializing device, set d_softc and d_no fields for all components,pjd2004-12-041-3/+4
| | | | | | | | because we know it then and we need it when inserting a component which wasn't destroyed while device was running. Reported by: Michael Handler <handler@grendel.net> MFC after: 1 week
* - Change license to standard 2 clause BSD. [1]simon2004-12-041-4/+1
| | | | | | | - Add a missing period. Noticed by: ru Approved by: Jorge Mario G. Mazo <jgutie11@eafit.edu.co> [1]
* Revert rev. 1.166 and remove sparc64/pci/ofw_pci_if.m from MFILES again,marius2004-12-041-1/+1
| | | | sparc64/pci/ofw_pci.h is no longer required for compiling modules.
* Catch up with the new device name of sab(4). The entries for tty[a,b]marius2004-12-041-0/+2
| | | | | | can't be removed as ofw_console(4) and zs(4) use them so one has to live with some complaints about non-existent devices at boot time and remove the respective entries locally for now.
* Remove #if 0'ed rootfs mounting code.phk2004-12-042-116/+0
|
* Remove embryonic rootfs mounting facility.phk2004-12-041-30/+1
| | | | | In the near future rootfs mounting will not require special handling in the filesystems.
* Replace GNU tar with BSD tar.obrien2004-12-041-1/+3
|
* kmod.mk knows how to create empty opt_*.h files so let it deal with thebrooks2004-12-031-3/+1
| | | | | | NOINET6 case. Reported by: ru
* Implement a function, mount_arg() for accumulating a list of mount parametersphk2004-12-032-43/+48
| | | | | | | | | to nmount. Make kernel_mount() accept the output from mount_arg() and know how to free the malloc'ed space. Make kernel_vmount() use the new function.
* Sort and wash #includes.phk2004-12-031-18/+15
|
* When omount() is called, check if the filesystem have a cmount methodphk2004-12-031-2/+11
| | | | | | | | and if so call it. The cmount method will gather and interpret omount() style arguments, and issue a kern_[v]mount() call to execute the corresponding nmount operation.
* typo in comment.phk2004-12-031-1/+1
|
* Add vfs_cmount() method to vfs_ops, this is to convert old-style mountphk2004-12-031-1/+2
| | | | args to nmount request.
* Add early checks for MNT_ROOTFS since we need to allow it later on inphk2004-12-031-0/+9
| | | | the code path.
* Retire unused vfs_mount() function in the name of nmount migration.phk2004-12-032-25/+0
|
* - Simplify pcn_probe() by moving vendor/device matching code to pcn_match().mdodd2004-12-031-45/+44
| | | | - Avoid LOR in pcn_probe() by removing useless mutex stuff.
* - Move chip ID code into separate function.mdodd2004-12-031-42/+94
| | | | | | - Initialize sc->pcn_type during ATTACH as softc contents may not surivive from PROBE. - Print out chip-id to assist with ongoing pcn(4) debugging efforts.
* Do not blindly pass linux filesystem specific mount data across.phk2004-12-031-1/+1
|
* Don not call pp_down()/pp_up() form XX_tlf()/XX_tls() in non PPP moderik2004-12-033-6/+12
| | | | | | to privent running of PPP's state machine in non PPP mode. MFC: after 3 days.
* Additional register definitions.mdodd2004-12-031-1/+19
| | | | Obtained from: NetBSD
* Introduce vfs_byname_kld() which will try to load the filesystemphk2004-12-033-29/+41
| | | | | | | as a module if possible. Use it so we don't have linker magic in the middle of the already complex mount code.
* Fix description: the argument to setcontext(3) must have been previouslyrse2004-12-031-1/+1
| | | | | | | initialized "by a call to getcontext(3) or makecontext(3)" and not "by a call to setcontext(3) or makecontext(3)". MFC after: 3 days
* Add a manual page for the kernel's EVENTHANDLER facility.jkoshy2004-12-032-0/+248
| | | | Reviewed by: ru
* Remove an extra space.harti2004-12-031-1/+1
| | | | Submitted by: ru
* Fix breakage introduced on 64-bit platforms with my last commit. Needharti2004-12-0310-52/+53
| | | | to change to size_t in a couple of other places too.
* Make NAMEI_DIAGNOSTIC compile again and add a stragic vprint()phk2004-12-031-8/+9
|
* Improve vprint() a little bit: break long lines, reduce indent and tellphk2004-12-031-4/+7
| | | | if the VI_LOCK() is held.
* Plug a memory leak.harti2004-12-031-0/+1
|
* Put macro arguments in paranthesis.harti2004-12-032-2/+2
| | | | Submitted by: johan
* Make sizes to be of type size_t and correct function arguments thatharti2004-12-033-32/+32
| | | | should be Byte (as the numerous casts to Byte in the function calls show).
* Add missing vop_bypass (returning EOPNOTSUPP).phk2004-12-031-1/+3
| | | | Tripped up: marks
* ACPI is not on pc98 either.njl2004-12-031-1/+2
| | | | Informed by: nyan
* Style: fix indentation, protect macro with do { } while (0).harti2004-12-032-135/+134
| | | | Checked with: diff on object file.
* Non-x86 platforms cannot use the ACPI includes. This should be fixed butnjl2004-12-031-0/+4
| | | | | | for now, only include the headers for i386, amd64, or ia64. Pointed out by: grehan
* Describe the .SHELL target.harti2004-12-031-1/+109
| | | | Reviewed by: ru
* Change the algorithm that matches the builtin shells from the name keywordharti2004-12-031-32/+16
| | | | | | | | | | | | | | of the .SHELL target. Formerly it used to select the shell with the longest common trailing substring, so that bash would select sh, but pocsh would select csh. Now an exact match is required so that specifying bash without also giving a path and the other keywords will give an error. PR: Submitted by: Reviewed by: ru Approved by: Obtained from: MFC after:
OpenPOWER on IntegriCloud