christos
2be4cd5c08
Add initializer for MOWNER
2006-08-27 23:50:00 +00:00
christos
bf0c1c557b
Fix initializers
2006-08-27 23:49:33 +00:00
christos
cdda2124d1
Fix incomplete declaration.
2006-08-27 23:33:35 +00:00
christos
4a778ebf9a
- static needs to be first
...
- complete the cdevsw
2006-08-27 23:31:15 +00:00
christos
c689e59cb9
restructure ifdefs
2006-08-27 23:27:44 +00:00
christos
1624b1a623
typo
2006-08-27 23:23:48 +00:00
christos
d22d88fc75
ifdef out unreachable code.
2006-08-27 23:23:02 +00:00
christos
d8b4d47380
define D_OTHER as 0.
2006-08-27 23:21:58 +00:00
christos
35f0d726a8
complete initialization
2006-08-27 23:21:35 +00:00
christos
925d11f2f5
complete declarations
2006-08-27 23:19:03 +00:00
christos
ec7d898cf1
Complete the declaration.
2006-08-27 23:13:47 +00:00
christos
f2ef4c473c
Fix incomplete initialization.
2006-08-27 22:36:10 +00:00
christos
7e11d29fc2
Delete unsigned comparison with < 0
2006-08-27 22:33:49 +00:00
bjh21
b42a1dca38
Revert revision 1.4: it seems to have caused serious problems on sgimips,
...
so I should probably leave it until I get my Indy going.
2006-08-27 22:32:54 +00:00
christos
2c9106f6fe
Define RB_AUGMENT to some expression, so that we don't end up with empty ifs.
2006-08-27 22:32:38 +00:00
christos
0616c072ff
complete initialization.
2006-08-27 22:31:55 +00:00
christos
02410ae7a1
complete initialization in macro
2006-08-27 22:20:42 +00:00
martin
2675789424
Add a caveats section describing potential problems with autoconfigured
...
swap partitons.
2006-08-27 22:00:33 +00:00
matt
41f51182cf
Add -msym32 to CFLAGS when MACHINE_ARCH is mips64e[bl].
...
Since kernels are always run out of KSEG0 (0xffffffff.8xxxxxxx), we can
take advantage of that if we load a 32 bit address (0x8xxxxxxx) that it
will be sign-extended to 64 bits (0xffffffff.8xxxxxxx).
So instead of 6 instructions (2 lui, 2 daddiu, dsll32, daddu) to load an
address, the normal number of 2 instructions (lui, daddiu) will be used.
Thus telling gcc/gas that symbols will always be 32 bits significantly
shrinks (by 10%) and speeds up a MIPS64 kernel.
2006-08-27 21:44:15 +00:00
christos
4de29ae80e
Include <sys/device.h> needed by iopio.h
2006-08-27 21:41:18 +00:00
christos
d5ca3efd41
undo previous. Andy says the struct is used in pkgsrc.
2006-08-27 21:39:39 +00:00
martin
0a4f0b6f07
As discussed on tech-userlevel: enhance the -A/-U commands to take a -t
...
auto flag, which queries all local harddisks for swap partitions/
wedges and adds/removes them as swap device, a -f option to use the
first found swap device as dump device, and a -o option to only
auto-configure the dump device, but leave swap alone.
Add a -n option to make swapctl only say what it would do, but not
change any system state.
2006-08-27 21:07:39 +00:00
christos
1b3d66a467
Sprinkle _KERNEL.
2006-08-27 20:32:44 +00:00
christos
5699156510
pick up ioctls from other devices too.
2006-08-27 20:31:26 +00:00
christos
9db6f7d836
#ifdef out unused ioctl (and wrong)
2006-08-27 20:26:34 +00:00
christos
9c90e26bcf
Fix typo
2006-08-27 20:11:31 +00:00
christos
52975efd5a
Grr. Don't define _KERNEL! Most of the kernel files do #ifdef _KERNEL
2006-08-27 19:19:47 +00:00
christos
06869f0ad3
don't call variables errno! including from userland breaks things!
2006-08-27 19:18:08 +00:00
matt
a798aa78f2
Define _MIPS_BSD_API correctly according to GCC builting __mips_n64,
...
__mips_n32, and __mips_o64.
2006-08-27 19:04:30 +00:00
matt
b699479d37
The prohibition about 64bit ABIs only applies to pre-gcc3 so move it there.
2006-08-27 19:02:38 +00:00
christos
41cacf46ed
Make the "traditional" comment match reality.
2006-08-27 18:49:08 +00:00
christos
b34c6cdc81
PR/34293: Michael van Elst: vnd deadlocks on I/O buffers
...
Also fixes: PR/10731, PR/12189, PR/20296
Sleep while there a buffer shortage.
2006-08-27 18:45:20 +00:00
matt
efae537b4c
Sign extend DEFTEXTADDR on MIPS64.
2006-08-27 18:40:33 +00:00
christos
a1ed611584
Don't hard-code 3. From our secret user.
2006-08-27 18:27:49 +00:00
xtraeme
f61564f6ba
Initialize a variable to 0 to appease gcc4 with -O3.
2006-08-27 17:05:39 +00:00
cube
e7b8b95beb
Require a config(1) supporting syntax version 20060604 now that we use
...
the "obsolete" statement.
2006-08-27 15:44:16 +00:00
elad
b0f11d59b9
TLDR
2006-08-27 15:00:12 +00:00
tsutsui
023d5b98c6
- add "zsc1 at sbdio?" so that ewskbd and ewsms are attached properly (oops)
...
- fix typo in a commented out entry
2006-08-27 14:09:40 +00:00
bjh21
f379f539d2
Use symbolic names for CSR values after reset.
2006-08-27 13:13:36 +00:00
plunky
c980b109dd
BluetootH SCO Audio update.
...
Provide an ioctl to set the SCO mtu value in the controller and
place limits in the SCO code such that only packets of this size
may be sent.
Move the mtu option from btsco(4) and btdevctl(8), to the
btconfig(8) program.
Remove temporary BLUETOOTH_SCO kernel option, and enable SCO
socket access.
Fix incoming connection handling for btsco(4) and SCO sockets.
Fix documentation to reflect the new world order.
2006-08-27 11:41:58 +00:00
bjh21
5616d106f8
acorn26 hasn't had sbic since before it became acorn26.
2006-08-27 10:14:20 +00:00
xtraeme
ca450bca52
Update powernow module with POWERNOW_K7 and POWERNOW_K8 support.
...
Works fine on amd64 cpus running in 32-bit mode.
Tested by Joel Carnat.
2006-08-27 10:10:55 +00:00
bjh21
690289e97b
Remove obsolete "sbic" define.
2006-08-27 10:05:23 +00:00
sekiya
5286a772e3
Zap reference to XNS.
2006-08-27 09:48:26 +00:00
christos
e0811114bb
add a const
2006-08-27 09:20:53 +00:00
tsutsui
8cf78c8c6c
Use uint32_t rather than int for spifi registers.
2006-08-27 08:56:03 +00:00
christos
044037dd26
- Added string was never added
...
- have t_goto put an error in the result.
2006-08-27 08:47:40 +00:00
tsutsui
90b96f181b
Make sc_dmamap volatile for aggressive gcc4.
...
Also use uint32_t rather than int since it's unsigned.
2006-08-27 08:43:05 +00:00
skrll
29c50502a7
Pull across OpenBSD cpufunc.h:1.27 (ignore the typo)
...
revision 1.27
date: 2005/04/07 00:19:28; author: mickey; state: Exp; lines: +3 -3
put a memmory barrier onto the sync_caches()
2006-08-27 08:42:50 +00:00
christos
bd5f306da4
Show the error instead of just OOPS.
...
Don't return E2BIG for digit problems.
2006-08-27 08:28:38 +00:00