Wojciech A. Koszek
8c96ef6247
Consistently use <TAB> instead of spaces as option name and file
...
separator.
2009-02-06 10:30:46 +00:00
Warner Losh
fc4c469701
fix spelling error
...
Submitted by: trasz
2009-02-06 09:34:17 +00:00
Warner Losh
1b37372ada
Store the entire funce for disk type functions (eg CF cards and the
...
like).
2009-02-06 07:49:03 +00:00
Craig Rodrigues
8259724930
Set NFSMNT_ACDIRMAX flag in fallback_mount() function.
2009-02-06 07:47:53 +00:00
Craig Rodrigues
60341db4b2
Set NFSMNT_ACREGMIN, NFSMNT_ACREGMAX, and NFSMNT_ACDIRMIN flags
...
in fallback_mount() function.
Add a comment to indicate that the fallback_mount() function
should eventually go away.
Submitted by: Jaakko Heinonen <jh saunalahti fi>
2009-02-06 07:42:21 +00:00
Wojciech A. Koszek
172ab3e96e
Remove unused variable.
...
Found with: Coverity Prevent(tm)
CID: 4138
2009-02-06 00:55:19 +00:00
Wojciech A. Koszek
d030e65009
Make config -x <kernel> only return non-zero characters,
...
so that:
config -x <kernel> | grep <something>
just works.
Reported by: Danny Braniss <danny@cs.huji.ac.il>
2009-02-06 00:50:21 +00:00
Sam Leffler
506c6a3a3d
add PSB channels to the calibration list
2009-02-06 00:48:56 +00:00
Wojciech A. Koszek
1e9e2b22b8
Bring consistent debugging output for all values that are supposed
...
to be printed in a hexadecimal format. Otherwise, '270' doesn't say
much.
Reviewed by: imp
2009-02-05 23:51:11 +00:00
Sam Leffler
9adb9237bf
for adhoc and ahdemo modes try to find the "bss node": use the bssid
...
unless it's not setup or zero's; this may not work as the bssid of
the ibss isn't certain to the "right mac address" but for many cases
it is
2009-02-05 23:15:39 +00:00
John Baldwin
e4d9b9eb18
Drop the kernel linker lock while running SYSUNINIT routines and removing
...
sysctls during a linker file unload. We drop the lock when doing similar
operations during a linker file load. To close races, clear the LINKED
flag before dropping the lock so that the linker file is no longer visible
to userland.
MFC after: 1 week
2009-02-05 23:01:36 +00:00
Sam Leffler
ab28e51677
make -o handling like athstats
2009-02-05 22:17:10 +00:00
Sam Leffler
a54c6fc878
unbreak -o
2009-02-05 22:16:09 +00:00
Kip Macy
cba4003c0d
halt APs on reboot
2009-02-05 21:41:27 +00:00
Kip Macy
3655b5e696
reboot instance on reset
2009-02-05 21:35:40 +00:00
Kip Macy
532700bd00
fix non-witness compile
2009-02-05 21:18:39 +00:00
Sam Leffler
e25b0c1528
eliminate gainFCorrection; just have ar5212GetGainFCorrection return
...
the calculated value as it's only used in one place
2009-02-05 21:13:31 +00:00
Sam Leffler
cc5912f8d7
add new stats and missing tx_raw stat
2009-02-05 21:09:46 +00:00
Sam Leffler
3267a60cbd
Minor packet drop improvements:
...
o change tdma packet drop msg when ack required to ATH_DEBUG_TDMA
(ATH_DEBUG_XMIT is too noisy)
o add a debug msg for raw packet drop due to interface down/invalid
o add stats for these two cases
o explain how another drop case is handled
2009-02-05 21:02:40 +00:00
Sam Leffler
5b1e30afaa
improve IQ cal debug msgs; in particular don't scare people by screaming
...
"MISGATED IQ CAL!" when it's not
2009-02-05 20:56:33 +00:00
Sam Leffler
4d5c4f2a67
fill in ar5212ResetCalValid; reset the IQ valid flag on the channel
...
so IQ calibration will be started on the next periodic cal
2009-02-05 20:51:53 +00:00
Sam Leffler
3b00bfe121
style
2009-02-05 20:49:13 +00:00
Sam Leffler
5c5b75f94f
replace r/w idiom with OS_REG_SET_BIT (to match other code)
2009-02-05 20:48:30 +00:00
Warner Losh
2f4f3e9365
Don't check for mapping above 4GB on 32-bit platforms.
2009-02-05 20:44:06 +00:00
Sam Leffler
1e9ec798a1
o fix identification of ahdemo mode
...
o split out code to get the bssid for use in the future
o include more information in error diags when unable to collect sta info/stats
2009-02-05 20:39:53 +00:00
Sam Leffler
30a4e0680d
o change _db_show_key to always dump the contents instead of checking
...
IEEE80211_KEY_DEVKEY
o fix channel power printing (they are signed values)
o add show statab to dump a node table and automatically dump the sta
table of a com structure with /s
2009-02-05 20:26:53 +00:00
Warner Losh
102720b585
do_product_lookup should return a const struct pccard_product *.
2009-02-05 19:39:07 +00:00
Warner Losh
73e04c0b84
Fix parameter types for set_res_flags and read_ivars
2009-02-05 19:38:31 +00:00
Warner Losh
a6340ec88d
shutdown returns an int
2009-02-05 19:37:49 +00:00
Warner Losh
8c1d2b702b
shutdown returns an int
2009-02-05 19:36:14 +00:00
Warner Losh
16ec4b00e6
writereg returns an int.
2009-02-05 19:33:35 +00:00
Warner Losh
85a7cf04e7
writereg returns an int.
2009-02-05 19:33:20 +00:00
Warner Losh
005f7c3308
Make iclear return int, since that matches all function definitions of it.
2009-02-05 19:32:34 +00:00
Warner Losh
3fd8527379
reset_epp and ecp_sync both return int.
2009-02-05 19:31:55 +00:00
Warner Losh
174ed15e5c
Shutdown returns an int.
2009-02-05 19:30:55 +00:00
Warner Losh
a4958494e8
identify routine takes driver_t *, not device_t *.
2009-02-05 19:30:28 +00:00
Sam Leffler
f2ce0f5181
o add IEEE80211_KEY_BITS for %b printing of wk_flags
...
o replace hand-rolled code to print wk_flags
o add display of ni_ucastkey in show sta
o fix \n in _db_show_key
2009-02-05 19:20:34 +00:00
Warner Losh
cdaf8487a3
Add some additional debugging for the memory code.
2009-02-05 18:51:14 +00:00
Warner Losh
b6c974e8da
device_shutdown returns an int.
2009-02-05 18:43:13 +00:00
Warner Losh
1496d4a967
pcib_read_config and pcib_write_config take u_int params.
2009-02-05 18:40:42 +00:00
Warner Losh
e3545bcc26
device_shutdown returns int.
2009-02-05 18:39:33 +00:00
Warner Losh
66a149db32
bus_add_child takes a const char *.
2009-02-05 18:38:39 +00:00
Sam Leffler
364eb2b192
add cfi test tool
...
Sponsored by: Carlson Wireless
Reviewed by: imp, Chris Andreson
2009-02-05 18:15:20 +00:00
Sam Leffler
63425a7f25
Add support for frobbing Intel StrataFlash Protection Registers:
...
o add CFI_SUPPORT_STRATAFLASH compile option to enable support
o add new ioctls to get/set the factory and user/oem segments of the PR
and to get/set Protection Lock Register that fuses the user segment
o add #defines for bits in the status register
o update cfi_wait_ready to take an offset so it can be used to wait for
PR write completion and replace constants w/ symbolic names
Note: writing the user segment isn't correct; committing now to get review.
Sponsored by: Carlson Wireless
Reviewed by: imp, Chris Anderson
2009-02-05 18:12:07 +00:00
Sam Leffler
b8bd4a9751
add support for max antenna gain (not used at the moment)
2009-02-05 17:51:46 +00:00
Warner Losh
3f147ab251
Fix return type for detach routine (should be int)
...
Fix first parameter for identify routine (should be driver_t *)
2009-02-05 17:43:12 +00:00
Attilio Rao
05fa71ba43
Remove the assertive KA_HELD and KA_UNHELD as long as they are dangerous,
...
and not really helpful.
2009-02-05 15:09:04 +00:00
Jamie Gritton
67c19233f1
Don't bother null-checking the thread pointer before the prison checks
...
in udp6_connect (td is already dereferenced elsewhere without such a
check). This makes the conversion from a sockaddr to a sockaddr_in6
always happen, so convert once at the beginning of the function rather
than twice in the middle.
Approved by: bz (mentor)
2009-02-05 15:04:23 +00:00
Attilio Rao
feabc903d9
Add more KTR_VFS logging point in order to have a more effective tracing.
...
Reviewed by: brueffer, kib
Tested by: Gianni Trematerra <giovanni D trematerra A gmail D com>
2009-02-05 15:03:35 +00:00
Jamie Gritton
9c79d2432e
Call prison_if from rtm_get_jailed, instead of splitting it out into
...
prison_check_ip4 and prison_check_ip6. As prison_if includes a jailed()
check, remove that check before calling rtm_get_jailed.
Approved by: bz (mentor)
2009-02-05 14:58:16 +00:00