sam
aaa98f8e29
extract node matching logic into new ieee80211_match_bss routine for use
...
in background/incremental scanning
Obtained from: madwifi
2004-04-02 23:00:30 +00:00
sam
ac53a5bdcf
diff reduction against madwifi
2004-04-02 22:56:09 +00:00
sam
f57cb8d81b
when processing beacon/probe response frames capture "is probe" in a
...
variable to improve code legibility since we're going to use it more
in forthcoming mods
Obtained from: madwifi
2004-04-02 22:54:07 +00:00
sam
41b9a21d19
add a case of IEEE80211_ELEMID_IBSSPARMS so the statistic on unknown
...
elements is more meaningful (will add more with WPA merge)
Obtained from: madwifi
2004-04-02 22:50:31 +00:00
sam
b9a1b7eda9
when doing internal bridging free the node instead of just dropping the
...
reference for consistency (explicit refcounting is discouraged)
Obtained from: madwifi
2004-04-02 22:48:52 +00:00
sam
ca926004a9
when receiving a frame w/ a bad version number don't unref the node; the
...
driver is responsible for that
Obtained from: madwifi
2004-04-02 22:47:11 +00:00
sam
4cfcf755a1
insure basic rate bit is set in derived rate set; this
...
works around a protocol/firmware problem with some versions found
in hermes/prism cards
2004-04-02 20:22:25 +00:00
sam
d007eaede6
diff reduction against madwifi/p4
2004-04-02 20:19:20 +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
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
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
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
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
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
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
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
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
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
des
2209468b0e
Deal with aliasing warnings.
...
Reviewed by: ru
Approved by: silence on the lists
2004-03-31 21:32:58 +00:00
ru
db8b2a901c
Under a heavy RX load, at least with D-Link DFE-550TX adapters,
...
the driver's RX ring head may fall behind the chip, causing the
stuck traffic, disordered packets, etc. Work around this by
adopting the technique of resyncing RX head used in dc(4) and
xl(4) drivers, but do it in a slightly different place to reduce
the number of resyncs needed.
Also, set the NIC's RX polling period to a more meaningful value,
to stop overloading the PCI bus (this also reduces the number of
resyncs by a factor of 3 or more in a long run; the actual number
is very dependent on a nature of the traffic).
Maintain the statistics counter as the hw.ste_rxsyncs sysctl.
In cooperation with: Vsevolod Lobko
OK'ed by: ambrisko
MFC after: 5 days
2004-03-31 21:10:01 +00:00
ru
86d52db7bc
Added polling(4) support for ste(4).
...
MFC after: 5 days
2004-03-31 20:39:20 +00:00
vkashyap
d83ab3689d
Moved comments on 3ware 9000 series RAID controller driver options from
...
options to NOTES.
2004-03-31 18:46:13 +00:00
njl
b8b283bcbb
Staticize pnp methods, style fixes. Remove unused variable to unbreak
...
kernel build.
2004-03-31 17:35:28 +00:00
takawata
fbe8ede40b
Add ACPI path in location string for ACPI namespace aware PCI device.
2004-03-31 17:27:19 +00:00
njl
fd0c34e87b
Add an interface to pass an argument to the resource parsing functions.
...
This is just groundwork for changing sysresource behavior.
PR:
Submitted by:
Reviewed by:
Approved by:
Obtained from:
MFC after:
2004-03-31 17:23:46 +00:00
takawata
9f95817abb
Style fix.
...
Pointed out by: njl
2004-03-31 17:21:14 +00:00