Alan Cox
ab42aa145d
Acquire the source pmap's lock in pmap_copy().
2005-02-05 22:06:47 +00:00
Nate Lawson
69bc96f231
Build cpufreq and acpi_perf on platforms that are likely to be able to
...
use them.
2005-02-05 21:01:09 +00:00
Alan Cox
fb1b26da19
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
Nate Lawson
0a9145a2f2
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
Gleb Smirnoff
f2a7ef4e00
Hook up ng_ipfw to kernel build.
2005-02-05 12:15:56 +00:00
Gleb Smirnoff
aa70aaecdb
Add ng_ipfw to kernel module build.
2005-02-05 12:09:38 +00:00
Gleb Smirnoff
670742a102
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
Gleb Smirnoff
d1240630b3
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
Gleb Smirnoff
020d3f61d8
Break long lines in code and comments.
2005-02-05 09:08:33 +00:00
Ruslan Ermilov
30aabc9afd
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
Scott Long
6ab93aca6d
Only compile the cpufreq driver on i386 and amd64.
2005-02-05 08:01:10 +00:00
Jeff Roberson
8364446643
- 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
Pawel Jakub Dawidek
662a4e5878
- 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
Gleb Smirnoff
a436589ae2
Do check that version of a message from userland matches ours.
...
MFC after: 3 days
2005-02-04 21:38:42 +00:00
Gleb Smirnoff
e5d73ca252
Call if_link_state_change() when link status changes.
...
PR: kern/76890
Reviewed by: rwatson, sam
2005-02-04 18:36:04 +00:00
Nate Lawson
26d5f7dfa7
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
Nate Lawson
b68b14adaf
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
Warner Losh
c4241acbb3
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 Roberson
42a29039de
- 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
Gleb Smirnoff
7a1725fc46
- Fix build with TRACE_MESSAGES defined
...
- Remove extra parenthesis
2005-02-04 16:08:20 +00:00
Yoshihiro Takahashi
c94fa11fc4
cosmetic changes.
2005-02-04 15:34:52 +00:00
Yoshihiro Takahashi
328a9c4f3d
The bs and wdc drivers are gone.
2005-02-04 15:29:54 +00:00
Hajimu UMEMOTO
6d0a982bdf
teach scope of IPv6 address to net.inet6.tcp6.getcred.
...
MFC after: 1 week
2005-02-04 14:43:05 +00:00
Yoshihiro Takahashi
f787023e5a
Fix pc98 support (broken by previous change).
2005-02-04 13:37:21 +00:00
Yoshihiro Takahashi
9f83151765
Merged from sys/dev/sio/sio.c revision 1.457.
2005-02-04 13:35:21 +00:00
Yoshihiro Takahashi
0faf078231
MFi386: revision 1.605.
2005-02-04 13:34:24 +00:00
Yoshihiro Takahashi
2e047e2eb8
MFi386: revision 1.514.
2005-02-04 13:33:46 +00:00
Nate Lawson
7d3a06201d
Make the devclass static for now until deciding whether to share them.
2005-02-04 07:25:44 +00:00
Nate Lawson
d639e9636d
Bump __FreeBSD_version for cpufreq addition. Requested by marcus@
2005-02-04 06:59:58 +00:00
Nate Lawson
a287c0ffaf
Sort includes a little so that bus.h comes before cpu.h (for device_t).
2005-02-04 06:58:09 +00:00
Marcel Moolenaar
6fb59928a6
Include sys/bus.h before sys/cpu.h. The latter needs device_t.
2005-02-04 06:38:58 +00:00
Suleiman Souhlal
81ae703462
Set the scheduling class of the zeroidle thread to PRI_IDLE.
...
Reviewed by: jhb
Approved by: grehan (mentor)
MFC after: 1 week
2005-02-04 06:18:31 +00:00
Suleiman Souhlal
339a7e7fbb
Set the scheduling class of the idle threads to PRI_IDLE.
...
While there, set their priority with sched_prio() instead of changing it
'by hand'.
Reviewed by: jhb
Approved by: grehan (mentor)
2005-02-04 06:16:05 +00:00
Nate Lawson
dbfdf1736b
MFi386: Merge updates to the cpu pseudo-driver. Compile, not runtime
...
tested.
2005-02-04 06:02:37 +00:00
Nate Lawson
335e4ff3cd
Hook up the cpufreq framework, acpi_perf(4), and cpufreq(4) drivers.
2005-02-04 05:49:36 +00:00
Nate Lawson
6cb2040baf
Add the ACPI Performance states driver. This driver offers two or more
...
settings as exported via the ACPI _PSS method. OEMs use this interface
to encapsulate chipset or processor-specific methods (e.g., SpeedStep or
Powernow) and export their settings in a standard way. On systems that
have valid ACPI Performance states and a hardware-specific driver (e.g.,
ichss), acpi_perf(4) is preferred.
2005-02-04 05:45:07 +00:00
Nate Lawson
6c7b11ccfa
Add a cpufreq driver for the SpeedStep capability in the ICH chipset. This
...
driver offers two settings. Information for this driver was obtained from
the Intel datasheets and by reviewing the Linux driver.
2005-02-04 05:42:29 +00:00
Nate Lawson
73347b071d
Add the cpufreq framework. This code manages multiple drivers and presents
...
a unified kernel and user interface for controlling cpu frequencies.
2005-02-04 05:39:19 +00:00
Nate Lawson
bfdbeca163
Add an interface for cpufreq. The kernel interface lets other drivers
...
select the CPU frequency level (say for cooling). The driver interface
allows hardware drivers to announce themselves as capable of adjusting
an individual frequency setting.
2005-02-04 05:38:30 +00:00
Nate Lawson
98aa9cd052
Update the CPU attachments to return CPU_IVAR_PCPU as well as pass on
...
appropriate requests to any children.
2005-02-04 05:36:40 +00:00
Nate Lawson
4c4381e288
Add an implementation of cpu_est_clockrate(9). This function estimates the
...
current clock frequency for the given CPU id in units of Hz.
2005-02-04 05:32:56 +00:00
Nate Lawson
a07c38209c
Add a new include to handle generic CPU interfaces.
2005-02-04 05:31:10 +00:00
Warner Losh
0ccd166961
Minor style nits
...
o remove unneeded {}
o no need to bzero sc
2005-02-04 02:32:43 +00:00
Peter Grehan
79393893e8
- recognize 7447A/7448 CPUs (used in miniMacs)
...
- enable 745x branch caches. Already enabled by OpenFirmware
on Macs, but reduces NetBSD diffs and usable by embedded folk.
Obtained from: NetBSD
2005-02-04 01:59:48 +00:00
Peter Grehan
6d2d8acaf4
- add wall_cmos_clock and adjkerntz variables, required by msdosfs
...
- support adjkerntz sysctl to silence NTP, though it's a null
implementation at the moment.
2005-02-04 01:41:38 +00:00
Peter Grehan
911e488a03
Convert bus_space_barrier() into a null inline function rather than an
...
empty macro to avoid many compile warnings in the USB code.
2005-02-04 01:27:21 +00:00
Peter Grehan
4e895c543a
- add definitions for MPC7447A/7448 (i.e. miniMac)
...
- expand MPC745X_P macro to include these
Obtained from: NetBSD
2005-02-04 01:17:04 +00:00
Peter Grehan
9e8e140099
HID0 updates:
...
- updated relevant models for High BAT enable bit
- fixed bug in BHTCLR/XAEN constants
- added LRSTK and FOLD bits
2005-02-04 01:14:38 +00:00
Warner Losh
e1500f0d18
Sort PANASONIC products numerically
2005-02-03 23:45:20 +00:00
Warner Losh
b73f46cfbb
takawata tells me that KXLC0003 also works with this driver, so add it
...
to the list. Note it is untested.
Also kill some whitespace at the end of the line...
2005-02-03 23:39:29 +00:00