pk
007c037980
* pmap_destroy(): reset the region gap
...
* pmap_quiet_check(): add check for pmeg leaks on sun4/4c (this is DEBUG only).
2002-11-26 15:09:56 +00:00
pk
0fad562c7c
The presence of the `timer at obio' attachment is independent of the
...
various CPU support settings.
2002-11-26 14:43:39 +00:00
pk
ec667a0f51
Add `machdep.cpu_arch' sysctl to determine the CPU architecture version.
...
Currrently, cpu types `sun4' and `sun4c' produce version 7, all others
version 8.
2002-11-26 14:36:10 +00:00
martin
070e18f3f3
Assign a major number for "lpt* at ebus?".
2002-11-24 20:58:06 +00:00
wiz
e78e668887
Fix typo (responsiness -> responsiveness).
2002-11-22 12:20:58 +00:00
manu
d584ed9598
Add a realcode argument to trace_enter and ktrsyscall. realcode is the
...
original system call number, which can be negative for a Mach trap.
We cannot just replace code by realcode, because ktrsyscall uses it as
an index in the system call table, thus crashing the kernel when the
value is negative.
2002-11-15 20:06:00 +00:00
uwe
7e95293c56
Use BOOT_FLAG() macro to process flags.
2002-11-09 01:35:54 +00:00
uwe
7a7c188182
Oh, COPTS in config overrides optimizations again.
2002-11-08 22:51:53 +00:00
mrg
603098b9b5
implement separate read/write disk statistics:
...
- disk_unbusy() gets a new parameter to tell the IO direction.
- struct disk_sysctl gets 4 new members for read/write bytes/transfers.
when processing hw.diskstats, add the read&write bytes/transfers for
the old combined stats to attempt to keep backwards compatibility.
unfortunately, due to multiple bugs, this will cause new kernels and old
vmstat/iostat/systat programs to fail. however, the next time this is
change it will not fail again.
this is just the kernel portion.
2002-11-01 11:31:50 +00:00
petrov
71614764a4
Compile with an ISO C preprocessor.
2002-10-30 01:46:09 +00:00
chs
f921b6a46c
make this compile with DEBUG (name changes missed in rev. 1.172).
2002-10-27 18:39:17 +00:00
jdolecek
c82ab2eb79
now that mem_no is emitted by config(8), there is no reason to keep
...
copy of more or less identical iskmemdev() for every arch; move the function
to spec_vnop.c, and g/c machine-dependant copies
2002-10-26 13:50:17 +00:00
jdolecek
e0cc03a09b
merge kqueue branch into -current
...
kqueue provides a stateful and efficient event notification framework
currently supported events include socket, file, directory, fifo,
pipe, tty and device changes, and monitoring of processes and signals
kqueue is supported by all writable filesystems in NetBSD tree
(with exception of Coda) and all device drivers supporting poll(2)
based on work done by Jonathan Lemon for FreeBSD
initial NetBSD port done by Luke Mewburn and Jason Thorpe
2002-10-23 09:10:23 +00:00
uwe
af2a75546d
Clean-up kbd driver layers a bit more. Lift common code into the upper layer.
...
Add some wskbd TODO remarks (hi, martin).
2002-10-21 15:36:35 +00:00
uwe
35ec23469c
Correct zstty interface attribute (cf files.sparc64 1.69).
...
Comment out unused kbd_tty and ms_tty attachments.
2002-10-21 15:25:42 +00:00
martin
f19a67c55f
Allow hyphen in kernel names. Bump version.
...
Should fix PR 13429 and PR 18691.
2002-10-20 20:55:38 +00:00
junyoung
e4b7588c28
Add NEW_BUFQ_STRATEGY (disabled by default).
2002-10-18 15:11:08 +00:00
martin
9b3cdc3ab5
Make 32bit sparc64 kernels with DEBUG and DIAGNOSTIC compile.
2002-10-16 11:05:10 +00:00
jdc
86fda61426
Uncomment audioamd0 at obio0.
2002-10-15 13:53:01 +00:00
jdc
d1f466e658
Add audioamd at obio attachment. Now we have working audio on 4/600's :
...
audioamd0 at obio0 slot 0 offset 0x500000 level 13 softpri 4
audio0 at audioamd0: full duplex
2002-10-15 13:49:52 +00:00
elric
5ab71e20b0
Added commented out cgd(4)s to GENERIC configs.
2002-10-14 18:39:22 +00:00
takemura
900b200c92
Moved MI APM definitions into dev/apm.
2002-10-14 02:08:37 +00:00
jdc
050645f10a
Check only the physical address of serial ports on a Sun 4.
...
Reviewed by Uwe.
2002-10-09 08:56:25 +00:00
uwe
a931c80c22
G/c unnecessary includes.
2002-10-08 18:00:46 +00:00
martin
44a2c6cb31
All sparc64 CPUs do __HAVE_CPU_COUNTER (aka %tick).
2002-10-07 13:26:56 +00:00
provos
2f7a0aaac8
add SYSTRACE; approved perry.
2002-10-06 02:11:54 +00:00
elric
d19d268a95
assign majors for raw and cooked cgd's.
2002-10-04 18:28:24 +00:00
uwe
fbcf88f171
Add wscons. Misc catch-up with GENERIC.
2002-10-03 17:45:20 +00:00
uwe
fa76f154c6
Add majors for wscons devices.
...
And, no! This does not mean that sparc switches to wscons.
Only Krups has experimental wscons support so far.
2002-10-03 17:06:18 +00:00
uwe
7235b5d479
First cut at PS/2 keyboard and mouse drivers that talk Sun firm events.
...
Console and Xsun for Mr.Coffee.
2002-10-03 16:27:04 +00:00
uwe
fb2195ae8f
Search children of the "8042" node to check if keyboard is the stdin.
2002-10-03 16:22:46 +00:00
uwe
191626f788
Refactor kbd and mouse drivers so that they can use different middle
...
layers. Common middle layer shared by kbd_zs and sunkbd is moved into
the new file. Move shared config directives to files.sun and adjust
ports' files.* accordingly.
Need this to support console/Xsun on Mr.Coffee JavaStation.
Tested on sparc, sparc64 (by martin) and sun3 (by jdc).
2002-10-03 16:13:24 +00:00
thorpej
4bf871a755
Add trailing ; to CFATTACH_DECL.
2002-10-02 16:02:08 +00:00
thorpej
c1077f220d
Use CFATTACH_DECL().
2002-10-01 18:57:48 +00:00
wiz
b1c7ac0e6d
"definitions" has lots of 'i's, but that's not reason to leave one out.
2002-09-29 23:23:56 +00:00
thorpej
f818766afe
Declare all cfattach structures const.
2002-09-27 20:31:45 +00:00
provos
0f09ed48a5
remove trailing \n in panic(). approved perry.
2002-09-27 15:35:29 +00:00
thorpej
6c88de3b53
Introduce a new routine, config_match(), which invokes the
...
cfattach->ca_match function in behalf of the caller. Use it
rather than invoking cfattach->ca_match directly.
2002-09-27 03:17:40 +00:00
thorpej
d1ad2ac4f2
Rather than referencing the cfdriver directly in the cfdata entries,
...
instead use a string naming the driver. The cfdriver is then looked
up in a list which is built at run-time.
2002-09-27 02:24:06 +00:00
thorpej
274c086b22
Remove <sys/map.h>
2002-09-26 18:54:30 +00:00
thorpej
71404bb533
Don't include <sys/map.h>.
2002-09-25 22:21:01 +00:00
martti
81e8d78cd4
Add one space between "#option" and "<tab>IPFILTER_DEFAULT_BLOCK"
2002-09-25 11:49:48 +00:00
thorpej
787cbc6921
Fix some const warnings.
2002-09-24 18:14:35 +00:00
simonb
63096043b3
Use "#define\t" instead of "#define ".
2002-09-22 08:30:56 +00:00
chs
c081614ea2
it really helps to get the stub right before cutting + pasting it 27 times.
...
alas, I did not. doh.
2002-09-22 07:53:39 +00:00
chs
55e1f79335
add pmap_remove_all() hook (empty on most platforms so far).
2002-09-22 07:17:08 +00:00
gmcgarry
dca80f08fd
Add __HAVE_MD_RUNQUEUE flag for MD code to override MI run queue primitives.
2002-09-22 04:11:32 +00:00
martti
3b553bac54
Added (commented out) IPFILTER_DEFAULT_BLOCK.
2002-09-20 10:39:48 +00:00
ragge
b3abfee038
Do not include <sys/clist.h>, it's not used in NetBSD at all.
2002-09-19 10:37:59 +00:00
lukem
3ea2e21f82
enable USERCONF by default; it's small and extremely useful to have available.
2002-09-18 02:43:53 +00:00