christos
8cc5bb6be9
fix and comment initializers.
2006-08-30 15:22:45 +00:00
christos
c1d5ec6516
add missing initializers.
2006-08-30 15:14:11 +00:00
cube
67306d2035
Make this compile under "no options COREDUMP".
2006-08-30 14:41:06 +00:00
cube
c7efdaf65b
Make SYSTRACE depend on PTRACE because it uses process_domem().
2006-08-30 14:07:09 +00:00
he
a7d7842fcb
Regenerate after dealing with options PTRACE.
2006-08-30 14:02:12 +00:00
cube
98719e5089
Let this compile under "no options COREDUMP".
2006-08-30 14:01:57 +00:00
he
4ca1029105
Update to deal with options PTRACE.
2006-08-30 14:01:25 +00:00
cube
12092a2b5c
Regen (netbsd32_ptrace protection).
2006-08-30 13:58:51 +00:00
cube
1282264dd1
Protect netbsd32_ptrace with options PTRACE.
2006-08-30 13:57:47 +00:00
cube
f5dc39b8bf
netbsd32_core.c is need only under options COREDUMP.
2006-08-30 13:57:11 +00:00
cube
ed78ad7eae
Protect netbsd32_ptrace with options PTRACE.
2006-08-30 13:56:48 +00:00
cube
c09480be6c
Let those compile under "no options COREDUMP".
2006-08-30 13:55:03 +00:00
cube
21222420ab
Regen against correct syscalls.master version [hi gimpy!].
2006-08-30 13:53:41 +00:00
cube
bd859bd3de
Restore dependency on PTRACE for PROCFS.
...
Bump required config(1) version.
2006-08-30 13:49:27 +00:00
matt
984109dc99
Regen.
2006-08-30 11:35:21 +00:00
matt
0cf3f9db4e
Add || defined(_KERNEL) to ptrace entry (like ktrace).
2006-08-30 11:34:26 +00:00
matt
3a7b10b907
Regen
2006-08-30 11:19:23 +00:00
matt
ad6aa2b08e
Update to deal with options PTRACE
2006-08-30 11:14:39 +00:00
cherry
d98d4f0f0f
remove redundant #defines
2006-08-30 11:14:23 +00:00
cherry
50ca7431be
#include cleanups.
2006-08-30 11:12:04 +00:00
matt
583998d384
sys_process.c is also used by KTRACE.
2006-08-30 11:08:15 +00:00
matt
5efede10eb
Regen (for PTRACE).
2006-08-30 11:05:14 +00:00
matt
181c494b95
Update for options PTRACE
2006-08-30 11:04:37 +00:00
matt
1f5dae8a54
#include "opt_ptrace.h"
2006-08-30 10:17:49 +00:00
jnemeth
944592a2ee
revert previous as it breaks the build due to invalid syntax
2006-08-30 07:46:37 +00:00
christos
5bfce2e9a7
fix incomplete initializers
2006-08-30 02:15:33 +00:00
christos
ca858a7e11
static goes first
2006-08-30 02:13:20 +00:00
christos
ee0887af27
fix missing initializer
2006-08-30 02:11:42 +00:00
christos
afca61baba
add missing initializers
2006-08-30 02:09:40 +00:00
christos
366af49b8e
- fix missing initializations
...
- remove stray semicolon, that screwed up error checking
2006-08-30 02:08:20 +00:00
christos
df04aa6566
fix incomplete initializer
2006-08-30 02:02:21 +00:00
christos
2e252670b5
static goes first
2006-08-30 02:00:26 +00:00
christos
1158495345
fix order of decl
2006-08-30 01:59:06 +00:00
christos
35190634ec
fix incomplete initializers
2006-08-30 01:58:00 +00:00
christos
676e77765a
fix missing initializers
2006-08-30 01:28:53 +00:00
christos
37fbc95466
add missing initializer
2006-08-30 01:27:56 +00:00
christos
57b45699b2
fix incomplete initializer.
2006-08-30 01:26:47 +00:00
christos
0340a0cbcd
fix incomplete initializer
2006-08-30 01:24:40 +00:00
christos
d65306455b
comment out comparison always false
2006-08-30 01:23:35 +00:00
christos
ef6c9d757e
fix incomplete initializer
2006-08-30 01:17:09 +00:00
christos
d76c7ff74a
- fix missing initializer
...
- fix < 0 comparison with unsigned
2006-08-30 01:14:24 +00:00
christos
b80f5be1eb
fix incomplete initializers
2006-08-30 01:10:46 +00:00
christos
f202705964
fix incomplete initializer
2006-08-30 01:09:39 +00:00
christos
976bcd112b
add missing initializers
2006-08-30 01:08:43 +00:00
christos
f432f36f7f
missing comma
2006-08-30 00:54:28 +00:00
christos
a87d6a05e0
fix incomplete initializers
2006-08-30 00:53:47 +00:00
christos
976d4b3f1c
- fix incomplete initializer
...
- remove unsigned comparison < 0
2006-08-30 00:51:48 +00:00
christos
16f3fda8be
fix incomplete initializers
2006-08-30 00:42:41 +00:00
christos
2ddf5cde1a
fix incomplete initializers.
2006-08-30 00:41:46 +00:00
christos
15a77ddab7
fix incomplete initializer
2006-08-30 00:40:56 +00:00
christos
60b52d2f57
fix incomplete initializers in the LOCKDEBUG case
2006-08-30 00:39:58 +00:00
christos
f9f4c63527
fix incomplete initializer.
2006-08-30 00:00:15 +00:00
christos
5970d219ae
remove stray ;'s that were unintentionally placed
2006-08-29 23:58:42 +00:00
christos
33cacef35e
correct comparison that was always false.
2006-08-29 23:57:49 +00:00
christos
11d381a90a
fix incomplete initializer
2006-08-29 23:56:02 +00:00
christos
cb09e23ee7
fix incomplete initializer
2006-08-29 23:45:23 +00:00
christos
f62871cb73
Fix incomplete initializer
2006-08-29 23:43:12 +00:00
christos
c65db33038
fix incomplete initializer.
2006-08-29 23:42:18 +00:00
christos
f649f50b35
fix incomplete initializer
2006-08-29 23:41:12 +00:00
christos
5ea9cdc590
fix incomplete initializers
2006-08-29 23:40:14 +00:00
matt
de5e509235
Regen (for optional ptrace)
2006-08-29 23:38:54 +00:00
matt
bae263f051
Regen.
2006-08-29 23:37:30 +00:00
matt
084f43623d
Fix typo (ktrace -> ptrace)
2006-08-29 23:36:56 +00:00
matt
9e0ec4816e
Make PTRACE and COREDUMP optional. Make the default (status quo) by putting
...
them in conf/std.
2006-08-29 23:34:48 +00:00
bjh21
8009229e9b
The Fujitsu drive in my A540 supports sync transfers but apparently
...
doesn't advertise this in INQUIRY. It makes it nice and obvious with
SDTR, though, so add it to the list.
2006-08-29 20:40:23 +00:00
he
2f6928fe68
Use the common <dev/apm/apmio.h> file instead of replicating struct and
...
ioctl definitions in a local copy. What remains is local additions.
Makes usr.bin/kdump build for macppc again.
2006-08-29 18:17:33 +00:00
macallan
eda93ea91b
those should have been committed along with radeonfb.c
...
doh
2006-08-29 17:09:33 +00:00
gdamore
f7fbb8d998
Trivial white-space and comment fixup.
2006-08-29 02:35:44 +00:00
macallan
10bb91db88
- use RADEON_DEFAULT_MODE when no EDID data available
...
- let only root mmap PCI resources through wscons
- allow IO access on macppc
2006-08-29 00:50:29 +00:00
christos
f7747a2a56
fix incomplete struct decl.
2006-08-28 21:37:37 +00:00
christos
a0917ad69e
fix incomplete initializers
2006-08-28 21:33:16 +00:00
bouyer
aeeb0b33ca
Some bus_dma(9) fixes for Xen:
...
- Attempt to gracefully recover from a failed decrease_reservation or
increase_reservation, by avoiding physical memory loss.
- always store a machine address in ds_addr; this avoids some mistakes
where machine address would in some case be freed at physical address, or
mapped as physical address.
2006-08-28 19:58:56 +00:00
he
4c2420029f
Add duplicate include protection to <dev/sun/kbio.h>.
...
Make the x68k port use this include file, so that what remains
is only the port-specific additions.
2006-08-28 17:15:24 +00:00
he
03d728a806
Collapse two more separate instances of MD vuid_event.h header
...
files to instead use the common <dev/sun/vuid_event.h> header.
2006-08-28 16:52:09 +00:00
he
4493c76313
Use the common <dev/sun/vuid_event.h> header file instead of maintaining
...
separate copies in port-specific directories. Add duplicate include
protection. Makes the alpha and atari ports build usr.bin/kdump/ again.
2006-08-28 16:41:04 +00:00
christos
eef4aaba6b
Fix getdirentries() issue from FreeBSD PR - 78953 Quoting from that:
...
If you perform this request on a directory with exactly 50 files
(plus '.' and '..' which brings the total to 52 objects), the first
reply for the SMB server completely satisfies the query (server
side is Windows 2000 Professional).
The smbfs client then performs a TRANS2_FIND_NEXT2 using the last
file name as the resume key. The response returns a SearchCount
of zero (ctx->f_ecnt == 0) and an EndOfSearch code of zero.
Any attempt to get more entries with calls to TRANS2_FIND_NEXT2
result in Badfid (bad file descriptor). I suspect the return of
SearchCount of zero means that end-of-search has been reached and
the Sid is now closed.
The solution is to set "SMB_RDD_EOF | SMB_RDD_NOCLOSE" after getting
back a zero SearchCount, I've tested this in the field on a quite
a few systems, aggressively accessing Windows shares over smbfs
and it appears flawless.
I was initially concerned about the possibility of resource exhaustion
on the Windows server. I was afraid by not officially closing the
search, it would leave a resource hung-up and over time, exhaust
some sort of "open search table" limit. I've since convinced myself
this is NOT the case.
Windows needs to be able to handle clients that come and go over
time. If the search is not closed, Windows will close it if it
finds it needs more resources. I've testing this on directory
searches descending into 10's of thousands of folders, with 100's
of thousands of files.
2006-08-28 15:56:56 +00:00
bjh21
44ef93a9be
Be more careful with registers in LDR[T] so that GAS doesn't warn us about
...
constructs that aren't allowed in ARMv3.
2006-08-28 15:15:50 +00:00
tsutsui
e67dfa30bf
Remove unneeded #include <sys/device.h> which also requires <prop/proplib.h>.
2006-08-28 14:31:45 +00:00
bjh21
d5930df82e
unifdef -U __APCS_26__: we've been using APCS-32 for years.
2006-08-28 14:31:18 +00:00
bjh21
3612709d56
unifdef __APCS26__: we've been using APCS-32 for years.
2006-08-28 14:26:34 +00:00
tsutsui
73e8e44a34
options SYSTRACE is now disabled in GENERIC,
...
so remove "no options SYSTRACE".
2006-08-28 13:53:04 +00:00
yamt
ea6892fdba
icmp_input: don't assume relations between PRC_ and ICMP_ values.
2006-08-28 13:46:35 +00:00
yamt
e527ebac6f
- remove unused bdbtofsb.
...
- move the following macros from MD headers to sys/param.h.
ctod
dtoc
ctob
btoc
dbtob
btodb
2006-08-28 13:43:35 +00:00
tsutsui
7ecca3ca2e
Revert previous, because header search path for src/common/include is
...
now handled in src/sys/lib/libkern/Makefile.
2006-08-28 13:42:39 +00:00
yamt
b153af038b
don't include sys/lock.h as it is no longer necessary.
2006-08-28 13:41:04 +00:00
yamt
93fbc06b96
make callback.h include necessary headers by itself
...
as suggested by Jason Thorpe and Martin Husemann on source-changes@.
2006-08-28 13:40:44 +00:00
tsutsui
25b6b97dcd
Add src/common/include to include header search path since
...
<sys/device.h> includes <prop/proplib.h>.
2006-08-28 13:38:43 +00:00
tsutsui
a3bdccd23a
Add src/common/include to include header search path so that
...
standalone programs can be built without installed ${DESTDIR} tree.
Okayed by christos, and should close PR 33431.
2006-08-28 13:34:18 +00:00
xtraeme
6c90d7030b
Remove unused variable 'periph' to make this build.
2006-08-28 11:45:38 +00:00
plunky
f2c2a49a27
Make suspend/resume work properly for bt3c device.
...
Since state is kept inside the device that will be lost, we need to
flush all information relating to this controller from the protocol
stack.
2006-08-28 10:34:33 +00:00
plunky
8e2dcba5fc
add newline to (debug) printf
2006-08-28 08:19:53 +00:00
gdamore
5cdb703d36
First pass at cleanup AR5312 WiSoC support to enable better & cleaner
...
sharing of code with the AR5315, which has many similarities, but many
differences from the AR5312.
No functional change at this time, other than the cpu_model string
(and also sysctl.hw.model node) is changed to reflect the WiSoC cpu
name rather than the identification string in ROM (which tends to not
be very informative.)
2006-08-28 07:21:15 +00:00
christos
df7450f605
Fix uninitialized variables.
2006-08-28 02:58:16 +00:00
christos
4db35667c5
remove excess initializer
2006-08-28 02:54:11 +00:00
christos
82b002de3d
Remove excess initializer.
2006-08-28 02:53:03 +00:00
christos
588c80f975
remove extra members
2006-08-28 02:51:12 +00:00
christos
56ec46b4b3
complete CFDRIVER initializer.
2006-08-28 01:46:10 +00:00
christos
4e4ed26fac
add missing initializer
2006-08-28 00:38:47 +00:00
christos
e28a71d80a
add missing initializers
2006-08-28 00:35:22 +00:00
christos
428665231e
correct bogus loop test; used to be always true.
2006-08-28 00:28:51 +00:00
christos
6ab0a579ce
Add missing initializer.
2006-08-28 00:22:15 +00:00
christos
67e07ec558
Add missing initializers
2006-08-28 00:20:47 +00:00
christos
87fd29be14
static goes first.
2006-08-28 00:18:30 +00:00
christos
9953ed71c7
Add missing initializer
2006-08-28 00:16:54 +00:00
christos
f7db588ec4
add missing initializer.
2006-08-28 00:14:50 +00:00
christos
39f8ec7651
add missing initializers.
2006-08-28 00:13:44 +00:00
christos
d3b80ef998
remove impossible conditional
2006-08-28 00:10:20 +00:00
christos
6d637b500d
add missing initializer
2006-08-28 00:09:28 +00:00
christos
6e913df162
remove unreachable code.
2006-08-28 00:08:38 +00:00
christos
a19f83e53b
add missing initializer.
2006-08-28 00:07:35 +00:00
christos
63f68a892b
remove unreachable code.
2006-08-28 00:06:14 +00:00
christos
78cdbd8e9c
add missing initializer.
2006-08-28 00:04:21 +00:00
christos
7546f55be3
add missing initializer
2006-08-28 00:01:36 +00:00
christos
2735c71895
static comes first.
2006-08-28 00:00:23 +00:00
christos
a98a1f3b7b
Add missing initializers.
2006-08-27 23:59:40 +00:00
christos
8f1ca4d223
gc unused member.
2006-08-27 23:55:16 +00:00
christos
ff62f5c658
add missing initializers.
2006-08-27 23:54:50 +00:00
christos
d137310d6b
add missing initializer
2006-08-27 23:53:10 +00:00
christos
ca960afcce
Oops, this is not ready yet.
2006-08-27 23:51:31 +00:00
christos
72c8baf57c
Add missing initializer
2006-08-27 23:50:53 +00:00
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
02410ae7a1
complete initialization in macro
2006-08-27 22:20:42 +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
d5ca3efd41
undo previous. Andy says the struct is used in pkgsrc.
2006-08-27 21:39:39 +00:00
christos
1b3d66a467
Sprinkle _KERNEL.
2006-08-27 20:32:44 +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
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
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
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
tsutsui
8cf78c8c6c
Use uint32_t rather than int for spifi registers.
2006-08-27 08:56:03 +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
52c2319234
Regen
2006-08-27 08:16:44 +00:00
christos
8270ea8a29
PR/34289: Stéphane Witzmann: Add some missing PCI devices in pcidevs
2006-08-27 08:16:16 +00:00
simonb
d4fec3837e
Add -Wa,-fatal-warnings to AFLAGS. We want assembler warnings to be
...
fatal as well as compiler warnings.
Vague nods of agreement from Christos and Gimpy.
2006-08-27 06:49:27 +00:00
tsutsui
35038ef574
Replace DELAY(9) macro with inline version which uses an asm statement
...
otherwise gcc4 will omit it completely on optimization.
XXX: some other mips ports have the same problem.
2006-08-27 06:33:28 +00:00
tsutsui
9a269899a0
Avoid unneeded sign extension.
2006-08-27 06:04:12 +00:00
christos
47966b67d0
This is why we should not copy buggy code... You get to fix bugs multiple
...
times: Wedges don't have partitions, so don't use MAKEDISKDEV
2006-08-27 05:37:40 +00:00
tsutsui
d26ffc68c4
Make badaddr_flag volatile to avoid unintended optimization by gcc4.
...
Now GENERIC compiled by gcc4 works on NWS-3470D.
XXX: Is this gcc4 optimization bug, or volitile is required in this case?
2006-08-27 05:25:47 +00:00
christos
ecdff16f80
- use dk_lookup instead of our home-spun version.
...
- allow raid to be configured in a wedge
- allow wedges to be configured in a raid
- add autoconfiguration of wedges in a raid
2006-08-27 05:07:12 +00:00
christos
b7a6606cb6
Add horrible hack for wedges. Why is the block device of the wedges in use?
2006-08-27 05:00:00 +00:00
christos
1a789da3ec
Use dk_lookup.
2006-08-27 04:58:40 +00:00
christos
9472fb0cb6
raid and ccd now use dk_lookup.
2006-08-27 04:58:06 +00:00
tsutsui
037c731759
Put .rodata.str1.4 and .rodata.cst4 sections by gcc4 into .rodata section.
...
Fixes malloc(9) failure at early boot on newsmips.
2006-08-27 04:48:44 +00:00
christos
bcecf5d797
Fix previous thinko.
2006-08-27 04:31:55 +00:00
christos
fddb23d3e2
Fix reversed test
2006-08-27 04:16:33 +00:00
christos
5bb209df43
Wedges don't have partitions.
2006-08-27 04:11:45 +00:00
bjh21
eb74489b57
When receiving a SCSI message, it's important not to deassert ACK on the last
...
byte until we've worked out what to do with the message, since if we plan
to reply to it we have to assert ATN before deasserting ACK. Implement this.
2006-08-26 23:55:22 +00:00
bjh21
286856d098
QAS REQUEST is a one-byte message. Make MSG_IS1BYTE recognise this.
2006-08-26 23:32:55 +00:00
bjh21
604c7b6558
Use standard MSG_IS1BYTE, MSG_IS2BYTE, and MSG_ISEXTENDED macros rather
...
than rolling our own.
2006-08-26 22:37:07 +00:00
bjh21
c981542cbe
Use the 'z' size modifier when printfing size_t, so that GCC doesn't complain
...
on systems were size_t isn't unsigned int.
2006-08-26 22:33:18 +00:00
bjh21
2cd3c4f0e6
Move the sgimips "sbic" driver from arch/sgimips/hpc/sbic.c to
...
dev/ic/wd33c93.c. This may not be the best WD33C93 driver we've
got, but it's the most recently worked on and probably the most
portable, so it seems like a good basis for further work (and in
particular an acorn26 driver for the Acorn SCSI card). There's
no functional change in this commit, and sgimips kernels still
compile.
2006-08-26 22:06:36 +00:00
christos
f9cd3d1167
more version lossage
2006-08-26 20:37:50 +00:00
christos
cb5c9c5f42
PR/34287: Gene ENonymous: ipf/ippool enabled kernel fails build.sh build due to
...
use of "version" variable name
2006-08-26 20:36:17 +00:00
christos
e0df1e4c51
PR/34283: Gene ENonymous: Add IPFILTER_LOOKUP to the default kernel options
...
Also remove CCITT,NS,NIP
2006-08-26 20:26:43 +00:00
christos
c762f34e0e
PR/34284: Gene ENonymous: when "ippool -F" is invoked, error is
...
"ioctl(SIOCLOOKUPFLUSH): Bad address"
2006-08-26 20:25:23 +00:00
matt
6d37d896d6
Increase SYMTAB_SPACE by 10000 to 210000. MIPS64 needs a slighter large
...
symbol table.
2006-08-26 20:20:38 +00:00
matt
9ffa81c4ee
Use PRIx64 instead of llx
2006-08-26 20:19:19 +00:00
matt
6ed3910f9e
Use vaddr_t for virtual addresses. Don't cast pointers with int or
...
unsigned, use intptr_t or uintptr_t as appropriate.
2006-08-26 20:18:36 +00:00
matt
140eda393d
Use vaddr_t for virtual addresses, not u_int32_t.
2006-08-26 20:15:28 +00:00
matt
921e6abd0a
Use PRIx64 instead of llx
2006-08-26 20:14:51 +00:00
matt
410709f386
If we are _LP64, we must be mips64, not mips32.
2006-08-26 20:13:02 +00:00
ad
55154c9edc
Add x86_sfence(), x86_mfence().
2006-08-26 20:08:07 +00:00
ad
66cc95bc3f
Don't grab the kernel lock for MPSAFE syscalls.
2006-08-26 20:05:25 +00:00
matt
93c0edefe2
Don't cast pointers using unsigned and/or int. Use intptr_t or uintptr_t
...
as appropriate.
2006-08-26 20:04:59 +00:00
matt
297706ddda
Nuke unneeded LP64 conditional section
2006-08-26 20:03:49 +00:00
matt
ef686bc4f3
Nuke netccitt.
2006-08-26 19:46:51 +00:00
matt
746233bae3
Nuke XNS kernel support.
2006-08-26 19:45:43 +00:00
christos
dace278549
PR/34292: Aaron Hodgen: twa driver incorrectly reports drive size/description
2006-08-26 19:35:51 +00:00
tsutsui
037b569f1b
No need #include <machine/param.h> since #include <sys/param.h> is enough.
2006-08-26 17:36:06 +00:00
tsutsui
065fd1a5c0
Fix pointer signedness warnings by gcc4.
2006-08-26 14:13:40 +00:00
tsutsui
0216ae4c51
Handle (.rodata.*) sections created by gcc4.
2006-08-26 14:12:26 +00:00
tsutsui
b5825ccf25
Change types from int8_t to char for arrays which store char names.
2006-08-26 14:04:55 +00:00
xtraeme
18199bb695
Be a little less agressive in declaring the change pending bit stuck,
...
increase the number of retries by two orders of magnitude wont affect
most systems but will make transitions smoother on marginal ones.
From gwk@openbsd.
2006-08-26 10:10:00 +00:00
tsutsui
6dffe5790d
options<space><tab>
2006-08-26 08:13:46 +00:00
tsutsui
dca3a6d117
Remove netns and netccitt options.
2006-08-26 08:08:30 +00:00
tsutsui
6fed756003
Regen from GENERIC.in:
...
1.54:
> Disable SYSTRACE by default on all kernels (discussed with core)
1.55:
> Remove obsolete #options VERIFIED_EXEC, found by grep(1).
2006-08-26 08:04:32 +00:00
tsutsui
6ff205ce76
Remove obsolete #options VERIFIED_EXEC, found by grep(1).
2006-08-26 07:59:21 +00:00
skrll
edb23da2a3
Pull across the stack trace stuff from OpenBSD.
2006-08-26 06:27:40 +00:00
skrll
f0379c9f4b
Pull across OpenBSD arch/hppa/hppa/machdep.c:1.77.
...
revision 1.77
date: 2002/09/09 18:33:42; author: mickey; state: Exp; lines: +4 -2
set up the frame flags and a user frame better on exec
2006-08-26 06:17:48 +00:00
skrll
e875774fce
G/C dma_cachectl.
2006-08-26 06:07:28 +00:00
skrll
5a545933ba
Correct assembler syntax to load the correct (left) bits of a constant.
...
Inspired by OpenBSD.
2006-08-26 06:00:07 +00:00
matt
9e051a8002
Add enough configury glue so that src/tools can build a N64 mips toolchain.
2006-08-25 23:35:04 +00:00
dyoung
9f2b43c4c3
In promiscuous mode, some WNICs stop filtering management frames
...
whose destination does not match our MAC address. Filter those
frames in ieee80211_recv_mgmt, to prevent spurious
deauthentication/disassociation.
2006-08-25 21:04:07 +00:00
riz
df667bafa9
In sk_watchdog(), attempt to reclaim pending TX descriptors before
...
resetting the hardware. Should fix occasional watchdog timeouts
seen with this driver.
From FreeBSD, via OpenBSD.
2006-08-25 20:16:57 +00:00
matt
2c65982795
Make sure any inclusion of <netccitt/*.h> is protected by opt_ccitt.h and
...
CCITT.
2006-08-25 19:46:04 +00:00
matt
6c8fa3224e
One step closer to loadable domains. Store pointers to a domain's soft
...
interrupt queues so if_detach can remove packets to removed interfaces from
them. This eliminates a lot of conditional ugly code in if.c
2006-08-25 19:33:50 +00:00
matt
5e87012f78
Add __NULL_STMT which is do { } while (/* CONSTCOND */ 0)
2006-08-25 19:07:44 +00:00
matt
1b21337267
Don't include <netccitt/x25.> and don't bother checking for SIOCSIFCONF_X25.
2006-08-25 18:29:17 +00:00
reinoud
5b2c16b797
Fix small though important errors in the Ecma-167 structure definitions.
2006-08-25 17:43:51 +00:00
matt
b0bf94791a
Don't descend into netns and netccitt
2006-08-25 17:40:21 +00:00
matt
6d292cb00b
Remove support for netns and netccitt. For now, don't include files.netns
...
and files.netccitt.
2006-08-25 17:32:27 +00:00
manu
753fce01f4
netbsd32_sys_ioctl was called with improper syscall argument structure, this
...
caused any X11 program to fail because FIONREAD ioctl always returned an
error.
2006-08-25 16:17:05 +00:00
manu
01f2e16aa8
Add support for socket ioctl.
2006-08-25 08:25:03 +00:00
skrll
4f9577ff1d
Fix a spello in a debug message.
2006-08-25 07:21:07 +00:00
skrll
544f900acb
Fix PR 33702.
...
Modernise the linker script and make sure we have a symbol after the
link_sets.
Make sure that pmap_bootstrap doesn't tell uvm that some of the kernel
phys pages are free. Previously uvm would very likely allocate the phys
pages used for the link_sets to a MALLOC and they'd get overwritten.
Thanks to David H. Gutteridge for testing various things.
2006-08-25 06:49:15 +00:00
skrll
f2ed48bd00
KNF a comment
2006-08-25 06:23:54 +00:00
riz
62cb42312d
Cleanup, with no functional changes:
...
- remove unused code
- KNF
- ANSI function declarations
- replace printf() with aprint_error() except in debug functions
- a few minor indentation/whitespace changes
2006-08-25 02:34:30 +00:00
riz
0284fe298f
Regen (Marvell product IDs)
2006-08-24 22:40:59 +00:00
riz
4a163d3c68
Add a bunch of Marvell product IDs, from OpenBSD.
2006-08-24 22:40:20 +00:00
dbj
f7434c5451
avoid diagnostic panic if both blk and chr wedge are open at the same time
2006-08-24 21:57:11 +00:00
dsl
5464d4dc61
Create a linker map file.
...
Very useful when trying to find out where recent 'bloat' has come from,
as well as giving exact details of what is actually in the kernel.
2006-08-24 21:23:40 +00:00
manu
432f035fa6
The return value for Linux shmat on amd64 does not suffer the same horrible
...
hack as on i386.
2006-08-24 16:36:59 +00:00
xtraeme
a4f2ed9867
Remove k7_powernow_destroy() prototype... it's now defined in
...
x86/include/powernow.h.
2006-08-24 16:28:22 +00:00
manu
db139eef22
Tweak i386 version of procfs_machdep to get Linux's /proc/cpuinfo working
2006-08-24 15:17:02 +00:00
cube
d4c4e962c9
Display XD for Intel processors (Execution Disable bit support).
2006-08-24 12:55:46 +00:00
christos
da9052a357
Don't free what we did not allocate.
2006-08-24 12:40:39 +00:00
kardel
bc2a798aea
Pass the correct (timer instead of stat counter) timer registers to timerattach().
...
History: This cleans up another long standing inconsistency where timerblurb for delay() was
calibrated against the stat timer instead the clock timer. Before timecounters
this didn't matter at al as both timer run with the same frequency and the
calibration was a frequency based calibration.
Misbehaving clock found by Fanch (at) kekpar dot net on current-users@ - Thanks.
Fix verified to work by Fanch.
2006-08-24 09:52:46 +00:00
skrll
9f892c7bca
Use PMAP_PRINTF(PDB_INIT, ...) instead of various #ifdefs and add some
...
more debug code.
2006-08-24 07:00:46 +00:00
skrll
afd79cc70e
KNF a comment.
2006-08-24 06:54:11 +00:00
skrll
cd2d8ca31f
Fix PMAPDEBUG compile by sorting the printf format problems.
2006-08-24 06:50:48 +00:00
jld
e782915872
Add %'s to go with PRI format constants.
2006-08-24 01:08:00 +00:00
xtraeme
9af57310fe
- Move k7_powernow_* prototypes from i386/include/cpu.h to
...
x86/include/powernow.h
- Protect k[78]_powernow_init() functions with #ifdef POWERNOW_K[78] to
make it build without these options.
This fixes the problem reported by hubertf.
2006-08-23 22:59:45 +00:00
bjh21
b223d41e99
gettime and settime functions are meant to return errno values. Make
...
the pcf8583 ones do so.
2006-08-23 21:21:34 +00:00
dogcow
51faed03f9
move #ifdef up a few lines to prevent unused variable warning/error
2006-08-23 21:17:48 +00:00
bjh21
a707189c87
Use VALID_R15_PSR() to check the context we're restoring in
...
linux_sys_sigreturn(). Somehow this got missed when I introduced that macro.
2006-08-23 21:16:58 +00:00
adrianp
3d8cbc06ba
A problem has been identified in the in-kernel PPP code shared by ISDN PPP
...
interfaces ippp(4) and pppoe(4). Insufficient checking of options presented
by the peer may cause writing of copies of the malicious input beyond the
end of a buffer allocated for that purpose.
Issue found by pavel@
Fix from martin@
This is SA2006-019 (CVE-2006-4304)
2006-08-23 20:02:23 +00:00
manu
81c909dd45
1) Complete Linux exit_group() emulation
...
Members of the thread group must die without reporting to the parent and
without going to zombie stage. We do that by reparenting to init before
catching a SIGKILL. The parent will not see the child death.
The thread group leader must report the exit status, even if it exits
because of another thread calling exit_group(). We do that by storing the
exit status in struct linux_emuldata_shared, and the exit hook has the
duty of setting struct proc's p_xstat for the thread group leader.
2) For exit/fork/exec hooks, move the NPTL specific code to separate functions
that are shared between COMPAT_LINUX and COMPAT_LINUX32
3) Fix LINUX_CLONE_PARENT_SETTID semantics
2006-08-23 19:49:09 +00:00
christos
f73c6e5980
Change iostat_alloc() to take the parent pointer and the name directly, so
...
that callers are not responsible for initializing the fields. Store the name
inside the struct instead of maintaining a pointer to external storage, or
leaked memory (nfs case).
2006-08-23 17:19:32 +00:00
christos
f0f1731b24
Acting as Elad's keyboard:
...
Place the securelevel checks in their logical locations.
This will be clearer in the future when code changes to use kauth(9) calls.
input and okay ad@
2006-08-23 15:44:29 +00:00
cube
7db2b0d746
Regen (Broadcom NetXtreme II).
2006-08-23 13:55:48 +00:00
cube
7de2074ec7
Add Broadcom NetXtreme II devices.
2006-08-23 13:54:37 +00:00
kent
dab6bf2001
implement auto-detection of volume resolutions
2006-08-23 11:24:07 +00:00