summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Quick fix for overflow when tsc_freq >= 2^31. "int profrate" in structbde2004-05-262-6/+20
| | | | | | | | | | gmon and struct gmonhdr was originally just to represent the kernel (profiling) clock frequency and it remains poorly suited to representing the frequencies of fast counters like the TSC. It broke a year or two ago. This quick fix keeps it working for another year or month or two until TSC frequencies can exceed 2^32, by dividing the frequency by 2. Dividing the frequency by 4 would work for a little longer but would lose a little too much precision.
* MFamd64:bde2004-05-264-10/+34
| | | | | | | | | | | | | | | | | | | | Fixed profiling of trap, syscall and interrupt handlers and some ordinary functions, essentially by backing out half of rev.1.106 of i386/exception.s. The handlers must be between certain labels for the purposes of profiling, and this was broken by scattering them in separately compiled .s files, especially for ordinary functions that ended up between the labels. Merge the files by #including them as before, except with different pathnames and better comments and organization. Changes to the scattered files are minimal -- just move the labels to the file that does the #includes. This also partly fixes profiling of IPIs -- all IPI handlers are now correctly classified as interrupt handlers, but many are still missing mcount calls. vm86bios.s is included as before, but it is now between the labels for interrupt handlers again, which seems to be wrong since half of it is for a non-interrupt handler.
* Move to generating pccarddevs.h on the fly, both for the kernel andimp2004-05-2650-1231/+66
| | | | | | | the modules. Also generate usbdevs.h automatically now, but a non-kernel file is stopping that at the moment.
* Fix disorder introduce in 1.862 by sorting emu10k before miidevs.h,imp2004-05-261-5/+5
| | | | | | rather than after. bde inspired words: disorder
* devlist2h.awk is too generic a name for what it does. It reallyimp2004-05-263-151/+4
| | | | | | | | converts miidevs to a .h file, so rename to reflect that. The usb and pccard versions have also been renamed and will be hooked into the build system shortly (I've made the conversion in my p4 tree).
* Keepalive timer should be added if we does not have any sppp consumers beforerik2004-05-251-2/+2
| | | | and should be deleted if we do not have any anymore.
* Humanize_number(3) is a part of libutil.pjd2004-05-251-0/+2
|
* 'ld' lists drives, not volumes.le2004-05-252-3/+3
|
* Definition of recursion.wollman2004-05-251-0/+6
|
* You want to include libutil.h, not util.h.trhodes2004-05-251-4/+7
| | | | Some minor sentence tweaking.
* MFS: vm_map.c rev 1.187.2.27 through 1.187.2.29, fix MS_INVALIDATEdes2004-05-251-1/+5
| | | | semantics but provide a sysctl knob for reverting to old ones.
* Back out previous commit; it went to the wrong file.des2004-05-251-8/+1
|
* Fix spellingbrueffer2004-05-251-1/+1
|
* MFS: rev 1.187.2.27 through 1.187.2.29, fix MS_INVALIDATE semantics butdes2004-05-251-1/+8
| | | | provide a sysctl knob for reverting to old ones.
* Enable GPE at runtime rather than suspend time. This is to match thenjl2004-05-252-2/+6
| | | | | new behavior in ACPI-CA that defers GPE configuration. This is a temporary measure while reworking the GPE interface.
* Add a super-user check to ipfw_ctl() to make sure that the callingcsjp2004-05-251-0/+4
| | | | | | | | | process is a non-prison root. The security.jail.allow_raw_sockets sysctl variable is disabled by default, however if the user enables raw sockets in prisons, prison-root should not be able to interact with firewall rule sets. Approved by: rwatson, bmilekic (mentor)
* Use humanize_number(3).pjd2004-05-252-60/+7
| | | | Reminded by: jhb
* Teach fxp(4) to control VLAN_MTU in the hardware.yar2004-05-252-8/+17
| | | | | | | | Now reception of extended frames can be toggled through ioctl(SIOCSIFCAP). The card will also receive extended frames when in promiscuous mode.
* After all the relevant drivers have been fixed, fix vlan(4) itselfyar2004-05-251-27/+27
| | | | | | | | | | WRT manipulating capabilities of the parent interface: - use ioctl(SIOCSIFCAP) to toggle VLAN_MTU (the way that was done before was just wrong); - use the right order of conditional clauses to set the MTU fudge (that is logically independent from toggling VLAN_MTU.)
* Add pgrep(1) and pkill(1) to the cross-reference section of ps(1).gad2004-05-251-0/+2
|
* Revert to rev. 1.36 until issues with -Wredundant-decls are sorted out.tjr2004-05-251-8/+0
|
* Actually negative size is possible for file system, but not for disk.pjd2004-05-251-2/+1
|
* As previously threatened, give each device its own sysctl context anddes2004-05-252-29/+156
| | | | | subtree (under the new dev top-level node). This should greatly simplify drivers which need per-device sysctl variables (such as ndis).
* Fix typo in previous: getwc() should call fgetwc(), not the functiontjr2004-05-251-1/+1
| | | | | | version of itself. Noticed by: stefanf
* Set the IFCAP_VLAN_MTU bit in capenable as well.des2004-05-251-0/+1
| | | | Reminded by: ru
* Set baudrate to 100 Mbps, and advertise our ability to handle extendeddes2004-05-251-1/+7
| | | | | | frames (802.1q). Submitted by: Steinar Haug <sthaug@nethelp.no>
* Scan the source string for invalid wide characters in wcsrtombs()tjr2004-05-251-2/+9
| | | | in the dst == NULL case.
* o Fix typo: s/bslim/bhlim/.maxim2004-05-251-1/+1
| | | | | | PR: docs/67170 Submitted by: Anatoly Zherdev MFC after: 3 days
* Provide trivial macro implementations of getwc(), getwchar(), putwc() andtjr2004-05-255-0/+16
| | | | putwchar() to reduce function call overhead.
* Round #1 of improving pcf(4).joerg2004-05-254-320/+645
| | | | | | | | | | | | This splits the driver into a bus-independant backend, plus bus-specific frontends. The old pcf(4) (i386/ISA) frontend is now in pcf_isa.c, the frontend in envctrl.c is for sparc64/Ebus2 (Sun device name: SUNW,envctrl from Sun E450 machines). More frontends are expected to appear in future. This is not yet ready for public consumption, but it basically works. Nicolas will bring over his ISA-specific fixes soon. Reviewed by: nsouch
* Null commit: this is just a notification only that this file has beenjoerg2004-05-250-0/+0
| | | | | | | | | repo-copied over from src/sys/i386/isa/pcf.c which will be removed from the old location as soon as the new stuff here is ready for the masses. The intention is to work up the old pcf(4) driver to become machine independant, so it can be used for any PCF8584-controller I2C bus.
* Use the correct location of the EBDA for searching for the RSDP.njl2004-05-253-26/+40
| | | | | | The EBDA is the 1 KB area addressed by the 16 bit pointer at 0x40E. Pointed out by: robert.moore AT intel.com
* Correct two error cases in vm_map_unwire():alc2004-05-251-4/+5
| | | | | | | | | | | | | | | | | 1. Contrary to the Single Unix Specification our implementation of munlock(2) when performed on an unwired virtual address range has returned an error. Correct this. Note, however, that the behavior of "system" unwiring is unchanged, only "user" unwiring is changed. If "system" unwiring is performed on an unwired virtual address range, an error is still returned. 2. Performing an errant "system" unwiring on a virtual address range that was "user" (i.e., mlock(2)) but not "system" wired would incorrectly undo the "user" wiring instead of returning an error. Correct this. Discussed with: green@ Reviewed by: tegge@
* Remove call to _INI for thermal devices. ACPI-CA now calls _INI fornjl2004-05-251-6/+0
| | | | Devices, ThermalZones, and Processors.
* This commit was generated by cvs2svn to compensate for changes in r129694,njl2004-05-251-1/+1
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * Remove a warning of a constant that is too large. Change submitted tonjl2004-05-251-1/+1
| | | | | | | | vendor.
* | Add suspend/resume support to the debugger.njl2004-05-251-1/+1
| |
* | Changes to implement 20040514:njl2004-05-255-45/+67
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add calls to AcpiSetGpeType. We use wake/run as the type for lid and button switches since wake-only causes Thinkpads to immediately wake on the second suspend. Note that with wake/run, some systems return both wake and device-specific notifies so we don't register for system notifies for lid and button switches. * Remove the hw.acpi.osi_method tunable since it is not needed. * Always print unknown notifies for all types. * Add more cleanup for the EC if it fails to attach. * Use the GPE handle now that we parse it. This allows GPEs to be defined in AML GPE blocks. * Always use ACPI_NOT_ISR since it's ok to acquire a mutex in our thread which processes queued requests.
* | Local change: allow usermode to compile this header. Submitted to vendor.njl2004-05-251-7/+1
| |
* | Local change: don't hang forever if WAK_STS is never set.njl2004-05-251-9/+32
| |
* | Local change: remove warnings.njl2004-05-253-45/+66
| |
* | Local diff: allow use of the disassembler.njl2004-05-251-2/+33
| |
* | Unchanged files that are off the vendor branch.njl2004-05-253-12/+24
| |
* | This commit was generated by cvs2svn to compensate for changes in r129684,njl2004-05-2549-1117/+2045
|\ \ | |/ | | | | which included commits to RCS files with non-trunk default branches.
| * Vendor import of Intel ACPI-CA 20040514.njl2004-05-2558-1192/+2201
| |
| * Only avoid disabling bus mastering on the sleep path. This should fixnjl2004-04-141-13/+13
| | | | | | | | | | | | power off for some users. The patch has been submitted to Intel. Bug: http://bugme.osdl.org/show_bug.cgi?id=2109
* | - Close fd if fdopen(fd) fails.mdodd2004-05-251-1/+2
| | | | | | | | - Format return () to resemble the one 5 lines up.
* | - Add a cross-reference to geom(8).pjd2004-05-243-4/+7
| | | | | | | | - Add missing 'a'.
* | Add manual page for geom(8) utility.pjd2004-05-241-0/+121
| | | | | | | | Supported by: Wheel - Open Technologies - http://www.wheel.pl
* | Add two new flags: -w, which allows new files to be created,mdodd2004-05-242-5/+32
| | | | | | | | | | | | and -U, which allows the umask to be set. Obtained from: Patton Electronics, Co.
OpenPOWER on IntegriCloud