Commit Graph

182150 Commits

Author SHA1 Message Date
kiyohara
e14284f196 ACPI resource supports Extended IRQ From FreeBSD. 2009-07-13 12:55:21 +00:00
kiyohara
e2c231dbe4 Support UCB1400.
It tested on GUMSTIX with audiostix.  However GUMSTIX needs more ad-hoc patch.
2009-07-13 12:54:11 +00:00
wiz
f3f83d5a32 Remove incorrect semicolon at the end of an if-statement.
From OpenBSD via Henning Petersen in PR 41708.
2009-07-13 08:35:24 +00:00
rmind
94cea1184f Regression test for POSIX message queue priority handling. 2009-07-13 02:55:42 +00:00
rmind
f80b636295 Re-enable direct I/O for pipe:
- Larger writes (2 or more pages) will use emap.
- Might help to catch rare hang (some very old bug).
2009-07-13 02:49:08 +00:00
rmind
7e069f82fb - Make insertion to message queue O(1) by using bitmap and array. However,
mq_prio_max is dynamic, and sorted list is used for custom setup, when
  user manually sets higher priority range.
- Cache mq->mq_attrib in some places.  Change msg_ptr type to uint8_t.
- Update copyright, misc.
2009-07-13 02:37:12 +00:00
rmind
b83b94a98e mq_send/mq_receive: while permission may allow that, return EBADF if sending
to read-only queue, or receiving from write-only queue.

From Stathis Kamperis, thanks!
2009-07-13 00:41:08 +00:00
ahoka
e288bad006 Add missing C file and change version number to complete the last upgrade. 2009-07-12 23:49:49 +00:00
wiz
27f99b53d5 Add RCS Id. Fill in name in license. New sentence, new line.
Add comma in enumeration.
2009-07-12 23:14:06 +00:00
wiz
1a280fda0f Bump date for *chgat*. 2009-07-12 23:12:40 +00:00
dsl
5f3551c2f8 Add netbsd copyright.
Reorder a few instructions to interleave a dependency chain.
(I'm really not sure of the best order for those instructions!)
2009-07-12 21:24:21 +00:00
dsl
f9b60c2be5 Correct some comments 2009-07-12 21:00:54 +00:00
hubertf
ef944a027b regen 2009-07-12 14:17:18 +00:00
hubertf
c984b3031f s/reproducable/reproducible/, requested by salo@ 2009-07-12 14:16:36 +00:00
apb
7461501a27 Add "-M" flag to the mtree invocation in sanitise_METALOG. This should
avoid errors in cases where a build poduct changes type (e.g. a file
becomes a symlink) between one build with older sources and a subsequent
update build with newer sources.
2009-07-12 12:30:31 +00:00
hubertf
4a9658ee28 regen 2009-07-12 12:15:10 +00:00
hubertf
20a9c4e439 Add a keywords for people looking for reproducable (identical) builds. 2009-07-12 12:14:51 +00:00
wiz
57295b8d96 /usr/lib/i386/libbfd.a is built and installed, do not mark it as obsolete.
"obsolete" added in 1.46 without a particular reason, file is not obsolete in
md.sparc64.
2009-07-12 11:00:37 +00:00
joerg
5f6627fa61 mandoc(1): -width is redundant for a item list 2009-07-11 18:38:30 +00:00
joerg
ea92254557 Fix markup. 2009-07-11 18:35:48 +00:00
jakllsch
edeb84e77a Fix WSKBD_RAW mode ukbd -> pckbd translation for Pause/Break and
Print Screen/Sys Req keys so xf86-input-keyboard can figure out
what we want.

Additionally, fix dead URL, and add a note that this emulation
is not completely identical to a real pckbd.
2009-07-11 18:26:58 +00:00
dsl
66df44074f After alg 2 triggers, mask with ~x (alg 3) to ignore bytes with top bit set.
Then use bit scan to work out which byte is zero.
If the source is misaligned read the aligned word and make the unwanted
(low order) bytes non-zero.
Passes regression test - which probably tests just enough cases.
2009-07-11 11:57:47 +00:00
dsl
749e537220 The local function pointer wasn't enough to stop gcc using the builtin
strlen!  Move to file scope and make 'volatile'.
When test fails use write (printf might be broken) to report info.
To aid testing new versions, use dlsym() for "test_strlen" defaulting to
strlen() so that the rest of the program doesn't use the broken version.
2009-07-11 11:45:16 +00:00
dsl
5acd65fcb7 Change comments about algorithms, 99.6% for random data isn't 'rare' in my book!
(The 'rare' case is any byte values 0x80-0xff.)
2009-07-11 08:48:51 +00:00
pgoyette
9a7f03a6bb Store the limit values directly in the driver-private sensor data since
we don't have access to sysmon_envsys(8)'s copy at refresh time.  (The
refresh is driven completely within the driver, and sysmon is uninvolved.)

Resolves unexpected alarms (as reported by David Young) such as over-limit
alarms on fan sensors which have only lower limit values.
2009-07-11 05:03:11 +00:00
dyoung
2261ca8c07 In lwp_create(), take a reference to l2's filedesc_t instead of
taking a reference to curlwp's by calling fd_hold().  If lwp_create()
is called from fork1(), then l2 != curlwp, but l2's and not curlwp's
filedesc_t whose reference we should take.

This change stops the problem I describe in
<http://mail-index.netbsd.org/tech-kern/2009/07/09/msg005422.html>,
where /dev/rsd0a is never properly closed after fsck / runs on it.
This change seems to quiet my USB backup drive, sd0 at scsibus0 at
umass0, which had stopped spinning down when it was not in use:
The unit probably stayed open after mount(8) tried (and failed:
errant fstab entry) to mount it.

I am confident that this change is an improvement, but I doubt that
it is the last word on the matter.  I hate to get under the filedesc_t
abstraction by fiddling with fd_refcnt, and there may be something
I have missed, so somebody with greater understanding of the file
descriptors code should have a look.
2009-07-10 23:07:54 +00:00
jakllsch
23f0810103 Add more Keypad usages in the Keyboard/Keypad page
from USB HID Usage Tables document version 1.11.

Admitedly these are not going to be noticed when ukbd(4) is around.

While here, correct a typo (that's also in the HUT document),
and normalize to ASCII a non-UTF-8 encoding of "moire".

"This may prove useful to some of you someday,
 perhaps in a somewhat bizarre set of circumstances."
                                 - Tom Lehrer
2009-07-10 22:11:58 +00:00
christos
87fc4e29f5 1. centralize the fsck error handling
2. don't check if root is on nfs
3. reboot -n if root was modified as the manual page suggests
2009-07-10 20:02:21 +00:00
pgoyette
8313fc7094 Better late than never - document recent changes to sysmon_envsys(8) 2009-07-10 15:59:38 +00:00
pgoyette
e0b6ea852c Correct usage of PROP_DRIVER_LIMITS flag 2009-07-10 15:30:45 +00:00
pgoyette
d36ea2afc5 Document usage of PROP_DRIVER_LIMITS flag and set it correctly.
Use flag bits to determine validity of limit values, rather than
assuming that invalid/not-present values are set to zero.
2009-07-10 15:27:33 +00:00
pgoyette
0fab9769e4 Remove some code (bracketed by #ifdef NOTYET / #endif) that should not
have been committed in the first place.
2009-07-10 13:09:09 +00:00
skrll
c3b8071e3d Note ucas for hp700. 2009-07-10 12:23:06 +00:00
roy
5f399f5c68 Use a function to add extra data to the vendor area so that data added
remains constant for both DISCOVER and REQUEST messages.
2009-07-10 12:16:31 +00:00
roy
4cd4e97af9 We should request the DHCP parameters we need. 2009-07-10 02:55:42 +00:00
roy
eb66460837 Protect against short IP addresses in the DHCP message. 2009-07-10 02:41:39 +00:00
roy
0aeddffdd4 When using DHCP, request the parameters that we need. Fixes PR kern/38830.
Thanks to Tim McIntosh.
2009-07-10 01:29:54 +00:00
joerg
a8766915af Ensure that y,x are valid coordinates before using them. 2009-07-09 22:08:45 +00:00
rmind
054e90dd48 Mention emap and few more items. 2009-07-09 21:53:08 +00:00
rmind
3cee4be877 - Fix rare crashe in the intr_lapic_tlb_bcast() handler: save and setup
%fs on i386, %gs on amd64 registers, before using them.  Otherwise, it
  might be invalid/garbage, eg. IPI can interrupt userspace.

- Explicitly initialize per-CPU emap generation number.

Thanks <drochner> for reporting and testing of patch.
2009-07-09 21:43:16 +00:00
macallan
ec8b80662c enable mmap() support for /dev/pci* with options PCI_ALLOW_MMAP 2009-07-09 19:22:21 +00:00
christos
8e714f4b6e add stdio.h since we are using FILE. From Grant Erickson 2009-07-09 19:02:04 +00:00
pgoyette
4bcd1e306c Don't extract upper/lower limit values if the values are not valid.
Correct comparison of cur_value against lower-limits.
2009-07-09 15:50:26 +00:00
nisimura
e846f5a648 - show link speed and duplexity.
- fix an incomplete mod in mii_read().
2009-07-09 15:39:28 +00:00
dholland
976c3188e1 Add an entry for last summer's libpthread compat fix, since it
apparently never got listed (only posted on current-users) and came up
again recently.

Thanks to Martin Husemann, Matthias Drochner, and Geoff Wing for info
(any errors are mine).

As per http://mail-index.netbsd.org/current-users/2008/08/05/msg003880.html.
2009-07-09 08:04:32 +00:00
dholland
ac1daebd72 Fix a garbled old entry that I happened upon just now. 2009-07-09 07:50:24 +00:00
mrg
c6b110c7ca XXX: -Wno-error savage_exa.c for now. 2009-07-09 07:50:10 +00:00
mrg
c7d3afbfeb note that update builds might again fail for new xorg 2009-07-09 07:31:54 +00:00
mrg
6773cdf6e4 XORG_CURRENT_VERSION is now 1.6.2. 2009-07-09 07:30:17 +00:00
mrg
393017d87b fix build for pixman 0.15.14 2009-07-09 02:15:48 +00:00