sam
d007eaede6
diff reduction against madwifi/p4
2004-04-02 20:19:20 +00:00
mlaier
a19995e562
Add rc.d script to start pflogd and add rcvars etc. Also document vars in
...
rc.conf(5) and put a sample entry to newsyslog.conf
Reviewed by: -current
Approved by: bms(mentor)
2004-04-02 19:25:27 +00:00
vkashyap
688833918a
Moved 3ware 9000 driver (twa) stuff from sys/conf/NOTES to /sys/i386/conf/NOTES.
2004-04-02 18:50:56 +00:00
deischen
a883ccc958
Unbreak natd.
...
Reported and submitted by: Sean McNeil (sean at mcneil.com)
2004-04-02 17:57:57 +00:00
rik
17daee0e02
Add Cronyx-Tau entry.
2004-04-02 17:35:53 +00:00
rik
a9d75fb41a
Add Cronyx-Tau entry.
2004-04-02 17:19:59 +00:00
des
7cbcc08c5c
style(9): return foo -> return (foo)
...
also fix a continuation indent I missed in the previous commit.
2004-04-02 16:41:16 +00:00
des
152e8e98c0
Clean up whitespace, fix continuation indents, wrap some long lines.
2004-04-02 16:39:12 +00:00
des
6525acc5b4
Unbreak LINT on 64-bit platforms. Note that this code is not style(9)-
...
compliant, but I'll leave that for someone else.
Noticed by: tinderbox
Pointy hat to: the usual suspects
2004-04-02 15:09:57 +00:00
kensmith
9edf249385
Rearrangements needed for syscons(4) to be used as a console device
...
on architectures that need to call cninit() before the machine is
ready to support mutexes (required by make_dev()).
- Remove make_dev() call from scinit() when flags indicate
unit is the system console, rely on sc_attach_unit() to
handle it.
- When trying to access current screen's status (scr_stat
structure) use the static one provided for the initial
system console if no dev_t is available.
- When calling make_dev() in sc_attach_unit() catch special
case of system's initial console and set up dev_t structure
to include pointer to console's scr_stat struct.
Reviewed by: marcel
Tested by: marcel, grehan (ppc), others on current@
Approved by: rwatson (mentor)
2004-04-02 15:02:44 +00:00
krion
8997a8f449
- Use "/bin/hostname" explicitly instead of "hostname".
...
Approved by: tobez
MFC after: 1 week
2004-04-02 12:18:40 +00:00
marcel
8ca527be93
In ns8250_putc() insert a barrier between writing the character and
...
checking for transmitter empty.
2004-04-02 07:37:28 +00:00
marcel
89d7668839
Allow the selection of a debug port with hw.uart.dbgport. Unlike
...
other architectures (like ia64), the variable has to be set to
an OpenFirmware device name.
2004-04-02 07:33:35 +00:00
marcel
62439c4680
Call kbd_attach() only when KBD_INSTALL_CDEV is enabled as the function
...
is only defined in that case.
2004-04-02 05:59:06 +00:00
kris
90df1ff5bf
Add missing comment terminator.
2004-04-02 04:57:40 +00:00
julian
89d6572b1f
The comment complained about not having a thread_unlink()
...
and did the work itself, but thread_unink() has existed for a while... use it.
2004-04-02 01:01:34 +00:00
rwatson
3e726bfc8b
For now, restore an splx(s) I removed when introducing slisunitfree().
2004-04-01 23:54:49 +00:00
ache
818fd42831
Simplify one condition in prev. commit:
...
short_too already assumes FLAG_LONGONLY
2004-04-01 22:32:28 +00:00
ache
1545034067
Fix parsing of ambiguous options, whole loop must be processed
2004-04-01 22:09:07 +00:00
alfred
75da059c11
Fix booting with ps2 keyboards.
2004-04-01 21:48:31 +00:00
jhb
03d6afada4
Finish fixing up Alpha to work with an MP safe ptrace():
...
- ptrace_single_step() is no longer called with the proc lock held, so
don't try to unlock it and then relock it.
- Push Giant down into proc_rwmem() instead of forcing all the consumers
(including Alpha breakpoint support) to explicitly wrap calls to
proc_rwmem() with Giant.
Tested by: kensmith
2004-04-01 20:56:44 +00:00
johan
30a416556d
Remove these MAINTAINER lines since the maintainers has had their
...
commit bits retired for safe keeping.
2004-04-01 20:31:49 +00:00
krion
373fdcfae3
- Use absolute path for hostname(1)
...
Approved by: green
2004-04-01 19:28:00 +00:00
nectar
ebdf5cfddd
The previous commit changed the behavior of nsdispatch() in the
...
case where an /etc/nsswitch.conf file was present, but could not
be opened (e.g. due to permissions). Previously, the open failure
condition was suppressed, and the built-in defaults were used. In
revision 1.11, however, propagated the open failure causing all
nsdispatch() invocations to return NS_UNAVAIL, and thus many APIs
including getpwnam and gethostbyname unconditionally failed.
This commit restores the previous behavior.
Pointy hat: nectar (+1 for obstinance; ache had to use clue bat)
Reported by: ache
2004-04-01 19:12:45 +00:00
julian
d03618b7cd
Do the looping retry trick in the first operation to try to talk
...
with the device, not the second..
Submitted by: ticso@cicely12.cicely.de
2004-04-01 18:55:28 +00:00
des
92346f2366
Fix style issues in twa lines added in rev 1.878.
2004-04-01 17:55:50 +00:00
des
5f33564dc8
Comment out the au88x0 line which was inadvertantly included in the
...
previous commit.
2004-04-01 17:53:04 +00:00
dwmalone
dcbc9095f3
If the user doesn't specify a device and we can't open any of the defaults,
...
don't print an error using a uninitialised devbuf.
2004-04-01 16:37:46 +00:00
nyan
ee1f5105c1
The twa device and related options are not needed.
2004-04-01 14:23:41 +00:00
suz
d551783211
UDP checksum is mandatory in IPv6 (RFC2460 p.28)
...
Obtained from: KAME
2004-04-01 13:48:23 +00:00
gad
5b8456cb6f
Add spaces after flag names on .Fl macros.
...
Noticed by: ru
MFC after: 4 days
2004-04-01 13:28:36 +00:00
ru
b42d9c38ac
Moved the statistical counter under hw.ste.rxsyncs.
...
Suggested by: njl
2004-04-01 12:55:38 +00:00
des
5710c4d92e
Move twa from files.i386 to files. This unbreaks LINT on !i386.
...
Pointy hat to: vkashyap, ps
2004-04-01 10:02:50 +00:00
des
3a1cc3c9f5
Back out 1.188 (major number for twa). The twa driver does not need it.
...
Pointy hat to: ps
2004-04-01 10:00:04 +00:00
ru
88ceef53a8
Assorted mdoc(7) fixes.
2004-04-01 07:54:27 +00:00
silby
0ccb317ee8
Fix last commit to conform to mdoc style.
...
Submitted by: hmp
2004-04-01 07:36:56 +00:00
grehan
d768acf3fe
Match the specific MPC106 host bridge PCI ID rather than all
...
generic host bridges: this avoids a race with the UniNorth
generic match.
2004-04-01 07:34:36 +00:00
scottl
7996fbe9e3
Don't print out 'GIANT-LOCKED' for INTR_FAST drivers.
2004-04-01 07:18:42 +00:00
silby
5a95a9a0f2
Document the m_defrag function. (Mostly copied from the description
...
in uipc_mbuf.c)
2004-04-01 06:50:21 +00:00
njl
d976b2d5bf
Move the ivar accessing routines back to inlines (reverting acpivar.h
...
rev 1.44 and acpi.c rev 1.96). Now gcc can handle larger inlines and we
really need external drivers to be able to read their acpi ivars.
2004-04-01 04:21:33 +00:00
grehan
1101a7ee87
Move the name attribute to the end of the conftxt line to simplify
...
libdisk parsing (the name may be empty, or contain spaces).
Submitted by: Suleiman Souhlal <refugee@segfaulted.com>
2004-04-01 01:33:37 +00:00
sam
bae4e38c19
radiotap updates:
...
o force little-endian byte order for header
o pad header to 32-bit boundary to guard against applications that assume
packet data alignment
2004-04-01 00:38:45 +00:00
sam
db3970859c
correct xmit-side radiotap collection by tap'ing the frame before
...
prepending the h/w header
2004-04-01 00:33:33 +00:00
pjd
cda068b39a
Remove sysctl kern.ps_argsopen, it is not very useful, one should use
...
security.bsd.see_other_uids instead.
Discussed with: phk, rwatson
2004-04-01 00:10:45 +00:00
pjd
a8489e86d9
Remove ps_argsopen check. It is was bogus in the past and was corrected
...
not quite well by me - if kern.ps_argsopen was set to 0, users weren't
permitted to see arguments of even own processes.
But kern.ps_argsopen is going away, so just remove this check and leave
security checks for p_cansee() function.
2004-04-01 00:08:20 +00:00
pjd
a003db5b61
Remove ps_argsopen from this check, because of two reasons:
...
1. This check if wrong, because it is true by default
(kern.ps_argsopen is 1 by default) (p_cansee() is not even checked).
2. Sysctl kern.ps_argsopen is going away.
2004-04-01 00:04:23 +00:00
gad
174f84b21b
Describe the sorting options in better and more complete detail.
...
Also improve the description of `-L' a little.
MFC after: 4 days
2004-03-31 23:51:12 +00:00
rwatson
5ef02cd175
Abstract "is a particular SLIP unit free" check behind slisunitfree(),
...
and use that instead of manual list searches in a couple of places.
2004-03-31 22:59:56 +00:00
luigi
f1e67ce243
Fix a bug with preloaded image -- for some reason [that i don't
...
completely understand], md_takeroot() runs before md_preloaded(),
rendering both useless.
As a fix, move the body (effectively one line!) of md_takeroot()
into md_preloaded(), and get rid of the stuff that has become useless.
Bug and fix reported 10 days ago on -current, no reply.
2004-03-31 21:48:02 +00:00
des
38842c29ce
Raise WARNS level to 2.
2004-03-31 21:33:55 +00:00