nyan
e349950dc9
The bs and wdc drivers are gone.
2005-02-04 15:29:54 +00:00
ume
a0122cc509
teach scope of IPv6 address to net.inet6.tcp6.getcred.
...
MFC after: 1 week
2005-02-04 14:43:05 +00:00
nyan
ed3d473296
Fix pc98 support (broken by previous change).
2005-02-04 13:37:21 +00:00
nyan
64be87543b
Merged from sys/dev/sio/sio.c revision 1.457.
2005-02-04 13:35:21 +00:00
nyan
8ebefadd24
MFi386: revision 1.605.
2005-02-04 13:34:24 +00:00
nyan
7403bf4c90
MFi386: revision 1.514.
2005-02-04 13:33:46 +00:00
njl
c673c301c6
Make the devclass static for now until deciding whether to share them.
2005-02-04 07:25:44 +00:00
njl
7471ede193
Bump __FreeBSD_version for cpufreq addition. Requested by marcus@
2005-02-04 06:59:58 +00:00
njl
cd2bcf063b
Sort includes a little so that bus.h comes before cpu.h (for device_t).
2005-02-04 06:58:09 +00:00
marcel
f79e8556cb
Include sys/bus.h before sys/cpu.h. The latter needs device_t.
2005-02-04 06:38:58 +00:00
ssouhlal
972ed7b626
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
ssouhlal
3dcdb56fbe
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
njl
1bea2c09c9
MFi386: Merge updates to the cpu pseudo-driver. Compile, not runtime
...
tested.
2005-02-04 06:02:37 +00:00
njl
45af79d5a7
Hook up the cpufreq framework, acpi_perf(4), and cpufreq(4) drivers.
2005-02-04 05:49:36 +00:00
njl
dd116803e8
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
njl
f0b2a8dc33
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
njl
ed695e1533
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
njl
09a005a215
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
njl
8834727d3e
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
njl
54a88fdbee
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
njl
9d006c413d
Add a new include to handle generic CPU interfaces.
2005-02-04 05:31:10 +00:00
imp
fea9122ea2
Minor style nits
...
o remove unneeded {}
o no need to bzero sc
2005-02-04 02:32:43 +00:00
grehan
df6317a68e
- 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
grehan
2ba5735817
- 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
grehan
9b25a73faa
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
grehan
6584effc03
- 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
grehan
e896fb7aff
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
imp
f5c2fde7c8
Sort PANASONIC products numerically
2005-02-03 23:45:20 +00:00
imp
836cc3dd48
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
scottl
a69d20ba4f
Remove the entries for isp and ispfw instead of leaving them in an inconsistent
...
state.
2005-02-03 23:10:17 +00:00
mdodd
f1d4551d87
- 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
ru
0aaf0b6c62
Connect ng_device(4) to the build.
2005-02-03 19:54:58 +00:00
jhb
5daaea8f22
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
a1edfec034
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
ru
e110a325c4
MFlibc: Remove extra closing parenthesis.
2005-02-03 15:51:39 +00:00
pjd
0d4dca8548
We do want to print '\n'/'\r'.
...
Pointed out by: stefanf
2005-02-03 15:47:30 +00:00
pjd
14c77c16d2
'c' cannot be -1.
...
Submitted by: stefanf
2005-02-03 15:23:27 +00:00
pjd
0609f60831
- 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
ru
3ba37139ba
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
ru
da345be611
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
ru
f1160b7b64
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
ru
0e256fdd59
Added ASCII version of the NGM_EIFACE_GET_IFNAME message, "getifname".
2005-02-03 11:52:42 +00:00
ru
e500bbb4ff
Removed unused includes.
2005-02-03 11:28:53 +00:00
rwatson
6514406b98
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
ru
f0d189cc4b
Fix alignment in the last commit.
2005-02-03 08:07:22 +00:00
grehan
1ad10354b1
- 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
grehan
12dfbb5459
Don't build syscons, uart or vpo on PPC.
2005-02-03 06:12:43 +00:00
grehan
efb1623d98
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
imp
031338d66e
MF dev/wi: merge the pccard lists.
...
# this hasn't compiled for two weeks and no one noticed!
MFC After: 7 days or so
2005-02-03 00:40:35 +00:00
grehan
f549793562
Don't lose the frame pointer for PPC modules: backtrace doesn't work.
2005-02-02 23:44:24 +00:00