Warner Losh
de5059db1c
Make cbb interrupts MPSAFE:
...
o Register ISR INTR_MPSAFE.
o Loop on KTHREAD_DONE == 0 in the thread.
o Safe the INTR_MPSAFE flag for client drivers (don't know if there are any
CardBus/PCI drivers that are INTR_MPSAFE)
o Read status after acquiring mtx_lock(Giant) rather than before so that we
catch state changes that happen while Giant is being acquired.
o Turn off the CD bit when we see a CD interrupt, and turn it back on after
we've attached/detached the card.
o On suspend, actually set the CBB_SOCKET_MASK to zero rather than oring
in '0' to turn it off on suspend.
o If the ISR that's registerd is MPSAFE, don't acquire Giant around call to
client ISR.
o Fix comments to reflect these changes.
2003-06-12 03:37:28 +00:00
Garance A Drosehn
dac192a9ae
Remove MAINTAINER= lines. That info is now in /usr/src/MAINTAINERS
2003-06-12 03:32:21 +00:00
Garance A Drosehn
da464120d5
When sanity-checking a variable, it's good to check the correct variable...
...
MFC after: 1 week
2003-06-12 03:30:10 +00:00
Mike Barcroft
e86c7447c2
Drop maintainership of whois(1). If someone needs a review they can
...
find me in the whois.c revision history.
2003-06-12 02:46:47 +00:00
David Xu
8f8377109f
Reorder P_* flags.
2003-06-12 01:19:42 +00:00
Marcel Moolenaar
58f2d986a6
Make sure pcpu->pc_pcb is pointing to a 16-byte aligned address. The
...
PCB contains FP registers, whose alignment must be 16 bytes at least.
Since the PCB pointed to by pc_pcb is immediately after the PCPU
itself, round-up the size of thge PCPU to a multiple of 16 bytes. The
PCPU is page aligned.
This fixes a misalignment trap caused by stopping a CPU in a SMP
kernel, such as been done when entering the debugger.
Reported by: Alan Robinson <alan.robinson@fujitsu-siemens.com>
2003-06-12 00:15:18 +00:00
David E. O'Brien
874651b13c
Use __FBSDID().
2003-06-11 23:50:51 +00:00
Jake Burkholder
2b0e2c4ae1
Fix LINT for now.
2003-06-11 23:42:41 +00:00
David E. O'Brien
ebc82d5522
style clean.
2003-06-11 23:24:31 +00:00
Bruce Evans
5ea728feec
Fixed some style bugs (disorder and long lines).
2003-06-11 23:17:01 +00:00
David E. O'Brien
d4bad9978e
Remove uneeded cast.
2003-06-11 21:37:19 +00:00
David E. O'Brien
a58833a16a
This appears to be WARNS=3 safe.
2003-06-11 21:36:06 +00:00
David E. O'Brien
70be60d344
Best we can do is WARNS=1 due to lex.
2003-06-11 21:27:37 +00:00
David E. O'Brien
9cad751da5
Do not refer to the non-existant BDECFLAGS.
2003-06-11 21:25:15 +00:00
Alan Cox
2ab3670aad
Lock the vm object when removing a page.
2003-06-11 21:23:04 +00:00
Hiroki Sato
316b600c46
Catch up with the English version:
...
1.157 -> 1.158 hardware/common/dev.sgml
1.573 -> 1.575 relnotes/common/new.sgml
2003-06-11 21:08:52 +00:00
Garance A Drosehn
ea157fa201
There is no need for this makefile to reference BDECFLAGS, particularly
...
since that is no longer defined in the default system install.
MFC after: 1 week
2003-06-11 20:32:52 +00:00
Thomas Moestl
ad9d5b934b
Remove the psycho and sbus iommu function stubs, and put the pointer
...
to the iommu_state structure directly into dt_cookie. The stubs have
not been needed for a long time now.
2003-06-11 20:30:52 +00:00
Thomas Moestl
987c23d4ff
Autosize the property buffer instead of limiting it to 8192, and
...
exiting if a property happens to be larger.
2003-06-11 18:44:26 +00:00
Thomas Moestl
bea59c91de
Deallocate major 177; the openfirm device does not use a fixed major
...
any more.
2003-06-11 18:34:50 +00:00
Thomas Moestl
933c9a14ed
- Add an OFIOCGETPROPLEN ioctl() to get the length of a property.
...
- Do not use a fixed major.
- Minor cleanups.
2003-06-11 18:33:03 +00:00
Warner Losh
c88a674b8d
ARtem ONAIR card
...
Submitted by: Ben Gras
2003-06-11 16:56:02 +00:00
Warner Losh
cb8af9e613
regen for 1.52
2003-06-11 16:53:47 +00:00
Warner Losh
e8abadefcc
Add ARtem ONAIR wi card.
...
Submitted by: Ben Gras
Forgotten by: imp
2003-06-11 16:53:26 +00:00
Warner Losh
7988ce93e8
Minor tweaks that are effectively all style tweaks.
2003-06-11 16:51:27 +00:00
Warner Losh
729a248d63
Call wi_free() in all the relevant error cases.
2003-06-11 16:41:07 +00:00
Warner Losh
459caa871c
Call wi_free on the failure cases of pccard.
...
Tested by: scottl
2003-06-11 16:39:20 +00:00
Alan Cox
f717a9d063
Lock the vm object when removing a page.
2003-06-11 16:37:33 +00:00
Erwin Lansing
0ff30930ff
add my birthday
2003-06-11 09:04:53 +00:00
Dag-Erling Smørgrav
ffe92432e3
Whitespace cleanup.
2003-06-11 07:35:56 +00:00
David E. O'Brien
81a6b595de
Use __FBSDID().
2003-06-11 07:22:30 +00:00
David E. O'Brien
f25de95508
Use __FBSDID().
2003-06-11 07:11:35 +00:00
David E. O'Brien
f98c8ea46c
Use __FBSDID().
2003-06-11 07:06:31 +00:00
David E. O'Brien
050ae80c6f
Use __FBSDID().
2003-06-11 07:00:30 +00:00
David E. O'Brien
50b1faef38
Use __FBSDID().
...
Approved by: phk
2003-06-11 06:49:16 +00:00
Alan Cox
c40f7377a4
Add vm object locking.
2003-06-11 06:43:48 +00:00
Robert Watson
f79c46d3f4
Add "-n" argument, which causes mdconfig to simply print the unit
...
number X, rather than mdX, making it easier to script tests that
use md devices but don't want to make assumptions about any existing
md use (such as in diskless environments).
2003-06-11 06:38:24 +00:00
Poul-Henning Kamp
7ddc2528b7
Fix date, appearantly everybody else got done with May before I did.
2003-06-11 06:37:55 +00:00
David E. O'Brien
f4636c5959
Use __FBSDID().
2003-06-11 06:34:30 +00:00
David E. O'Brien
2c44651495
Use __FBSDID().
2003-06-11 05:57:50 +00:00
David E. O'Brien
ab0de15baf
Use __FBSDID().
2003-06-11 05:37:42 +00:00
Peter Wemm
77e2a274d0
GC unused cpu_wait() function
2003-06-11 05:20:33 +00:00
Paul Saab
1795d0cdec
Don't overflow when calculating vm_kmem_size. This fixes kmem_map
...
too small panics on PAE machines which have odd > 4GB sizes (4.5 gig
would render a 20MB of KVA for kmem_map instead of 200MB).
Submitted by: John Cagle <john.cagle@hp.com>, jeff
Reviewed by: jeff, peter, scottl, lots of USENIX folks
2003-06-11 05:18:59 +00:00
Greg Lehey
4b33b53279
Remove all files. They're now in tools/debugscripts.
2003-06-11 04:54:58 +00:00
Robert Watson
13b7350a5b
Add the comment I meant to add about not passing in PCATCH to the
...
tsleep(). Note the XXX.
2003-06-11 03:32:42 +00:00
David Xu
7677ce18b8
Fix error in my last commit. Correctly maintain p_maxthrwaits and unlock
...
sched_lock.
2003-06-11 01:08:33 +00:00
David E. O'Brien
677b542ea2
Use __FBSDID().
2003-06-11 00:56:59 +00:00
David E. O'Brien
8c9bbf484a
Use __FBSDID().
2003-06-11 00:34:37 +00:00
David E. O'Brien
be07195a60
Use __FBSDID().
2003-06-11 00:01:05 +00:00
David E. O'Brien
3b16f7d7fe
Use __FBSDID().
2003-06-10 23:48:55 +00:00