njl
98ffca48ea
Staticize the legacy cpu devclasses and revert the name for the acpi_cpu
...
devclass. As pointed out by dfr@, devclasses don't have to share the same
linkage if multiple drivers have the same name. Newbus should match the
devclasses based on name and allocate non-conflicting unit numbers.
2005-02-06 07:36:08 +00:00
das
b45580b648
Update my email address.
2005-02-06 03:23:31 +00:00
njl
2958530007
Finish the job of sorting all includes and fix the build by including
...
malloc.h before proc.h on sparc64. Noticed by das@
Compiled on: alpha, amd64, i386, pc98, sparc64
2005-02-06 01:55:08 +00:00
glebius
d433625cac
Notice that NG_VERSION has been increased.
2005-02-05 23:25:59 +00:00
glebius
b4e5bbef00
Increase size of arglen to uint32_t, since uint16_t proved to be
...
not enough (e.g. listing 911 nodes). Bump NG_VERSION.
Reviewed by: julian, archie, ru
2005-02-05 23:23:14 +00:00
njl
e0147243eb
Make cpu_est_clockrate() more accurate by disabling interrupts for the
...
millisecond it is calibrating. Suggested by jhb@ and bde@. Don't clobber
the tsc_freq with the new value since it isn't accurate enough for
timecounters and the timecounter system as a whole needs support for
changing rates before we do this. Subtract 0.5% from our measurement
to account for overhead in DELAY. Note that this interface is for
estimating the clockrate and needs to work well at runtime so doing a full
calibration including disabling interrupts for a second is not feasible.
2005-02-05 23:16:27 +00:00
njl
0138510ffd
Convert to the new GAS APIs to allow for detach in the future. Also, check
...
the PERF_CTRL register in our probe method so that we can tell earlier
that another driver should handle this device due to FFixedHW. This avoids
scaring users when attach failed when we really wanted probe to fail.
2005-02-05 22:30:57 +00:00
njl
ecac0b610e
Convert to the new GAS API so that we can free registers in the future.
2005-02-05 22:29:03 +00:00
njl
91da9ee986
Convert the acpi_bus_alloc_gas() and acpi_PkgGas() APIs to output the memory
...
type. This is needed if the resource is to be released later. The RID is
still also present, though less necessary since rman_get_rid() can be used
to obtain it from the resource.
2005-02-05 22:28:36 +00:00
alc
847a21ef10
Acquire the source pmap's lock in pmap_copy().
2005-02-05 22:06:47 +00:00
njl
7721d27e92
Build cpufreq and acpi_perf on platforms that are likely to be able to
...
use them.
2005-02-05 21:01:09 +00:00
maxim
6cd7a41f4f
Fix typos.
...
PR: misc/77151
Submitted by: Anton Karpov
2005-02-05 20:44:53 +00:00
alc
183c01d4ff
Implement proper handling of PG_G mappings in pmap_protect(). (I don't
...
believe that this omission mattered before the introduction of MemGuard.)
Reviewed by: tegge@
MFC after: 1 week
2005-02-05 19:21:54 +00:00
glebius
c455085275
Document how interaction with ng_ipfw node is configured.
2005-02-05 18:29:03 +00:00
glebius
7f034c9f34
Manpage for ng_ipfw node.
2005-02-05 17:53:44 +00:00
njl
b7e0d4ebc6
Use intr_disable/restore() instead of disable_intr() since the latter is
...
not MI. This should fix build on non i386 platforms.
2005-02-05 16:31:58 +00:00
brueffer
41c528217b
Remove Xref to nonexistant ifmedia.4
...
MFC after: 3 days
2005-02-05 15:03:22 +00:00
brueffer
9d041423b5
Remove last traces of le.4
...
MFC after: 3 days
2005-02-05 14:57:19 +00:00
brueffer
6a6bfa9dfa
Remove Xref to nonexistant cap.3
...
Ok'ed by: rwatson
MFC after: 3 days
2005-02-05 14:16:35 +00:00
brueffer
983c33d127
- replace pointers to XF86Config with xorg.conf
...
- remove outdated XFree86 3.3.1 information
- bump .Dd
MFC after: 3 days
2005-02-05 14:09:09 +00:00
brueffer
36e8a51a0c
Remove last traces of lomac.4
...
MFC after: 3 days
2005-02-05 13:52:21 +00:00
brueffer
f2bc2200a5
Backout last commit, lomac_enable is still valid. Just Xref mac_lomac.4
...
instead of lomac.4.
2005-02-05 13:44:29 +00:00
brueffer
d0d7ed3880
Xref mac_lomac.4 instead of lomac.4
...
MFC after: 3 days
2005-02-05 13:36:33 +00:00
brueffer
c1c4e26bed
Remove last traces of lomac(4)
...
MFC after: 3 days
2005-02-05 13:29:20 +00:00
glebius
45589f6254
Hook up ng_ipfw to kernel build.
2005-02-05 12:15:56 +00:00
glebius
0946e341eb
Add ng_ipfw to kernel module build.
2005-02-05 12:09:38 +00:00
glebius
67c8ae0802
Add a ng_ipfw node, implementing a quick and simple interface between
...
ipfw(4) and netgraph(4) facilities.
Reviewed by: andre, brooks, julian
2005-02-05 12:06:33 +00:00
ru
a7fbfc9eab
Verify that SYNOPSIS section compiles.
2005-02-05 11:31:31 +00:00
ru
3a8387bd86
Added the SYNOPSIS section.
2005-02-05 11:30:59 +00:00
glebius
becc1a2274
Expire aged flows in normal expiry thread. This fixes the problem, when
...
a node disconnected from all sources of traffic never purges its cache.
2005-02-05 10:00:04 +00:00
glebius
896de17746
Break long lines in code and comments.
2005-02-05 09:08:33 +00:00
ru
690fdeacb3
Create a per-module mutex on MOD_LOAD, and destroy it on MOD_UNLOAD.
...
(This fixes witness_destroy() panic after module unload.)
OK'ed by: rwatson, julian
2005-02-05 08:28:36 +00:00
scottl
7fde123e3a
Only compile the cpufreq driver on i386 and amd64.
2005-02-05 08:01:10 +00:00
jkoshy
b0f32c379f
Note that functions alq_flush() and alq_post() should not be called in
...
contexts where sleeping is disallowed.
Pointed out by: ru
2005-02-05 02:39:07 +00:00
jeff
0a084a15e2
- Don't release BKGRDINPROG until after we've bufdone'd the copy.
...
Sponsored by: Isilon Systems, Inc.
2005-02-05 01:26:14 +00:00
pjd
e4c6b83cfd
- Use bioq_insert_tail()/bioq_insert_head() instead of bioq_disksort().
...
- Improve mediasize checking.
MFC after: 1 week
2005-02-05 00:30:08 +00:00
glebius
93f2cf1fa1
Do check that version of a message from userland matches ours.
...
MFC after: 3 days
2005-02-04 21:38:42 +00:00
glebius
e7fd5fd51e
When we have converted an ASCII message to binary, set its version in
...
the header. Otherwise we will send a message with zero version.
MFC after: 3 days
2005-02-04 21:36:10 +00:00
imp
50c3fd3802
As threatened, trim the UDPATING file to the branchpoint for RELENG_5.
...
People wishing to see prior changes are encouraged to look at the
UPDATING file on the RELENG_5 branch. Document when RELENG_5 was
branched, as well as the 5.3 release date, as shown in the CVS logs
for newvers.sh.
This change should not be MFC'd.
Noticed by: Matteo Riondato (and ru)
2005-02-04 21:22:06 +00:00
maxim
ba4f5d9f13
Backout rev. 1.17 per ru@ request: there are net.graph.recvspace and
...
net.graph.maxdgram sysctls.
2005-02-04 20:09:11 +00:00
das
2992840cda
Fix a small scripting snafu in the previous revision.
2005-02-04 20:05:39 +00:00
glebius
e11596c717
Call if_link_state_change() when link status changes.
...
PR: kern/76890
Reviewed by: rwatson, sam
2005-02-04 18:36:04 +00:00
das
24d2516dd7
Remove another vestige of support for a non-IEEE libm.
2005-02-04 18:32:13 +00:00
das
a47af911ba
Reduce diffs against vendor source (Sun fdlibm 5.3).
2005-02-04 18:26:06 +00:00
njl
e8403b2368
Don't print out a failure message when an attach for FFixedHW fails.
...
Instead, just fail to attach so another hardware-specific driver can
claim the device. Also, clean up some small memory leaks in the failure
case.
2005-02-04 18:09:01 +00:00
njl
6701a5bbfe
Return a special status of "not supported" for functional fixed hardware
...
since this type of register should be handled by another driver.
2005-02-04 18:07:03 +00:00
imp
d00831d3e0
Don't rely on indirect inclusion of machine/bus.h to use
...
bus_space_{read,write}_* routines. This doesn't matter in the current
tree, but will matter soon (the rest of the tree appears to already be
clean).
2005-02-04 17:33:31 +00:00
jeff
ef8ea3a09d
- Add ke_runq == NULL to the conditions which will cause us to abort
...
adjusting timeshare loads in sched_class(). This is only important if
the thread has never run, otherwise the state checks should work as
expected.
2005-02-04 17:22:46 +00:00
harti
43632a424a
Where the returned line length from Buf_GetAll is not used just pass
...
a NULL to the function. Delete the now unused local variables.
Submitted by: Max Okumoto <okumoto@ucsd.edu>
2005-02-04 16:53:35 +00:00
harti
44af3ae976
Rewrite of the buf code:
...
- convert Buf_AddByte from a macro to a function
- move #define's into the header file
- remove unused field in struct Buffer
- remove size fields - they can be easily computed
- inline Buf_OvAddByte
Submitted by: Max Okumoto <okumoto@ucsd.edu>
2005-02-04 16:48:35 +00:00