Commit Graph

155398 Commits

Author SHA1 Message Date
christos
10866ba3f7 add acpitools 2007-01-14 04:39:34 +00:00
christos
53e202c131 Add acpitools 2007-01-14 04:36:13 +00:00
cube
0676a294c8 Use consistent option names (i.e., those that are defflag'd). Ok dyoung@. 2007-01-14 01:05:49 +00:00
jklos
7974dc0773 Replaced tty00 - tty07 with ttyZ0 - ttyZ1 because tty00 and friends don't
exist (and symlinks aren't acceptable in many instances).
2007-01-14 00:06:24 +00:00
christos
c7295a4c51 - rename {x,}error -> cfg{x,}error and {x,}warn -> cfg{x,}warn so that we
can use err(3) and warn(3) to display errors instead of using inconsistent
  fprintf's.
- remove emalloc/estrdup etc. We have them in libutil.
2007-01-13 23:47:36 +00:00
is
869fc5c107 SigmaTel FastIRda USB Bridges 2007-01-13 23:24:52 +00:00
joerg
7645663790 Unconditionally zero and free iproute. Before IPsec tunnel packets e.g.
from ICMP could end up in leaking the reference in iproute, as
ipsec4_output would overwrite the ro pointer in state.

Tested by Juraj Hercek and supposed to fix PR kern/35273 and kern/35318.
2007-01-13 23:13:46 +00:00
freza
9c3107d24d Remove SYSTEM_LD_TAIL_EXTRA definition since sys/conf/Makefile.kern.inc
already runs dbsym(8) if SYMTAB_SPACE option is defined for the kernel
in question.

OK uwe@
2007-01-13 22:53:54 +00:00
mrg
c2fd3656ae - GCC 3.x is no longer in -current
- GCC 4.1-20070110 has been imported to -current.
2007-01-13 21:19:12 +00:00
cube
2f04b55c8c Make the IPKDB code compile. 2007-01-13 19:46:21 +00:00
cube
4096a1c345 The definition of bus_space_vaddr on i386 makes it inappropriate as the
first argument to memset(), so change the code very slightly to workaround
that.
2007-01-13 19:45:28 +00:00
cube
aaf0bffcea Fix uninitialised warnings. All are false positives, except one which was
indeed real.
2007-01-13 19:43:20 +00:00
cube
c7835953d1 Make it compile with all the options. 2007-01-13 19:41:12 +00:00
kardel
85272e875d use emalloc.c from the distribution for ntpd - default efuns don't make sense in daemons
reverts effect of usr.sbin/ntp/libntp/Makefile:1.9 for ntpd - restoring syslog functionality

discussed with christos@
2007-01-13 19:27:50 +00:00
cube
c4a70d573e Not all archs have dma tags that can be compared with "==", so use memcmp
instead.
2007-01-13 19:03:49 +00:00
cube
c27feae2a3 Make the logic of handling the options right. 2007-01-13 19:01:55 +00:00
cube
78cbf1e09d Work around false-positives for gcc's detection of use of uninitialised
variables.
2007-01-13 18:59:31 +00:00
christos
30760cbdc7 PR/35410: Valeriy E. Ushakov: /bin/sh mishandles shell function definitions
with function names that are not plain words
1. remove the escape annotations from the function name.
2. check if the function has a valid name before storing it.
2007-01-13 18:58:26 +00:00
cube
529a0e5bcd Complete initializer, and make it compile on (lesser?) archs that don't
have OpenFirmware.
2007-01-13 18:56:35 +00:00
cube
74166b9a93 Let this code handle const qualifiers correctly enough to compile. 2007-01-13 18:54:43 +00:00
cube
d239f85ecf Properly define the domain, and #ifdef out the sysctl routine which does
nothing.
2007-01-13 18:52:04 +00:00
cube
22974bb68b Complete initializers, teach drivers that we moved from struct proc to
struct lwp, sprinkle some needed const qualifiers.
2007-01-13 18:46:37 +00:00
cube
4cdd8aada6 Complete initializers so those files compile. 2007-01-13 18:42:45 +00:00
cube
c80c56c733 Complete the cons_init(n) initializer. 2007-01-13 18:39:35 +00:00
cube
5aa5bf0655 Include machine/specialreg.h, needed if IPKDB is selected. 2007-01-13 17:54:26 +00:00
isaki
7525ed1e40 Install <net/if_pflog.h>. 2007-01-13 14:13:53 +00:00
cbiere
555693c1aa - Applied patch from PR bin/35408 by Andreas Wiese.
- Use EXIT_FAILURE instead of 1.
 - Use return instead of exit() at the end of main().
 - Use sizeof() instead of BUFSIZ.
2007-01-13 11:51:59 +00:00
kardel
9e57eb45fe track ntp bug #760 - support DYNAMIC flags in async resolver 2007-01-13 11:41:05 +00:00
degroote
b5fe9c67de Sync the wpi driver with the openbsd one. Thanks to Jean-Baptiste
Campesato for his work.
Fix PR/34463


ok dyoung@ joerg@
2007-01-13 09:39:06 +00:00
mrg
b2d62876b4 regenerate these files via mknative.
XXX: gcc auto-host.h generation is still broken and turns off
XXX: gas "comdat" support.  i have not commited these files..
2007-01-13 09:26:59 +00:00
mrg
80ab5c909f fix the list of headers to check for on netbsd 2007-01-13 08:30:13 +00:00
hubertf
b4df40b17b - ANSIfy
- Use return instead of exit() in main()
 - Use EXIT_{SUCCESS,FAILURE} constants instead of 0/1

No functional changes. Patch submitted in private mail by
Slava Semushin <slava.semushin@gmail.com>
2007-01-12 22:43:05 +00:00
cube
718ffd7615 Handle defopt lists properly, as ':=' syntax introduce an additional
element...  For that, introduce nvcat(nv1, nv2).
2007-01-12 21:49:51 +00:00
uwe
b7d531ed9e Add options OFB_FAKE_VGA_FB (commented out).
XXX: Where's ofb(4)?  (hi, macallan!)
2007-01-12 21:24:40 +00:00
gdt
11343fbd1f Add a heuristic to set rbus_min_start based on total RAM. The new
behavior is to choose 0.5 GB for <= 192 MB, 1 GB normally, and 2 GB
for >= 1 GB.  This should make the defaults work additionally old
Thinkpad 600Es, and also on notebooks with lots of RAM (e.g. T60 with
2GB).

ok christos@
2007-01-12 20:34:09 +00:00
ad
151f7e0198 x86_pause(): do issue the 'pause' instruction, for EMT64 CPUs. 2007-01-12 20:22:04 +00:00
uwe
369020109e options<space><tab> police 2007-01-12 19:34:33 +00:00
cube
e37986b806 Add missing initializers in cdevsw structs. 2007-01-12 19:33:21 +00:00
uwe
c2f6157b26 Replace long list of "audio* at foo?" attachments with single
audio* at audiobus?
2007-01-12 19:30:35 +00:00
degroote
e06b6c60e8 Add myself to the list 2007-01-12 19:23:38 +00:00
uwe
0c62f0125f options<space><tab> police 2007-01-12 19:09:07 +00:00
christos
754eed8af3 PR/35411: Matthew Wala: inconsistency in editline(3): rename "num" to the
appropriate parameter names.
2007-01-12 16:31:13 +00:00
skrll
3677759599 Deal with lex and yacc generated files for gdb in the same way as gcc.
That is, use the files supplied with the distribution and never attempt
to rebuild them.

Should fix PR/35271
2007-01-12 13:24:30 +00:00
ober
8f81a1b5a8 Update zaurus port to include TODR/TIMECOUNTER.
zaurus# ./timetest -A -t 600
Will test active counter and counters with positive quality from saost_count(q=100, f=3686400 Hz) clockinterrupt(q=0, f=100 Hz) dummy(q=-1000000, f=1000000 Hz)
Testing time for monotonicity of timecounter "saost_count" for 600 seconds...
claimed resolution 271 nsec (3690036.900369 Hz) or better, observed minimum non zero delta 2712 nsec
switching to timecounter "saost_count"...
Testing time for monotonicity of timecounter "saost_count" for 600 seconds...
claimed resolution 271 nsec (3690036.900369 Hz) or better, observed minimum non zero delta 2712 nsec
switching to timecounter "clockinterrupt"...
Testing time for monotonicity of timecounter "clockinterrupt" for 600 seconds...
claimed resolution 10000000 nsec (100.000000 Hz) or better, observed minimum non zero delta 9999999 nsec
TEST SUCCESSFUL

ok peter@
2007-01-12 13:06:11 +00:00
daniel
9a3687b724 crypto_init does not call crypto_init0 only once, because the marker
created with ONCE_DECL() is local. This results in reinitializing
the driver list when crypto_get_driverid() (and leaks memory). Fix
this by making the marker static.

Fixes PR/35412.

Ack freza@.
2007-01-12 12:00:27 +00:00
imp
d6b291ee71 Update a few comments based on newer members of the at24xx family.
Add support for the 128kbit, 256kbit and 512kbit parts.  Note issues
with the 1024kbit and larger parts, but don't add support for them at
this time.  I've not updated with the explosion of part numbers in
this family.
2007-01-12 08:47:43 +00:00
ober
e142548f7b Update to compile properly.
OK jmcneill
2007-01-12 04:20:33 +00:00
ad
a79c7e51e6 Define ipl_cookie_t._psl as uint8_t so that it can be packed into a
word with other seldomly written fields.
2007-01-12 00:55:40 +00:00
kleink
2f0be7c423 Replace home-grown list management for DMA buffers with SLISTs, and refactor. 2007-01-12 00:47:51 +00:00
agc
b734ab10f3 Use the proper tracing functionality 2007-01-11 22:59:53 +00:00