ad
94ff46d894
This isn't needed any more.
2008-04-29 23:28:01 +00:00
scw
1de1c389bf
Pull in some more changes from OpenBSD:
...
- replace rssadapt(9) with amrr for automatic rate control.
- don't blindly IFQ_DEQUEUE() then drop a Tx packet if there are no
available Tx resources.
- move default MAC/BBP/RF settings from rt2661.c to rt2661reg.h.
- enable packet bursting when operating as a STA.
- implement new ic_updateslot() callback.
- in hostap mode, we defer update of the slot time until all associated
STAs are notified with updated beacons.
- 802.11a uses a 16 microseconds short interframe space.
- Fix rt2661_set_macaddr() so that we don't override the "unicast to me"
flag in RT2661_MAC_CSR3 when setting the MAC address.
- fix index of ERP information element in beacons.
Add a couple of tweaks of my own:
- The RX/TX BUSY flag should be the last thing written to a descriptor.
- Check and service any additional h/w interrupts before returning
from the isr.
Tested in STA, AP, and Monitor modes. Tested with WEP, WPA, and WPA2 crypto.
Additional testing by xtraeme@
2008-04-29 22:21:45 +00:00
xtraeme
dbce9233f7
Don't show statistics in sensors that will provide a percentage.
2008-04-29 21:46:17 +00:00
ad
4325f51a67
Adjust the help string for new options.
2008-04-29 21:35:47 +00:00
scw
d05f8e9263
- Document RAS_START_ASM, RAS_END_ASM, RAS_START_ASM_HIDDEN, and
...
RAS_END_ASM_HIDDEN.
- Advise against implementing RASs in C.
See PR lib/38482 for details.
While here, remove clauses 3 and 4 from TNF license.
2008-04-29 21:06:28 +00:00
scw
4e2c4c42b4
Implement _atomic_cas_up() in assembly code as the compiler cannot be
...
trusted to generate fully restartable code sequences.
Addresses lib/38482 for ARM and m68000.
2008-04-29 20:57:50 +00:00
scw
ebbad0004d
Add convenience macros RAS_{START,END}_ASM() and RAS_{START,END}_ASM_HIDDEN()
...
to simplify coding RASs in assembly.
2008-04-29 20:50:42 +00:00
ad
5804d4a96d
Minor correction to previous.
2008-04-29 19:19:29 +00:00
ad
9a4949249f
Recognise two new boot flags:
...
-1 disable MP
-2 disable ACPI
2008-04-29 19:18:19 +00:00
ad
8816278aca
Recognise the RB_MD flags.
2008-04-29 19:16:08 +00:00
ad
e8acac827e
Remove now bogus assertion.
2008-04-29 19:02:14 +00:00
joerg
a1988014f6
Remove IOAPIC_HWMASK, it was never defined.
2008-04-29 18:47:18 +00:00
ad
971df547a1
kern/38502 ifconfig wi0 hangs
...
Don't acquire the socket lock for PRU_CONTROL.
2008-04-29 18:42:26 +00:00
ad
387c23dfb9
PRU_CONTROL: acquire bt_lock manually.
2008-04-29 18:41:06 +00:00
ad
68c83ab9c7
kern/38502 ifconfig wi0 hangs
...
Don't acquire the socket lock for PRU_CONTROL.
2008-04-29 18:35:14 +00:00
ad
9bdeb71266
cpu_switchto: if DIAGNOSTIC, assert not above IPL_SCHED.
2008-04-29 18:27:18 +00:00
ad
baa3395f8f
PR kern/38057 ffs makes assuptions about devvp file system
...
PR kern/33406 softdeps get stuck in endless loop
Introduce VFS_FSYNC() and call it when syncing a block device, if it
has a mounted file system.
2008-04-29 18:18:08 +00:00
ad
bf797086e6
Don't try grabbing a zombie's p_reflock.
2008-04-29 18:13:24 +00:00
ad
c47594f131
Replicate sbus fixes for PR kern/37540.
2008-04-29 18:08:03 +00:00
ad
bf6eb72289
Another compile fix.
2008-04-29 18:07:11 +00:00
nakayama
c887d75771
Make it compile again on big endian, and restore CVS keyword.
2008-04-29 17:48:43 +00:00
jdc
017de4a670
Revert the scrolling region change from revision 1.18, as this breaks (at
...
least) mutt:
Only change the scrolling region if the window now has fewer rows.
2008-04-29 17:46:39 +00:00
tsutsui
44f3e60011
Fix (currently harmless) typo.
...
I'm not sure why autobuild (amd64) gets ICE with -Os while it works on i386..
2008-04-29 17:42:35 +00:00
ad
322906d197
solisten: don't leak lock if the socket is busy.
2008-04-29 17:35:31 +00:00
tsutsui
0219c7f5be
Fix (almost harmless) typo.
2008-04-29 17:30:34 +00:00
jmcneill
bfb86f013a
Oh, so that's how you spell Legacy -- thanks spellcheck!
2008-04-29 17:27:38 +00:00
matt
00caca484f
Change IPL_LEVELS to NIPL.
...
current_spl_level is dead.
2008-04-29 17:09:47 +00:00
ad
b872c0e53d
PR kern/37917 /bin/ps no longer shows zombies
2008-04-29 16:21:27 +00:00
ad
a4c98bcccd
Ignore processes with PK_MARKER set.
2008-04-29 16:21:01 +00:00
martin
cf6ae11aea
Pass the "right" softc to the soft interrupt handler
2008-04-29 15:59:34 +00:00
martin
9213a7cdc1
Record argument in soft interrupt handler
2008-04-29 15:57:56 +00:00
ad
1074fa7182
Ignore processes with PK_MARKER set.
2008-04-29 15:55:24 +00:00
ad
ddeba2439c
Ignore processes with PK_MARKER set.
2008-04-29 15:51:23 +00:00
tsutsui
835f32c27d
- split softc/device_t with related changes
...
- always make local functions static since mips/conf/Makefile.mips
has been changed to preserve local symbols for debug
2008-04-29 15:50:39 +00:00
yamt
5d9397e689
sprinkle KASSERT(kpreempt_disabled()).
2008-04-29 15:44:07 +00:00
yamt
20d35e839b
make cpu_intr_p preemption safe.
2008-04-29 15:42:59 +00:00
ad
7851dc4283
Get spl framework and interrupt gates working before breaking into DDB
...
on boot. PR port-amd64/30828.
2008-04-29 15:26:26 +00:00
tsutsui
1a8652c79c
- reorganize com console code
...
- remove unused functions
2008-04-29 15:24:50 +00:00
uwe
138486a3df
According to C99:
...
6.11.5 Storage-class specifiers
[#1 ] The placement of a storage-class specifier other than
at the beginning of the declaration specifiers in a
declaration is an obsolescent feature.
and gcc -Wextra warns about this, so s/const static/static const/
2008-04-29 15:10:02 +00:00
martin
682d4acc5f
Make it compile
2008-04-29 14:46:57 +00:00
rmind
1942fc2548
Split the runqueue management code into the separate file.
...
OK by <ad>.
2008-04-29 14:35:20 +00:00
tsutsui
f07b0a1491
Fix a leakage on device_t/softc split. PR kern/38541 from HITOSHI OSADA.
2008-04-29 14:16:57 +00:00
ad
cef4f8fa35
Use sparc_softintr to pass down device interrupt to the correct IPL.
...
MI slowpath softints are fine for notifications but have to much latency
to provide the card with the next block to play/record. PR kern/37540.
2008-04-29 14:10:00 +00:00
cegger
b574865ea4
gpio(4): Extend with open/close to request/release the ppbus(4) on open/close.
...
ppbus(4): Extend to attach on gpiobus.
From Hans Rosenfeld from tech-kern:
http://mail-index.netbsd.org/tech-kern/2008/04/28/msg001168.html
Hint: Hans sent me this diff which differs in the one from tech-kern in:
- 2-clause license
- sprinkled some consts
2008-04-29 14:07:36 +00:00
ad
a1ddfabe35
Mirror sparc and provide sparc_softintr stuff. There is no functional
...
change, beyond renaming a function and putting back disestablish/schedule.
PR kern/37540.
2008-04-29 14:06:31 +00:00
ad
254bed5bd3
Fix a race condition that could cause a deadlock between two threads in
...
the same process simultaneously trying to dump core. Fixes PR kern/37704.
2008-04-29 14:04:06 +00:00
ad
0910800372
Suspended LWPs are no longer created with l_mutex == spc_mutex. Remove
...
workaround in setrunnable. Fixes PR kern/38222.
2008-04-29 13:56:14 +00:00
ad
67fa15fb98
Move override of curlwp into lwp.h.
2008-04-29 13:02:03 +00:00
ad
5b204246b2
Current should boot quickly on these emulators now, so the configs aren't
...
required. If it boots slowly please adjust the code to disable ISAPNP probes
which are the main slow part of boot on x86. See x86/platform.c.
2008-04-29 12:46:15 +00:00
ad
19f35718b6
Require MULTIPROCESSOR. PR kern/38537.
2008-04-29 12:43:58 +00:00