xtraeme
cf19cf6244
Another ICH8M SATA Controller found in jmcneill's laptop.
2007-09-09 01:09:02 +00:00
ad
b5d1c4ed09
Block SIGALRM in the 'setup' thread, otherwise the alarm may not be taken
...
by the thread in sigsuspend().
2007-09-09 01:08:56 +00:00
cube
14a82de83a
Improve the structure of the man page to make it more usual, with the hope
...
that people might actually read it some day. Yeah, I know, dream on, dream
on.
Thanks schmonz@ for a quick english check.
2007-09-09 00:35:14 +00:00
xtraeme
66ad9e7acd
sysmon_envsys_register: don't forget to clear SME_FLAG_BUSY when
...
registration succeeds.
2007-09-08 23:59:38 +00:00
xtraeme
1e91f1628f
Use DPRINTF for a debugging printf.
2007-09-08 23:21:02 +00:00
xtraeme
2473f3e4f5
Use panic(9) for previous. To make pooka and rmind happy.
2007-09-08 23:16:08 +00:00
xtraeme
4258a2b5f4
Remove an unused variable.
2007-09-08 23:14:13 +00:00
ad
debc2870e6
Update.
2007-09-08 23:00:31 +00:00
xtraeme
f854251f66
sme_event_worker: in PENVSYS_EVENT_STATE_CHANGED, only
...
ENVSYS_DRIVE or ENVSYS_BATTERY_STATE sensors are allowed for now.
Other type of sensors will be ignored. Added this to make
Coverity Prevent happy.
2007-09-08 22:58:56 +00:00
ad
f4fd6b797e
- Get rid of self->pt_mutexhint and use pthread__mutex_owned() instead.
...
- Update some comments and fix minor bugs. Minor cosmetic changes.
- Replace some spinlocks with mutexes and rwlocks.
- Change the process private semaphores to use mutexes and condition
variables instead of doing the synchronization directly. Spinlocks
are no longer used by the semaphore code.
2007-09-08 22:49:50 +00:00
xtraeme
aeb9b8e3fb
Fix another memleak that only happened when using
...
sysmon_envsys_unregister(): in sysmon_envsys_destroy_plist() I wasn't
removing the _objects_ from the dictionary, instead I was calling
prop_object_release() with the keysym returned by
prop_object_iterator_next()... obviously this wasn't correct.
2007-09-08 22:42:37 +00:00
pooka
38602220e1
Free longname in all error branches. CID: 4545
2007-09-08 22:05:32 +00:00
rumble
f25f34f4c0
Don't explicitly set vp->v_size and then call uvm_vnp_setsize(). This is
...
not only unnecessary, but trips a kernel assertion introduced in r1.85 of
uvm/uvm_vnode.c.
2007-09-08 19:19:37 +00:00
rumble
0b6fb31125
In efs_readdir don't foolishly allocate and free dirents for each entry
...
before copying them out, rather just use a single one. Further, follow
the example of tmpfs and others by simply allocating on the stack.
This should have the side-effect of silencing false Coverity reports like
CID 4559 and 4554.
2007-09-08 18:17:59 +00:00
ober
062d98253b
regen. added Intel Pro/Wifi 4965AGN
2007-09-08 16:39:27 +00:00
ober
b72cf10513
Add definitions for Intel 4965AGN.
2007-09-08 16:38:28 +00:00
rumble
df9eaeb9e0
CID 4553:
...
In efs_lookup, when checking whether a CREATE or RENAME operation would
succeed, be sure to pass the appropriate vnode pointer to VOP_ACCESS.
2007-09-08 16:21:27 +00:00
pooka
96b66ea698
Free pufbuf in error branches. CID: 4546
2007-09-08 15:49:33 +00:00
xtraeme
6f2d66f364
Don't forget to free sme_evdrv in non error case too. Noticed and
...
reviewed by rmind.
2007-09-08 15:47:37 +00:00
pooka
88f28c1eed
honor LOCKLEAF in namei
2007-09-08 15:40:51 +00:00
pooka
584065ec56
Check against errors when reading trace device. CID 4561.
2007-09-08 15:34:23 +00:00
xtraeme
70a37300e4
Use only one single condvar(9) for devices and events, they are protected
...
by the same mutex (sme_mtx) and there's no point in using two of them.
Also add a comment mentioning some locking notes.
Reviewed and ok by rmind.
2007-09-08 15:25:18 +00:00
chris
5e02e37306
Fix bug which causes cats builds to not produce an a.out install kernels,
...
which are needed to boot from Cyclone firmware.
Bug reported on port-cats mailing list:
http://mail-index.netbsd.org/port-cats/2007/09/08/0000.html
2007-09-08 14:25:09 +00:00
gdt
c6d3ad8ec3
enable cgd to reduce diffs to GENERIC
2007-09-08 12:11:58 +00:00
agc
e0ef0e5000
Welcome to version 20070908 - multiple targets bug fix.
2007-09-08 09:52:20 +00:00
agc
c11d4df578
Resurrect the port number argument to the iSCSI test harness.
2007-09-08 09:44:24 +00:00
plunky
086f1f09f5
fix misleading comment
2007-09-08 07:46:13 +00:00
dyoung
7cf94b5474
Rename gre_socreate1() -> gre_socreate().
2007-09-08 04:34:02 +00:00
xtraeme
94b4332c25
Update a comment.
2007-09-08 03:42:20 +00:00
xtraeme
c1594607bd
Disable debug, committed accidentally in previous.
2007-09-08 03:41:28 +00:00
xtraeme
cf08870553
Use a 2 seconds period to refresh sensor data, previous value wasn't
...
accepted and triggered an assertion.
2007-09-08 03:38:35 +00:00
xtraeme
83b57478ed
sysmon_envsys_register: only call sme_event_unregister_all when any
...
other error than EEXIST is returned.
2007-09-08 03:37:51 +00:00
xtraeme
10fa1cb836
- Use only one global mutex for all tasks with devices & events.
...
- sysmon_envsys_register: use a SLIST to maintain allocated sme_event_drv_t
structs for later use in sysmon_task_queue_sched(). This avoids a
locking error acquiring/dropping the mutex multiple times.
Suggested by rmind.
2007-09-08 03:17:38 +00:00
xtraeme
8c48c47af5
Remove another COMPAT_40 block, found by rmind@.
2007-09-08 00:58:32 +00:00
xtraeme
e193a16137
- Use a callout(9) to refresh sensor data each 1.5 seconds, respecting
...
the limit in some LM chips.
- Add the lm_detach() function that stops/destroys the callout and
unregisters the driver from the sysmon_envsys(9) framework.
2007-09-08 00:42:11 +00:00
xtraeme
28abae783c
Add the detach method that calls driver's lm_detach() function and
...
unmaps the I/O space used.
2007-09-08 00:39:48 +00:00
xtraeme
515802b6b0
Fix previous.
2007-09-08 00:30:54 +00:00
xtraeme
b60ffc9079
Print the error of sysmon_envsys_register() if it fails.
2007-09-08 00:23:46 +00:00
xtraeme
a880528756
- Build unconditionally compatibility code, there's no point to have it
...
disabled, because some drivers depend in the old code yet.
- Use a new mutex for sysmon_envsys_next_sensor_index (used in
compatibility code), otherwise bad things happen with LKMs. Thanks
to this, the hack for LKMs has been removed.
- Check in advance if the driver doesn't exist already on the list
before adding the sensors in the dictionary.
- Don't forget to call sme_event_unregister_all() if
sysmon_envsys_unregister() fails after adding the array into the global
dictionary or when creating sensors.
- Modify and add some DPRINTFs.
The lm(4) lkm works without known problems registering and unregistering
it multiple times.
2007-09-08 00:21:43 +00:00
xtraeme
93aefe8737
- sme_event_unregister_all: check if sme_events_initialized is set
...
before calling sme_events_destroy().
- sme_event_worker: remove a KASSERT and always check if returned sme
is NULL and do not continue the task.
2007-09-07 23:28:33 +00:00
tnn
592c250391
First part of ti(4) overhaul:
...
- Sanitise macros
- Apply KNF
Should have no functional changes.
2007-09-07 23:05:27 +00:00
plunky
c212c4900f
move the HID processing defs to a higher context, since it is used by
...
bluetooth and USB code.
2007-09-07 20:17:37 +00:00
xtraeme
7c46a42d68
s/ENVSYS_FMONDRVSTATE/ENVSYS_FMONSTCHANGED/
2007-09-07 19:58:06 +00:00
rmind
d4ec323e32
Added support for POSIX message queues.
...
Welcome to NetBSD 4.99.31!
2007-09-07 19:21:41 +00:00
rmind
4492a08ad7
Regen syscalls.
2007-09-07 18:58:46 +00:00
rmind
2cecf9bbe9
Implementation of POSIX message queues.
...
Reviewed by: <ad>, <tech-kern>
2007-09-07 18:56:02 +00:00
plunky
0d2b4f91b7
add new option 'rssi' to enable/disable inquiry results with RSSI, and
...
add recognition of the "inquiry result with RSSI" packets
2007-09-07 18:40:01 +00:00
plunky
9ab5b2f6b0
add event processing for "Inquiry result with RSSI", and modify the memo
...
contents so that this will fit.
2007-09-07 18:37:30 +00:00
plunky
ef349c282b
adjust typedef name for consistency with other parts, since hci_rssi_response
...
is only a packet segment it should not be in _ep namespace.
2007-09-07 18:14:33 +00:00
wiz
760a199b41
XFree86-4.7.0 has been out for about a month.
2007-09-07 15:43:44 +00:00