91038 Commits

Author SHA1 Message Date
imp
749a7cc7f5 OLDCARD is OBSOLETE_IN_6. Tag it as such. 2003-06-12 04:46:43 +00:00
imp
9dfe3bed63 If BURN_BRIDGES or _FreeBSD_version >= 6.0 and OBSOLETE_IN_6 is
defined, then #error out.  This is protected inside of #ifdef _KERNEL.
This allows one to tag code in the tree that will be deleted in 6.x
with the 'OBSOLETE_IN_6 #define at the top of the file.  This makes
for easy grepping, plus a mechanism that automatically fails the
compilation of those files that are so tagged after we do the cutover.
2003-06-12 04:44:15 +00:00
imp
ce34b283b0 New global option: BURN_BRIDGES
Compile out code that will disappear in 6.0, per Peter Wemm's bridge
burning proposal.
2003-06-12 04:39:32 +00:00
imp
e0cc5cc54e pc98 doesn't need COMPAT_OLDISA for any devices in the kernel.
However, GENERIC has wdc commented out, and COMPAT_OLDISA is required
for that.  Comment out COMPAT_OLDISA and sdd a comment to this effect
near wdc.

Reviewed by: nyan@
2003-06-12 04:19:10 +00:00
gad
fec999e0c4 Minor improvement to some debugging code that is probably used by no one
but me (it's usually #ifdef-ed out).

MFC after:	1 week
2003-06-12 03:49:40 +00:00
gad
6865f1d753 Remove duplicate lines for 'lpr' (copied from lpr/Makefile).
Add myself as low-key maintainer for newsyslog.
2003-06-12 03:37:55 +00:00
imp
2c0da83361 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
gad
78dbcf9c67 Remove MAINTAINER= lines. That info is now in /usr/src/MAINTAINERS 2003-06-12 03:32:21 +00:00
gad
ae83ba896a 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
e9ac0091c2 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
davidxu
c7579115e2 Reorder P_* flags. 2003-06-12 01:19:42 +00:00
marcel
4d9ed138d1 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
obrien
b0678d7a44 Use __FBSDID(). 2003-06-11 23:50:51 +00:00
jake
0e1e089ce6 Fix LINT for now. 2003-06-11 23:42:41 +00:00
obrien
5796c98c6a style clean. 2003-06-11 23:24:31 +00:00
bde
2c34f90a92 Fixed some style bugs (disorder and long lines). 2003-06-11 23:17:01 +00:00
obrien
22a2a89bc7 Remove uneeded cast. 2003-06-11 21:37:19 +00:00
obrien
486fd173ec This appears to be WARNS=3 safe. 2003-06-11 21:36:06 +00:00
obrien
b34a5e077d Best we can do is WARNS=1 due to lex. 2003-06-11 21:27:37 +00:00
obrien
816bc7b2ac Do not refer to the non-existant BDECFLAGS. 2003-06-11 21:25:15 +00:00
alc
4451de3f80 Lock the vm object when removing a page. 2003-06-11 21:23:04 +00:00
hrs
a9db88842f 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
gad
00ec076b3f 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
tmm
682044b335 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
tmm
87b6b51235 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
tmm
58baf8f0d2 Deallocate major 177; the openfirm device does not use a fixed major
any more.
2003-06-11 18:34:50 +00:00
tmm
f485313aec - 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
imp
ba4106f8e0 ARtem ONAIR card
Submitted by: Ben Gras
2003-06-11 16:56:02 +00:00
imp
437724b8c3 regen for 1.52 2003-06-11 16:53:47 +00:00
imp
27da01d916 Add ARtem ONAIR wi card.
Submitted by: Ben Gras
Forgotten by: imp
2003-06-11 16:53:26 +00:00
imp
3d6665b69d Minor tweaks that are effectively all style tweaks. 2003-06-11 16:51:27 +00:00
imp
1438853641 Call wi_free() in all the relevant error cases. 2003-06-11 16:41:07 +00:00
imp
8df22fdf98 Call wi_free on the failure cases of pccard.
Tested by: scottl
2003-06-11 16:39:20 +00:00
alc
df7799dd77 Lock the vm object when removing a page. 2003-06-11 16:37:33 +00:00
erwin
ae671c580c add my birthday 2003-06-11 09:04:53 +00:00
des
f27cbd8cfb Whitespace cleanup. 2003-06-11 07:35:56 +00:00
obrien
5923199859 Use __FBSDID(). 2003-06-11 07:22:30 +00:00
obrien
6094d7f7c3 Use __FBSDID(). 2003-06-11 07:11:35 +00:00
obrien
34c415da2d Use __FBSDID(). 2003-06-11 07:06:31 +00:00
obrien
5dd6703eeb Use __FBSDID(). 2003-06-11 07:00:30 +00:00
obrien
40ee2bd5c8 Use __FBSDID().
Approved by:	phk
2003-06-11 06:49:16 +00:00
alc
958ca4b214 Add vm object locking. 2003-06-11 06:43:48 +00:00
rwatson
057b61aa1c 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
phk
828e56cac2 Fix date, appearantly everybody else got done with May before I did. 2003-06-11 06:37:55 +00:00
obrien
7d804031bd Use __FBSDID(). 2003-06-11 06:34:30 +00:00
obrien
74603d4bb9 Use __FBSDID(). 2003-06-11 05:57:50 +00:00
obrien
8b64eb1925 Use __FBSDID(). 2003-06-11 05:37:42 +00:00
peter
fda03b7cfc GC unused cpu_wait() function 2003-06-11 05:20:33 +00:00
ps
3fbe5ead23 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
grog
be2119ccd6 Remove all files. They're now in tools/debugscripts. 2003-06-11 04:54:58 +00:00