ad
5e136e1e5d
Add more error reporting to AP startup.
2008-04-02 11:52:54 +00:00
xtraeme
6dcb9dd40c
Initialize and destroy the callout in sme_events_init() and
...
sme_events_destroy() respectively. And don't stop twice the callout
when calling sysmon_envsys_unregister().
2008-04-02 11:19:22 +00:00
xtraeme
247cd610f6
Revert rev 1.126-1.128. The original code was correct and rmind and I
...
didn't look correctly at them.
2008-04-02 10:53:23 +00:00
nisimura
82460723d2
add a prelimary implementation of MPC8245 EUMB I2C.
2008-04-02 06:20:53 +00:00
dyoung
55e31e2b6d
Update set list for isv(4).
2008-04-02 01:54:34 +00:00
dyoung
d3627477d7
Certain misguided people have complained, NetBSD only runs rare or
...
"retro" computers, but NetBSD also runs a growing number of rare
and retro add-on cards. With this patch, NetBSD supports the IDEC
Supervision/16, a black&white image capture board for the 16-bit
ISA bus. Approximate date of manufacture: 1991. Total instances
known to be in use throughout the world: one.
Coming soon; isvctl(8), the utility program for capturing 8-bit,
512x480 images at speeds of up to 6 frames per second.
2008-04-02 01:34:36 +00:00
cegger
3faf8c6fd7
convert to CFATTACH_DECL_NEW
...
OK matt and mrg
2008-04-01 23:44:48 +00:00
cegger
00823ac29b
regen.
2008-04-01 23:17:32 +00:00
cegger
a40879a973
add XenSource and its virtual product - only found on Xen HVM guests
2008-04-01 23:16:16 +00:00
cegger
86a848845f
fix spelling: regenate -> regenerate
...
OK cube
2008-04-01 22:12:38 +00:00
xtraeme
dcf3ee7d3b
When copying l_name and l_wmesg use KI_LNAMELEN and KI_WMESGLEN
...
respectively, so that we don't care if l_name/wmesg is longer
than kl_name/wmesg and the KASSERTs added in previous can go away.
2008-04-01 21:05:37 +00:00
xtraeme
92d36024a5
Fix fallout from device_t/softc split to mpu(4):
...
always pass the mpu_softc to mpu_intr(). Found by Takeshi Nakayama.
2008-04-01 20:44:29 +00:00
drochner
76ad1614e9
remove useless passing of the lwp from the KERNEL_LOCK() ABI
...
(not the API; this would be easy as well)
agreed (a while ago) by ad
2008-04-01 19:49:31 +00:00
drochner
17cfc674b7
g/c unused softc members
2008-04-01 19:25:53 +00:00
drochner
7cc98087b6
everyone else assumes that defining "_XOPEN_SOURCE" means XPG4.2,
...
so remove comparisions against the numerical values "3" or "4"
2008-04-01 19:23:28 +00:00
drochner
ba327d4301
make this compile again
...
(it isn't built by default, but anyway)
2008-04-01 19:20:43 +00:00
drochner
b5e4e50433
remove stale declarations
2008-04-01 19:19:33 +00:00
xtraeme
3189c49560
Fix previous: use the length of l->l_foo not kl->l_foo and add
...
two KASSERTs to check for max lenght limits before copying.
As suggested by rmind@.
2008-04-01 18:06:06 +00:00
xtraeme
03c6a6aa65
fill_lwp: when copying l_wmesg and l_name, use the size of the string
...
not of the variable.
Found and ok by rmind@.
2008-04-01 17:39:58 +00:00
xtraeme
18b1d12d0e
Also fix a memleak when the event is already in dictionary
...
and has been updated.
2008-04-01 17:01:34 +00:00
rmind
4b02b68c59
sme_event_register: fix a memory leaks in two error paths.
2008-04-01 16:48:18 +00:00
xtraeme
e3c537a961
Fix previous commit, this Guillemot model was supported already
...
by rum(4).
2008-04-01 15:26:11 +00:00
xtraeme
8530f5047d
Fix fallout from device_t/softc split to mpu(4):
...
always pass the mpu_softc to mpu_intr(). Found by Takeshi Nakayama.
2008-04-01 13:35:39 +00:00
xtraeme
5ee4eba88d
Introduce per-device locking/synchronization and maintain only a
...
global mutex for the linked list of devices and the global proplib
dictionary.
This has improved locking contention a lot when multiple devices with
multiple monitoring events are running:
New:
0.30 35 0.33 sme_global_mtx sysmonioctl_envsys+28b
0.10 10 0.11 00000000cd97feac sysmon_envsys_acquire+4c
0.08 6 0.09 00000000cd97feac sme_update_dictionary+24f
0.01 4 0.01 00000000cd97feac sme_events_worker+2f
0.01 10 0.01 00000000cd97fe2c sysmon_envsys_acquire+4c
0.00 1 0.00 00000000cd97fe2c sysmon_envsys_release+3b
28.38 94 9.16 sme_global_mtx sysmonioctl_envsys+28b
4.54 74 1.47 00000000cd97fe2c sysmon_envsys_acquire+4c
0.06 3 0.02 00000000cd97fe2c sysmon_envsys_release+3b
0.03 1 0.01 00000000cd97fe2c sme_events_worker+2f
1.40 19 0.45 00000000cd97bee4 sysmon_envsys_acquire+4c
Old:
4.25 313 4.74 sme_mtx <all>
3.12 185 3.49 sme_mtx sme_events_worker+21
1.12 128 1.25 sme_mtx sysmonioctl_envsys+29b
34.75 1423 59.52 sme_mtx <all>
22.08 477 37.82 sme_mtx sysmonioctl_envsys+29b
12.67 946 21.70 sme_mtx sme_events_worker+21
2008-04-01 12:25:30 +00:00
martin
e9c68c5df0
Add timeout to busy loops waiting for ADB command completition.
...
Turns the hard hang in PR port-mac68k/37611 into a warning.
2008-04-01 12:02:52 +00:00
ad
138df53bd3
If MPDEBUG and waiting for the CPU to start, dump cpu_trace[] as it changes.
2008-04-01 11:09:58 +00:00
ad
520b46da7e
Use multiple kthreads to process config_interrupts tasks. Proposed on
...
tech-kern.
2008-04-01 10:37:42 +00:00
mrg
1ed6b6fc06
if genfb_pci can't map regs, don't panic() just return.
2008-04-01 01:11:55 +00:00
jmcneill
b2bbe181c6
Fix audio_volume_toggle. How did this ever work for me? Thinkpad T61
...
mutes audio automatically when the mute key is pressed.
2008-04-01 00:52:11 +00:00
jmcneill
2b82be6063
Note additions of Realtek ALC662-GR support to azalia(4) and the new
...
asus(4) hotkey driver.
2008-04-01 00:16:14 +00:00
chris
745d331c98
Note addition of sysinst support for zaurus.
2008-04-01 00:03:54 +00:00
chris
a839529a7e
Increase the Zaurus INSTALL memory disk size to match the size of the
...
ramdisk created by the distrib files.
2008-04-01 00:01:14 +00:00
chris
a6421eb745
Add zaurus support to distrib, it's now possible to build a sysinst
...
enabled install kernel using the standard methods.
2008-03-31 23:59:06 +00:00
chris
4d962d78f3
Add sysinst support for zaurus.
...
Still needs some work, eg raw partition should be c not d on arm
platforms.
2008-03-31 23:55:29 +00:00
chris
e2d485abc4
Add GENERIC.HOSTUSB kernel for zaurus.
...
This allows a Zaurus to act as a USB host, rather than client device.
Tested on a C3000 with USB NIC. I've added most usb devices to the kernel
as I'd expect USB devices just work.
Eventually this will disappear once switching from host to device
controller mode is supported.
2008-03-31 23:40:44 +00:00
chris
53030734c6
Add GPIO pins for USB cable type detection and glue for zusb devices for
...
config.
2008-03-31 23:35:39 +00:00
chris
ed87ed8b00
Add zusb device for powering on the USB port. Also configure USB port 2
...
via the client USB on the pxa270, as it appears USB port 2 is the
externally routed port.
The linux driver was used as documentation for GPIO pins and port
settings.
Note that this only seems to work for one boot, a reboot loses for some
reason, perhaps something in the USB client area needs to be configured.
XXX: perhaps we should make zusb a device that attached/detaches the USB
USB host or client device depending on the plugged in cable.
2008-03-31 23:32:43 +00:00
chris
1859a7ec67
Update pxa2x0 ohci support to match recent device_t/softc splitting on
...
ohci.
Also remove powerhooks (eventually it'll be pmf'd)
This is enough for host usb to work sometimes on a zaurus.
2008-03-31 23:18:49 +00:00
kiyohara
aaf18737ff
Split device_t/softc.
...
Use aprint.
2008-03-31 15:49:29 +00:00
xtraeme
bc77ebea72
Remove useless returns at the end of void functions.
2008-03-31 15:28:47 +00:00
jmcneill
0123953b4c
Add outputs.master.mute and inputs.dac.mute knobs for ALC662. XXX these
...
currently only control speaker mute, not headphone. Needs to be revisited.
2008-03-31 15:23:30 +00:00
jmcneill
8c1cc2fb3f
Enable asus(4)
2008-03-31 15:21:01 +00:00
tsutsui
73f476d471
Split softc/device_t for spc(4) and misc related cleanup.
2008-03-31 15:20:47 +00:00
jmcneill
149201cfa6
Enable asus(4)
2008-03-31 15:19:28 +00:00
jmcneill
4fab67daa7
Add ASUS ACPI hotkey driver, as found in the Eee PC.
2008-03-31 15:17:21 +00:00
mjf
648ad337d4
Register pmf handler.
2008-03-31 14:30:58 +00:00
njoly
d292c1dc4d
Revert unexpected DDB_ONPANIC change introduced in last revision.
2008-03-31 09:42:25 +00:00
plunky
10b824ffee
use aprint_error_dev(), for clarity
2008-03-31 09:37:37 +00:00
taca
1ecc4e51fc
Update intree and current version of OpenSSH. (4.6 and 4.9/4.9p1)
2008-03-31 07:54:55 +00:00
he
87e42a468b
Convert from use of bcopy() to memcpy() so that this builds again.
2008-03-31 06:19:59 +00:00