jandberg
448afe509a
add wscons support to amiga mouse
2003-09-22 18:17:30 +00:00
tsutsui
75ae5bc4d8
Count clock interrupts.
...
clock_intr() functions on sun3 are called directly without dispatchers.
XXX should use evcnt(9)?
2003-09-22 17:53:46 +00:00
matt
8012bf2926
Make COMPAT_xx imply all later COMPAT_yy. (COMPAT_09 implies all whereas
...
COMPAT_14 just implies COMPAT_1[56]). This means COMPAT_xy implies NetBSD
compatibility for NetBSD x.y OR LATER.
2003-09-22 17:26:14 +00:00
tsutsui
e1e026b917
KNF a bit.
2003-09-22 17:21:51 +00:00
tsutsui
da943b106a
Remove #ifdef _KERNEL inside #ifdef _KERNEL.
2003-09-22 17:11:46 +00:00
tsutsui
4c224a510b
- replace a magic number with macro
...
- some KNF
2003-09-22 16:54:14 +00:00
cl
95bf6d89d8
SA_SIGINFO support for m68k (compat svr4)
2003-09-22 14:47:35 +00:00
cl
11af0a3c8d
SA_SIGINFO support for m68k (emul linux)
2003-09-22 14:36:42 +00:00
cl
6821f967f5
SA_SIGINFO support for m68k (compat hpux)
2003-09-22 14:35:58 +00:00
cl
bf9728e0db
SA_SIGINFO support for m68k (compat sunos)
2003-09-22 14:34:57 +00:00
cl
9b18b6fa61
regen
2003-09-22 14:32:15 +00:00
cl
a580f34fa7
SA_SIGINFO support for m68k (compat aoutm68k)
2003-09-22 14:31:27 +00:00
cl
4169237230
SA_SIGINFO support for m68k (port specific changes)
2003-09-22 14:26:57 +00:00
cl
9289d63920
SA_SIGINFO support for m68k
2003-09-22 14:18:33 +00:00
cl
20dfd3bdde
regen
2003-09-22 14:12:29 +00:00
cl
a4186d3dd8
add COMPAT_15/COMPAT_16
2003-09-22 14:11:15 +00:00
christos
6edc0e184e
- pass signo to fownsignal [ok by jd]
...
- make urg signal handling use fownsignal
- remove out of band detection in sowakeup
2003-09-22 12:59:55 +00:00
itojun
cd71ebe2f7
mark security policy that should persist in the system "persistent".
...
this should prevent recently-reported kernel panic when "spdflush" is issued.
2003-09-22 04:47:43 +00:00
jdolecek
1fda9a87e7
kill unused variable in #ifdef ALTQ part, to make this compile
...
with ALTQ configured in
2003-09-22 03:29:34 +00:00
thorpej
2f8976d430
Add TWEIO_{ADD,DEL}_UNIT ioctls (used by 3ware management tools). From
...
FreeBSD.
2003-09-22 01:44:57 +00:00
thorpej
b2b05806b3
Add a few additional control bits and opcodes. From FreeBSD.
2003-09-22 01:28:25 +00:00
thorpej
0448a55234
Improve AEN handling:
...
- Make AENs use the generic code table stuff.
- Add a few more AEN codes (from FreeBSD).
- Correct the context of a few AEN codes (some were listed as
"unit context" when they're really "port context").
- Add a queue of AENs that management tools in userspace can poll
(from FreeBSD).
2003-09-22 01:13:02 +00:00
lha
5b649f6771
Implement nanouptime as a function to avoid 'dereferencing type-punned pointer'.
...
No token after #endif
2003-09-21 20:56:01 +00:00
thorpej
4431e5d2ea
Fetch info about the drives during attach, and inject that info
...
into the msgbuf using aprint_verbose().
2003-09-21 19:46:44 +00:00
matt
1df05a73fe
Fix GCC 3.3.1 nits.
2003-09-21 19:33:13 +00:00
thorpej
a721d80bc9
Report the status of the logical drive (normal, degraded, etc.) at
...
attach time.
2003-09-21 19:33:10 +00:00
matt
6bf111a80e
Fix GCC 3.3.1 nits.
2003-09-21 19:32:37 +00:00
jdolecek
bc83b2f421
make compile after last change (!)
2003-09-21 19:29:10 +00:00
thorpej
21809f0c30
Expose the "param get" functions.
2003-09-21 19:27:27 +00:00
thorpej
291d256789
- Record more information about the array unit, including array
...
type and stripe depth.
- Report array type and stripe depth when attaching the logical drive.
2003-09-21 19:20:18 +00:00
jdolecek
7cea8a1389
cleanup & uniform descriptor owner handling:
...
* introduce fsetown(), fgetown(), fownsignal() - this sets/retrieves/signals
the owner of descriptor, according to appropriate sematics
of TIOCSPGRP/FIOSETOWN/SIOCSPGRP/TIOCGPGRP/FIOGETOWN/SIOCGPGRP ioctl; use
these routines instead of custom code where appropriate
* make every place handling TIOCSPGRP/TIOCGPGRP handle also FIOSETOWN/FIOGETOWN
properly, and remove the translation of FIO[SG]OWN to TIOC[SG]PGRP
in sys_ioctl() & sys_fcntl()
* also remove the socket-specific hack in sys_ioctl()/sys_fcntl() and
pass the ioctls down to soo_ioctl() as any other ioctl
change discussed on tech-kern@
2003-09-21 19:16:48 +00:00
thorpej
4cf2e784e2
Add some helper routines to fetch 1, 2, and 4 byte parameter values.
...
Modeled after code in FreeBSD.
2003-09-21 19:01:05 +00:00
manu
9a42b7a993
Do much more sanity checks when handling entries in the sc_scr array
...
of struct wsdisplay_softc. Unused entries are NULL, and there were
a lot of places where we did not checked that the caller did not
requested an operation on a NULL entry.
While we are there, one bit of KNFification, and make return code more
consistent by always returning the same code (EINVAL) when a screen
number higer than the maximum is requested.
2003-09-21 18:47:59 +00:00
manu
b01f5cf127
Extra sanity checks: all char devices won't have an associated tty.
2003-09-21 18:40:38 +00:00
thorpej
6c5904f215
Add some additional code -> description tables, and add a generic
...
routine to translate code -> description. AENs will be converted
to this mechanism in a future commit.
Partially from FreeBSD.
2003-09-21 18:35:31 +00:00
christos
9b18cdecf8
Now that we have siginfo, use it, instead of pretending to have one.
2003-09-21 17:42:23 +00:00
matt
a57c218722
Need to remove .comment too.
2003-09-21 15:21:03 +00:00
skd
e7e68c0c6d
Backed out single step emulation.
...
Approved by thorpej@netbsd.org .
2003-09-21 15:14:51 +00:00
matt
b9d20d131e
Fix GCC 3.3.1 nits
2003-09-21 15:12:16 +00:00
matt
c280e763ef
Adapt to new wdcattach calling conventions.
2003-09-21 15:11:04 +00:00
matt
749adf24a9
Fix GCC 3.3.1 nits.
2003-09-21 15:10:05 +00:00
cl
cebad0b338
make compile
2003-09-21 14:41:33 +00:00
nisimura
1e9ce6571c
Regen.
2003-09-21 14:27:40 +00:00
nisimura
cfb11c4317
Redo, again.
2003-09-21 14:23:21 +00:00
matt
f9188e9265
Fix some GCC3.3.1 nits (-ffreestanding, #include <lib/libkern/libkern.h>)
2003-09-21 14:17:13 +00:00
nisimura
7fef26674d
Redo the previous fix.
2003-09-21 14:12:09 +00:00
enami
a7c2135a0c
Correctly resurrect the style in previous. While I'm here, also removed
...
whitespace at the end of line in comment.
2003-09-21 11:56:40 +00:00
bouyer
0ca58f3790
Ops, remove a line that escaped out of my local tree.
2003-09-21 11:30:43 +00:00
bouyer
9f91a8476e
The return value from pciide_mapregs_* are ignored; make them return void.
...
Re-add support for HPT366 in compat mode.
2003-09-21 11:20:37 +00:00
bouyer
c6beeca692
Since we can't detect ghost drives in the wdc back-end, resurect
...
WDC_CAPABILITY_SINGLE_DRIVE.
2003-09-21 11:14:00 +00:00
nisimura
e17ee1fa3b
Regen to fix the company name.
2003-09-21 07:59:04 +00:00
nisimura
54daa064f1
Fix the company name. It seems these days the company calls itself
...
"STMicroelectronics" anyway.
2003-09-21 07:45:13 +00:00
matt
533ad6c08b
Fix more GCC 3.3.1 nits.
2003-09-21 06:52:42 +00:00
matt
cd3cb3dc0f
GCC 3.3.1 fixes (-ffreestanding, #include <lib/libkern/libkern.h>)
2003-09-21 06:28:37 +00:00
matt
2d54fd3a9c
Change some type-punning detected by gcc 3.3.1 to (void *).
2003-09-21 00:26:09 +00:00
matt
99c08a490f
For GCC 3.3.1, need to remove .comment too.
2003-09-21 00:19:31 +00:00
cl
65a1bc95c2
add MD part of SA/pthread pagefault handling on pc532
2003-09-20 23:44:07 +00:00
cl
6725716f10
add MD part of SA/pthread pagefault handling on mips
2003-09-20 22:50:52 +00:00
enami
893414b366
Make sure the message from pciide_chipen() starts at the beginning of line.
2003-09-20 22:46:02 +00:00
matt
200ff49b87
Use #ifdef _KERNEL_OPT around #include "opt_XXX.h"
2003-09-20 22:28:19 +00:00
matt
70060b7c61
Add multiple inclusion protection.
2003-09-20 22:26:16 +00:00
matt
e104d5f8a7
Install <hppa/mcontext.h>
2003-09-20 22:25:40 +00:00
matt
467632cd2a
Install <machine/mcontext.h>
2003-09-20 22:25:07 +00:00
bouyer
d9ce986b70
Remove the "Register ghost test". It won't work, because on ATA register
...
of both devices are written, and device 0 will respond for device 1 if
device 1 isn't present. Pointed out by Quentin Garnier.
So the only way to know if device 1 is there or not is to send a command, which
is done later.
Detecting the second device here isn't important and won't speed up the probe.
We just need to know if there is at last one device on the bus.
Fix PR kern/22869 from Julio M. Merino Vidal.
2003-09-20 21:42:47 +00:00
jdolecek
d07d321142
if mounted ASYNC, use delayed writes for metadata, which improves performance
...
of these operations significantly
based on FreeBSD ufs_lookup.c rev. 1.8, by John Dyson
2003-09-20 21:05:53 +00:00
yamt
17f9466183
some comments
2003-09-20 17:51:55 +00:00
cl
b15cfcd9be
correctly define _W_INT ifdef _KERNEL
...
- kernels where sizeof(u_short) != sizeof(int) were broken otherwise
2003-09-20 14:59:56 +00:00
igy
74003aa23a
reading MAC address from EEPROM
2003-09-20 10:11:27 +00:00
jdolecek
ea7271519d
regen - addition of KYE G-07 joystick entry
...
contributed in kern/22837 by Sergey Svishchev
2003-09-20 09:17:36 +00:00
jdolecek
63eb0e1ad8
add entry for KYE G-07 joystick
...
contributed in PR kern/22837 by Sergey Svishchev
2003-09-20 09:16:44 +00:00
christos
5508d7c9b8
print the name of the driver that found the ghost
2003-09-20 07:07:39 +00:00
lukem
9c437ec754
Change LNFILES' to
BUILDSYMLINKS', to more accurately describe its purpose.
...
Per discussion with Simon Gerraty.
2003-09-20 06:20:41 +00:00
itojun
7fda10aea9
separate netkey/key* and netipsec/key*
2003-09-20 05:14:41 +00:00
itojun
17dc15d92a
unifdef -UFAST_IPSEC
2003-09-20 05:12:45 +00:00
thorpej
c7a178e4a9
Add a "show sched_qs" command to dump the run queues. Format is:
...
1 pid.lid (p_comm)
pid.lid (p_comm)
...
If a queue has procs, but no sched_whichqs bit, it shows:
!1 pid.lid (p_comm)
2003-09-20 03:02:03 +00:00
enami
3144acc341
Now wdcattach() is called interrupts enabled, config_interrupts() tries to
...
call ata_raid_check_component() immediately, and panics since DMA setup
isn't done yet. So, defer the call until attach stage is almost done.
Tested with Promise TX2000.
2003-09-20 02:19:36 +00:00
dyoung
28fe486c9f
Allow channels 1-14 in MMK2, for real. Fixes PR 22530 from
...
FUKAUMI Naoki.
2003-09-20 01:03:30 +00:00
christos
8cf3af3092
- support for siginfo_t in ktrace
...
- make sure allocation for ksiginfo_t worked
2003-09-19 22:51:31 +00:00
christos
070899d51e
support for siginfo_t in ktrace
2003-09-19 22:50:02 +00:00
mycroft
d40837608f
1) Use config_interrupts() to attach IDE and ATAPI drives. This eliminates
...
most polling.
2) Clean up some goofiness in pciide -- get rid of the whole "candisable" path
(it's gratuitous) and simplify the code by calling pciide_map_compat_intr(),
*_set_modes() and wdc_print_modes() from central locations.
3) Add a register writability and register ghost test to eliminate phantom
drives more quickly.
2003-09-19 21:35:56 +00:00
martin
1390611ace
Remove workarounds for bugs in the old compiler.
2003-09-19 16:35:31 +00:00
martin
29469edb22
Use -Os (now that it works) for install media.
2003-09-19 16:34:24 +00:00
fvdl
8f8298758f
LONG_BIT should be 64. From Nicolas Joly.
2003-09-19 12:09:51 +00:00
agc
81976735fd
If we're going to reference SA variables in this file, might as well
...
include the header file to define them. From Steve Woodford.
2003-09-19 11:42:20 +00:00
jonathan
5923dedaeb
Fast-ipsec can call ip_output() with a null 'struct socket *so'
...
argument. So check so is non-NULL before doing the pointer-chasing
dance to find the PCB. (Unless and until we rework fast-ipsec and
KAME, to pass a struct in_pcbhdr * instead of the struct socket *).
2003-09-19 00:27:56 +00:00
cl
b826d7b216
add MD part of SA/pthread pagefault handling on powerpc
2003-09-19 00:16:34 +00:00
cl
4fb604b287
add MD part of SA/pthread pagefault handling on sh5
2003-09-18 22:40:04 +00:00
cl
0882aaed34
add MD part of SA/pthread pagefault handling on vax
2003-09-18 22:38:36 +00:00
cl
2c1366cfee
add MD part of SA/pthread pagefault handling on arm
2003-09-18 22:37:38 +00:00
cl
c32b8e7a57
add MD part of SA/pthread pagefault handling on alpha
2003-09-18 22:36:32 +00:00
skd
3736d609a5
Fix for ioapic irq routing. This fixes kern/22728.
...
Approved by fvdl.
2003-09-18 19:31:19 +00:00
ragge
3fc53f17c5
Remove ; after setrunqueue/remrunqueue macro.
2003-09-18 18:38:48 +00:00
lonewolf
b06ea56eff
Fix mistake in previous.
2003-09-18 15:01:33 +00:00
lonewolf
ae33e68d84
Correct offsets for HPC_PBUS_CHx_{BP,DP} and add HPC_PBUS_DMACTL_* definitions.
2003-09-18 15:00:26 +00:00
pooka
ec398e6f4d
regen
2003-09-18 14:50:07 +00:00
pooka
3e2a629fec
Add a good enuf emulation of the MAP_STACK flag to the mmap()
...
syscall. This allows programs which use MAP_STACK to work instead
of failing in weird and wonderous ways.
2003-09-18 14:44:09 +00:00
drochner
da03a1c8cf
Fix a reversed logic in swap deallocation which could lead to
...
uvm_swap_free() being called with a zero slot; this might have been
the reason for crashes with sysvshm and heavy swapping.
(PR kern/22752 by Tom Spindler)
Confirmed by Chuck Silvers.
2003-09-18 13:48:05 +00:00
mycroft
e80260e91f
Whoops, make sure 6-byte commands work again.
2003-09-18 06:55:53 +00:00
skd
f5c4ea935a
Added kernel support for single stepping, adapted from FreeBSD.
...
Approved by christos.
2003-09-18 05:26:41 +00:00
mycroft
f96fe2cc8a
Don't print junk if an INQUIRY fails (usually with an ILLEGAL REQUEST due to
...
an unused LUN). Also, if the qualifier says the LUN is non-existant, don't
try to attach a device here.
2003-09-18 05:06:53 +00:00