aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* o In Print_Chunk(), don't print the address of the chunk on ia64. ItMarcel Moolenaar2003-11-021-4/+11
| | | | | | | | | | | doesn't have any meaning and only results in lines longer than 80 characters. o In Delete_Chunk2(), also look for chunks of type "part" under chunks of type "whole" on ia64. They're not only under chunks of type "freebsd" there. Notes: svn path=/head/; revision=121883
* Trim more devices from the hardware list: ida(4), ciss(4), iir(4),Bruce A. Mah2003-11-022-108/+0
| | | | | | | ie(4). Notes: svn path=/head/; revision=121882
* DNS should not necessarily be named(8), tweak the comment a bit.Ruslan Ermilov2003-11-022-2/+2
| | | | Notes: svn path=/head/; revision=121881
* MFV: The -d option.Ruslan Ermilov2003-11-022-3/+5
| | | | Notes: svn path=/head/; revision=121880
* Sort encodings.Ruslan Ermilov2003-11-021-10/+12
| | | | Notes: svn path=/head/; revision=121879
* Style.Ruslan Ermilov2003-11-022-2/+2
| | | | Notes: svn path=/head/; revision=121876
* The '574 family works (I had a bad dongle which is why I thought itWarner Losh2003-11-021-4/+3
| | | | | | | | might not be). The modem combo cards do not (confirmed today) Notes: svn path=/head/; revision=121875
* Take care not to call vput if thread used in corresponding vgetAlexander Kabaev2003-11-027-10/+20
| | | | | | | | | | | | | wasn't curthread, i.e. when we receive a thread pointer to use as a function argument. Use VOP_UNLOCK/vrele in these cases. The only case there td != curthread known at the moment is boot() calling sync with thread0 pointer. This fixes the panic on shutdown people have reported. Notes: svn path=/head/; revision=121874
* - In sched_prio() only force us onto the current queue if our priority isJeff Roberson2003-11-021-1/+2
| | | | | | | being elevated (numerically smaller). Notes: svn path=/head/; revision=121872
* - Rename SCHED_PRI_NTHRESH to SCHED_SLICE_NTHRESH since it is only used inJeff Roberson2003-11-021-10/+11
| | | | | | | | | | | | slice assignment. Add a comment describing what it does. - Remove a stale XXX comment, the nice should not impact the interactivity, nice adjustments only effect non-interactive tasks in ULE. - Don't allow nice -20 tasks to totally starve nice 0 tasks. Give them at least SCHED_SLICE_MIN ticks. We still allow nice 0 tasks to starve nice +20 tasks as intended. Notes: svn path=/head/; revision=121871
* - Remove PRIO_TOTAL.Jeff Roberson2003-11-021-3/+0
| | | | | | | Submitted by: bde Notes: svn path=/head/; revision=121870
* - Remove uses of PRIO_TOTAL and replace them with SCHED_PRI_NRESVJeff Roberson2003-11-021-5/+5
| | | | | | | | | | - SCHED_PRI_NRESV does not have the off by one error in PRIO_TOTAL so we do not have to account for it in the few places that we use it. Requested by: bde Notes: svn path=/head/; revision=121869
* - Change sched_interact_update() to only accept slp+runtime values betweenJeff Roberson2003-11-021-27/+56
| | | | | | | | | | | | | | | | | | | | | | 0 and SCHED_SLP_RUN_MAX * 2. This allows us to simplify the algorithm quite a bit. Before, it dealt with arbitrary values which required us to do nasty integer division tricks that didn't quite work out correctly. - Chnage sched_wakeup() to detect conditions where the slp+runtime could exceed SCHED_SLP_RUN_MAX * 2. This can happen if we go to sleep for longer than 6 seconds. In this case, we'll just clear the runtime and set the sleep time to the max. - Define a new function, sched_interact_fork() which updates the slp+runtime of a newly forked thread. We want to limit the amount of history retained from the parent so that we learn the child's behavior quickly. We don't, however want to decay it to nothing. Previously, we would simply divide each parameter by 100 whenever we forked. After a few forks the values would reach 0 and tasks would not be considered interactive. - Add another KTR entry, cleanup some existing entries. - Remove a useless sched_interact_update() from sched_priority(). This is already done by the callers that require it. Notes: svn path=/head/; revision=121868
* Do if_xname conversion. I missed this one because it's pc98 only.Brooks Davis2003-11-011-2/+2
| | | | Notes: svn path=/head/; revision=121867
* - Increase the scope of two vm object locks in vm_object_collapse().Alan Cox2003-11-011-12/+4
| | | | | | | - Remove the acquisition and release of Giant from vm_object_coalesce(). Notes: svn path=/head/; revision=121866
* o Do not define WITH_SYSCONS and WITH_MICE on ia64. We cannot haveMarcel Moolenaar2003-11-012-4/+4
| | | | | | | | | a generic kernel with syscons. o Do not define WITH_SLICES on ia64. We only label because we're going to create GPT disks. Notes: svn path=/head/; revision=121865
* o Compile-out "wizard" mode on ia64.Marcel Moolenaar2003-11-012-8/+52
| | | | | | | | | | | | o Also allow swap and filesystem partitions outside a freebsd slice. This is typically the case for GPT. o Allow chunks of type "whole" to be displayed at the top. This is to allow a GPT disk to be labeled. We need a slice out of which we can make partitions, but a GPT disk doesn't have slices. For GPT disks a chunk of type "whole" can then be used as a placeholder. Notes: svn path=/head/; revision=121864
* o Compile-out "wizard" mode on ia64.Marcel Moolenaar2003-11-012-4/+8
| | | | | | | | o Do not set bootblocks on ia64. It's not even a functionality in libdisk on ia64. Notes: svn path=/head/; revision=121863
* Revert the first part of my previous change.Tom Rhodes2003-11-011-4/+6
| | | | | | | Requested by: wollman Notes: svn path=/head/; revision=121861
* The copywrite is not a 'static char', remove the #ifdefs and move the ↵Tom Rhodes2003-11-011-6/+4
| | | | | | | | | | | copywrite up into the commented out 'copywrite' section. Include sys/linker.h for kldload(3). Notes: svn path=/head/; revision=121860
* Remove now unused variable.Alexander Kabaev2003-11-011-1/+0
| | | | Notes: svn path=/head/; revision=121859
* Make the cardbus driver a derived class of the pci driver. In theory, thisDoug Rabson2003-11-012-38/+3
| | | | | | | should allow many of the pci methods to be re-staticised. Notes: svn path=/head/; revision=121858
* GEOM'ify atapi-cd. Original patch by phk, subtle changes by me.Søren Schmidt2003-11-012-182/+127
| | | | Notes: svn path=/head/; revision=121857
* Shorten the code by removing one "do-nothing" function, replacing itMark Murray2003-11-011-10/+1
| | | | | | | with nullop(), which is in kern_conf.c. Notes: svn path=/head/; revision=121856
* Fix cable detection on AMD chips.Søren Schmidt2003-11-011-5/+6
| | | | Notes: svn path=/head/; revision=121855
* - Modify swap_pager_copy() and its callers such that the source andAlan Cox2003-11-012-32/+18
| | | | | | | | | destination objects are locked on entry and exit. Add comments to the callers noting that the locks can be released by swap_pager_copy(). - Remove several instances of GIANT_REQUIRED. Notes: svn path=/head/; revision=121854
* Fixed breakage of my world in rev.1.30. #include <sys/time.h> instead ofBruce Evans2003-11-011-13/+9
| | | | | | | | | | | | | | | | depending on namespace pollution in <sys/stat.h> for the declarations of struct timeval and utimes(). Fixed some style bugs in rev.1.30 and some nearby style bugs (mainly unsorting and missing or extra blank lines). Removed a wrong comment that was obtained from NetBSD in rev.1.14. It said that chflags() reset the times that were set "above" by utimes(), but utimes wasn't "above" in FreeBSD until rev.1.30, and chflags() does't actually reset the times. Notes: svn path=/head/; revision=121853
* Remove TODO comment about creating a macro version of towctrans().Tim J. Robbins2003-11-011-4/+0
| | | | | | | Remove unnecessary inclusion of <ctype.h>. Notes: svn path=/head/; revision=121852
* Fix a typo that caused the optimized single-byte locale path not to be taken.Tim J. Robbins2003-11-011-1/+1
| | | | Notes: svn path=/head/; revision=121851
* - Add a new function tcp_twrecycleable, which tells us if the ISN whichMike Silbersack2003-11-014-0/+52
| | | | | | | | | | | | | | | | we will generate for a given ip/port tuple has advanced far enough for the time_wait socket in question to be safely recycled. - Have in_pcblookup_local use tcp_twrecycleable to determine if time_Wait sockets which are hogging local ports can be safely freed. This change preserves proper TIME_WAIT behavior under normal circumstances while allowing for safe and fast recycling whenever ephemeral port space is scarce. Notes: svn path=/head/; revision=121850
* Fix a few style glitches in the previous commit and make theMike Silbersack2003-11-011-5/+5
| | | | | | | | | tunable error message more brief. Suggested by: bde Notes: svn path=/head/; revision=121849
* More trimmage of the hardware notes: sf(4), tx(4), wb(4), nge(4),Bruce A. Mah2003-11-012-276/+0
| | | | | | | | | | ste(4), sk(4), le(4), lge(4), txp(4), bge(4). These are all Ethernet drivers whose manual pages already list specific supported devices. Notes: svn path=/head/; revision=121848
* Temporarily undo parts of the stuct mount locking commit by jeff.Alexander Kabaev2003-11-016-34/+10
| | | | | | | | | | | It is unsafe to hold a mutex across vput/vrele calls. This will be redone when a better locking strategy is agreed upon. Discussed with: jeff Notes: svn path=/head/; revision=121847
* Add a manual page for the utrace() system call.Tim J. Robbins2003-11-012-1/+87
| | | | | | | Obtained from: NetBSD Notes: svn path=/head/; revision=121846
* Allow mbrtowc() and wcrtomb() to be implemented directly, instead ofTim J. Robbins2003-11-017-50/+204
| | | | | | | | | | | | | | | | | | | | as wrappers around the deprecated 4.4BSD rune functions. This paves the way for state-dependent encodings, which the rune API does not support. - Add __emulated_sgetrune() and __emulated_sputrune(), which are implementations of sgetrune() and sputrune() in terms of mbrtowc() and wcrtomb(). - Rename the old rune-wrapper mbrtowc() and wcrtomb() functions to __emulated_mbrtowc() and __emulated_wcrtomb(). - Add __mbrtowc and __wcrtomb function pointers, which point to the current locale's conversion functions, or the __emulated versions. - Implement mbrtowc() and wcrtomb() as calls to these function pointers. - Make the "NONE" encoding implement mbrtowc() and wcrtomb() directly. All of this emulation mess will be removed, together with rune support, in FreeBSD 6. Notes: svn path=/head/; revision=121845
* - Additional vm object locking in vm_object_split()Alan Cox2003-11-012-4/+12
| | | | | | | | - New vm object locking assertions in vm_page_insert() and vm_object_set_writeable_dirty() Notes: svn path=/head/; revision=121844
* More trimming of specific device instances from the hardware notes toBruce A. Mah2003-11-012-144/+0
| | | | | | | | reduce duplication of information from the manual pages: xl(4), cs(4), ath(4), sbni(4), lmc(4). Notes: svn path=/head/; revision=121843
* Do not bother walking mount point vnode list just to calculateAlexander Kabaev2003-11-011-5/+1
| | | | | | | | the number of vnodes. Use precomputed mp->mnt_nvnodelistsize value instead. Notes: svn path=/head/; revision=121842
* o check hal ABI version to catch driver-HAL mismatchesSam Leffler2003-11-011-0/+16
| | | | | | | o print MAC, PHY, and radio h/w revisions at attach Notes: svn path=/head/; revision=121840
* This commit was generated by cvs2svn to compensate for changes in r121837,Sam Leffler2003-11-016-3246/+3337
|\ | | | | | | | | | | | | which included commits to RCS files with non-trunk default branches. Notes: svn path=/head/; revision=121838
| * Version 0.9.5.17:vendor/ath/0.9.5.17Sam Leffler2003-11-016-3246/+3337
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | o change os glue API to be compatible with Linux so hal.o's can be used on any system o add ABI version to catch driver-HAL mismatches o move hal version information from ah_osdep.c to binary component o remove ath_hal_wait os glue component o assign constant values to all enums to avoid potential compiler incompatibilities o add support for 3Com badged cards (PCI vendor ID) o add support for IBM mini-pci cards (PCI device ID) o expose MAC, PHY, and radio hardware revisions o support for big-endian platforms o new method to set slot time in us o bug fix for 5211: beacon timers not setup correctly o bug fix for 5212: don't crash when handed a 5112 radio Notes: svn path=/vendor-sys/ath/dist/; revision=121837 svn path=/vendor-sys/ath/0.9.5.17/; revision=121839; tag=vendor/ath/0.9.5.17
* | Copy cur's snap_time to last when refreshing statistics. Fixes problemTim J. Robbins2003-11-011-0/+2
| | | | | | | | | | | | | | | | | | | | | | where MB/s and tps statistics would always be zero, presumably because they were being averaged out over the time between now and when the system booted instead of a few seconds. PR: 58683 Notes: svn path=/head/; revision=121836
* | Fix the logic to match the new name of the tunable.Nate Lawson2003-11-011-1/+1
| | | | | | | | | | | | | | Pointed out by: iwasaki Notes: svn path=/head/; revision=121835
* | Trim the hifn(4) device instances from the hardware list.Bruce A. Mah2003-11-012-36/+8
| | | | | | | | | | | | | | Add an entry for safe(4) crypto accelerators. Notes: svn path=/head/; revision=121834
* | Change the reset video option to be positive (hw.acpi.reset_video).Nate Lawson2003-11-016-31/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Requested by: jhb Initialize the real mode stack. This is needed at least for the return address from the lcall. Requested by: takawata Fix style bugs in acpi_wakecode.S Requested by: bde Remove the kernel option now that we have the tunable. Notes: svn path=/head/; revision=121830
* | Remove a bogus PCI ID entry.Scott Long2003-11-011-2/+0
| | | | | | | | Notes: svn path=/head/; revision=121828
* | We want the length of the string, not the size of its pointer.Brooks Davis2003-11-011-1/+1
| | | | | | | | Notes: svn path=/head/; revision=121827
* | Cast the NULL to a pointer type for 64 bit architecturesGregory Neil Shapiro2003-10-311-1/+3
| | | | | | | | | | | | | | | | Submitted by: harti MFC after: 4 days Notes: svn path=/head/; revision=121826
* | Use tabs not spaces.Brooks Davis2003-10-311-6/+6
| | | | | | | | | | | | | | Pointed out by: Xin LI <delphij at frontfree dot net> Notes: svn path=/head/; revision=121825
* | Add a missing word.Simon L. B. Nielsen2003-10-311-1/+1
| | | | | | | | | | | | | | | | | | Submitted by: Michel Lavondes <fox@vader.aacc.cc.md.us> Reviewed by: des MFC after: 1 week Notes: svn path=/head/; revision=121824