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
kleink
6f487a81b0
Replace home-grown list management for DMA buffers with SLISTs, and refactor.
2007-01-11 22:56:49 +00:00
agc
766d3d66b8
Get rid of some magic constants.
2007-01-11 19:57:23 +00:00
bouyer
4bd6fc948a
Fix still possible race condition where xbd_handler could still try to process
...
an event before the device is ready.
Reported, and tested by anzi at dnainternet net on port-xen.
2007-01-11 19:51:39 +00:00
agc
977a3071b2
Explain what's happening when a target is not exporting any iSCSI
...
targets to the initiator rather than a cryptic message about a portal
group tag not being present.
2007-01-11 19:14:32 +00:00
agc
9f740696e2
Pass the target hostname to the iscsi_sock_connect() call, so that it's
...
available for getaddrinfo.
Use the correct IQN name for the NetBSD iSCSI initiator.
2007-01-11 18:56:57 +00:00
agc
0b68869633
Use getaddrinfo(3) to get the required information about the host. Use this
...
explicitly in iscsi_socket_connect(), and ignore the port argument to this
function for just now.
2007-01-11 18:54:58 +00:00
pooka
c921b47454
don't detach if -s or -o dump is given on the command line
2007-01-11 18:52:26 +00:00
pooka
0ac919744e
Give nukenode a destroy flag. If given, it completely wipes out
...
the node and directory cache (for directories). Otherwise it just
nukes directory entry information. The latter case is used when
renaming.
2007-01-11 18:50:42 +00:00
pooka
5014a4c9c2
For directory renames we need to rename all the child nodes for
...
the given directory if the file system wants paths (PUFFS_FLAG_BUILDPATH).
Do this by walking the nodelist and adjusting the path prefix of
each matching node.
2007-01-11 18:18:36 +00:00
pooka
dd15744c39
* register fsync operation
...
* test for -s, which causes no detach (don't need to remember to
do follow-dances in gdb because of fork() used in daemon())
2007-01-11 17:50:35 +00:00
pooka
a3d07fb3e9
implement fsync
2007-01-11 17:48:21 +00:00