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
Matthew N. Dodd
5b08cb0449
Description from Dan:
...
Another handy libmap patch. Lets you do stuff like this:
LD_LIBMAP="libpthread.so.1=libthr.so.1" mythreadedapp
If you already have a program-specific override in libmap.conf, note
that you must use a program-specific override in LD_LIBMAP:
LD_LIBMAP="[mythreadedapp],libpthread.so.1=libthr.so.1" mythreadedapp
PR: bin/74471
Submitted by: Dan Nelson <dnelson AT allantgroup.com>
MFC after: 2 weeks
2005-02-04 02:46:41 +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
Matthew N. Dodd
d33da23f4c
style(9)
2005-02-04 02:13:37 +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
Christian Brueffer
6331aa50d9
Manpage for Olicom Token Ring adapters, based on input by mdodd.
...
Reviewed by: mdodd
MFC after: 1 week
2005-02-04 01:48:27 +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
Scott Long
176a8c17c6
Remove the entries for isp and ispfw instead of leaving them in an inconsistent
...
state.
2005-02-03 23:10:17 +00:00
Matthew N. Dodd
1f005b6723
- Split out PCI support.
...
- Add previously removed ISA support.
Submitted by: David S. Madole <david AT madole.net>
2005-02-03 23:01:01 +00:00
Jens Schweikhardt
fb7b9592c7
s/worman/woman/
2005-02-03 22:48:29 +00:00
Jun Kuriyama
2d914e9670
- Use svc_getrpccaller() rather than svc_getcaller() for using
...
xt_rtaddr member of SVCXPRT structure. This allows to use IPv6
address stored in "struct sockaddr_storage" in "struct netbuf".
- Output the reason of getnameinfo() error.
Reviewed by: alfred
2005-02-03 22:21:19 +00:00
Pawel Jakub Dawidek
c652fd8574
- Sort options.
...
- Put 'break' into separate line.
2005-02-03 21:34:39 +00:00
Pawel Jakub Dawidek
44160c5299
Fix whitespace.
2005-02-03 21:25:35 +00:00
Giorgos Keramidas
d8aa7ce5ca
Clarify a bit the BUGS section.
...
PR: docs/77024
Submitted by: Adrian Filipi <adrian@ubergeeks.com>
Reviewed by: ru
2005-02-03 21:16:23 +00:00
Ruslan Ermilov
2154e70d14
Connect ng_device(4) to the build.
2005-02-03 19:54:58 +00:00
John Baldwin
aa96fcdb61
Anytime we write to the RTC's status B register to possibly enable
...
interrupts, read from the interrupt status register to clear any pending
interrupts. Otherwise in some rare cases the RTC would never fire any
interrupts as it constantly thinks it has an interrupt pending.
PR: i386/17800
PR: kern/76776
Submitted by: Jose M. Alcaide jose at we dot lc dot ehu dot es
MFC after: 2 weeks
2005-02-03 19:06:03 +00:00
Sam Leffler
cb212bbc75
correct check for unicast key being setup; wpa_supplicant in particular
...
uses only the global key state so looking in the per-node key slot is wrong
Submitted by: Tai-hwa Liang
2005-02-03 16:21:07 +00:00
Ruslan Ermilov
27667f5821
MFlibc: Remove extra closing parenthesis.
2005-02-03 15:51:39 +00:00
Pawel Jakub Dawidek
f3830f0482
We do want to print '\n'/'\r'.
...
Pointed out by: stefanf
2005-02-03 15:47:30 +00:00
Pawel Jakub Dawidek
6513f57682
'c' cannot be -1.
...
Submitted by: stefanf
2005-02-03 15:23:27 +00:00
Pawel Jakub Dawidek
f627315f1e
- Move gets() function to libkern (I want to use it outside vfs_mount.c).
...
- Add buffer size limitations (overflow will not be possible anymore).
- Add 'visible' option, which will allow for passphrase reading in the
future.
- Remove special treatment of '@' and '#', those two are only confusing.
Discussed with: rwatson
MFC after: 2 weeks
2005-02-03 15:10:58 +00:00
Ruslan Ermilov
b5f3d58ffd
Reflect recent code changes.
2005-02-03 13:33:34 +00:00
Pawel Jakub Dawidek
45b727476b
- Remove bogus O_CREAT flag. We really don't want to create a file here.
...
PR: bin/67793
Submitted by: Amir Shalem <amir@boom.org.il>
- Sync usage with manual page.
Approved by: phk
MFC after: 1 week
2005-02-03 13:12:17 +00:00
Ruslan Ermilov
72369c34ac
Parse "getifname" using the standard parse string type.
...
Fixed an off-by-one error when dealing with interface name
(if_xname is NUL-terminated).
Don't waste time making a copy of if_xname in constructor.
2005-02-03 13:03:31 +00:00
Ruslan Ermilov
96f82336ba
Fixed an off-by-one error when dealing with interface name
...
(if_xname is NUL-terminated).
Don't waste time making a copy of if_xname in attach().
2005-02-03 12:54:18 +00:00
Ruslan Ermilov
bbb75d7844
Fixed an off-by-one error when dealing with interface name
...
(if_xname is IFNAMSIZ-sized and NUL-terminated).
2005-02-03 12:50:10 +00:00
Ruslan Ermilov
c60878f0d2
Added ASCII version of the NGM_EIFACE_GET_IFNAME message, "getifname".
2005-02-03 11:52:42 +00:00
Hartmut Brandt
b26f9f6376
Constify an argument to a function.
...
Submitted by: Max Okumoto <okumoto@ucsd.edu>
2005-02-03 11:51:25 +00:00
Hartmut Brandt
9ba5835fba
Get rid of a number of unneccessary memory allocations.
...
Submitted by: Max Okumoto <okumoto@ucsd.edu>
2005-02-03 11:36:19 +00:00
Ruslan Ermilov
c266fbc2aa
Removed unused includes.
2005-02-03 11:28:53 +00:00
Ruslan Ermilov
12e13d5f73
Ignore consonants, and remove more duplicates.
2005-02-03 10:54:07 +00:00
Robert Watson
faabfac9ff
When entering siocnputc() with (kdb_active), don't acquire (or
...
release) the sio spin mutex, as use of synchronization primitives in
the debugger can result in substantial problems. With this patch in
place entering the debugger via a serial console is made
substantially more reliable.
MFC after: 1 week
Tested by: kris
Discussed with: bde
2005-02-03 10:35:05 +00:00
Ruslan Ermilov
70ffe5d36d
Removed more duplicates (forgot to ignore underscore).
2005-02-03 09:44:30 +00:00
Ruslan Ermilov
f6f56f8b95
Keep the fortune above this.
...
Reviewed by: sheldonh
2005-02-03 09:28:45 +00:00
Ruslan Ermilov
653dbafed5
Remove more duplicates.
2005-02-03 09:27:01 +00:00
Ruslan Ermilov
760542ba2e
Ignore vowels, and remove more duplicates, mostly due to typos.
2005-02-03 09:13:02 +00:00
Dag-Erling Smørgrav
1f95f872ae
Trim some obnoxious warlording.
2005-02-03 08:47:14 +00:00
Ruslan Ermilov
57bc1cfb15
Removed more duplicates, by ignoring "i", "you", "we",
...
"an", "is", "are", "will", "'ll", "is", "'s" to find
them. More to follow...
2005-02-03 08:40:08 +00:00
Ruslan Ermilov
2f533ec052
Fix alignment in the last commit.
2005-02-03 08:07:22 +00:00
Peter Grehan
bd985cab34
- remove NO_MODULES since they've been working for some time
...
- add -fno-omit-framepointer to CFLAGS if DDB is enabled so
backtraces will still work when optimization is enabled.
Stolen from Makefile.amd64.
2005-02-03 06:28:17 +00:00
Peter Grehan
042bbe552f
Don't build syscons, uart or vpo on PPC.
2005-02-03 06:12:43 +00:00
Peter Grehan
6109ca7e1a
Fix up assignment of negative number to char. Char's are unsigned by
...
default on PowerPC.
Approved by: mdodd
2005-02-03 02:35:28 +00:00