enami
bdd9be2dc3
Don't print newline here since it is supposed that more message is printed.
2000-08-04 04:52:37 +00:00
hubertf
54c5777f78
sync with GENERIC rev. 1.72
2000-08-04 02:23:22 +00:00
hubertf
97ec6e11d8
Explain what the strip pseudo-device is for
2000-08-04 02:17:46 +00:00
soda
9baf1fff99
NEC RISCserver 2200 support by bob meader <bob@cci.net>.
...
Now NetBSD works with RISCserver 2200.
2000-08-03 23:58:23 +00:00
nathanw
b3e0af3d32
Fix a problem uncovered by rev 1.5 of pcibios.c:
...
Avoid interpreting the upper 32 bits of 64-bit BARs as a 32-bit BAR.
Otherwise, the code would assume that the value 0 was incorrect and either:
(a) [on bus 0] "fix up" the address to some nonzero value, thus placing
the decoded address range outside of 32-bit address space, or
(b) [elsewhere] completely disable the device.
The fact that this behaviour depends on the bus number of the device is
already XXX'd.
XXX: This will need revisiting if and when we ever want to handle a PCI bus
XXX: with more than 32 bits of address space on an i386.
The onboard Adaptec 7890 on my Dell Precision Workstation 410 works again.
2000-08-03 20:10:45 +00:00
eeh
dd5c54d05c
Add fpu emulation instrumentation and fixup FCMP and FCMPE emulation for v9.
...
And rename the 128-bit `x' routines to `q' to match v9 terminology:
i - 32-bit int
x - 64-bit int
s - 32-bit fp
d - 64-bit fp
q - 128-bit fp
2000-08-03 18:32:07 +00:00
msaitoh
ac06675f56
add COMPAT_14
2000-08-03 11:30:30 +00:00
msaitoh
9b50348e47
set internal register correctly (SH4)
2000-08-03 08:19:26 +00:00
nathanw
e8b50cf289
Use the same idiom for iterating over allproc as everywhere else in the kernel.
2000-08-02 22:47:44 +00:00
eeh
7abe1d5edf
Garbage collection.
2000-08-02 22:26:35 +00:00
eeh
345d748512
PDB_BOOT and PDB_BOOT1 should not be the same value.
2000-08-02 22:25:45 +00:00
eeh
7ec33e899f
Get kernel profiling to work. Now if only gprof worked....
2000-08-02 22:24:38 +00:00
wiz
81b49011ff
uvm_inherit.h was removed, and doesn't seem to be needed here.
2000-08-02 15:24:40 +00:00
ragge
cf62d07e82
Fix bug that trashed the SPT if any copy* function were used before
...
the first swtch().
2000-08-02 12:13:22 +00:00
msaitoh
e049977033
check _BYTE_ORDER instead of BYTE_ORDER
2000-08-02 11:32:41 +00:00
tsubai
2c691df1ec
uvm/uvm_inherit.h was removed.
2000-08-02 09:06:56 +00:00
tsubai
eef346a5ec
Don't try to change subordinate bus number if pchb != grackle (for now).
2000-08-02 09:02:46 +00:00
soda
d6945520db
Use cpu_intr() definition from mips/cpu.h instead of local one
...
like other mips ports.
2000-08-02 08:57:15 +00:00
jeffs
8d300a3b14
setregs() cache sync turns out not to be needed with kern_exec 1.104
...
(which was 2 weeks after our internal trees full sync).
2000-08-02 06:46:47 +00:00
soda
0cbe0d600f
fix oversight introduced in previous my commmitment (revision 1.4),
...
pointed out by Michael Shalayeff <mickey@openbsd.org>.
2000-08-02 02:54:41 +00:00
eeh
dfe3516515
Include NONPLUS and just set the extras we need for 64-bit kernels.
2000-08-02 02:23:58 +00:00
jeffs
e1cf55c8a8
Make mips3_FlushICache() convert a0 into a KSEG0 + virtual index like
...
the _2way and mips3_FlushDCache(). This lets all mips3 cache ops accept
user virtual addresss w/o a tlb miss. Since this is now done in both
ICache flush routines, no need to do it in pmap.c. Fixed R4400
stability problems with setregs() cache flushing.
2000-08-01 23:38:26 +00:00
jeffs
e6bdec31fd
Fix vmapbuf() to call uvm_km_valloc_perfer_wait() call, but trunc_page()
...
to the prefer arg so we free the correct page.
2000-08-01 22:45:05 +00:00
eeh
a8cd48f9e6
`mem' is now a pointer, not an array. Fixes kernel coredumps.
2000-08-01 16:49:47 +00:00
briggs
8d6c85d001
Remove hack for unswapped read/write_multi in swapped space.
...
Driver now uses read/write_multi_stream_2.
2000-08-01 13:08:39 +00:00
tsubai
43b5c0039c
Enable rnd.
2000-08-01 08:23:37 +00:00
augustss
37ae63598b
Add midi at clcs.
2000-08-01 08:16:54 +00:00
uch
ae581ace81
reserve AGP space to avoid resource conflict.
2000-08-01 05:23:59 +00:00
eeh
57d2ec0b98
Overhaul cache flush code and coredump code.
2000-08-01 00:40:15 +00:00
eeh
568dca001c
Cleanup trapstate handling and garbage collect old stuff.
2000-08-01 00:36:05 +00:00
eeh
e5a87444c7
Cleanup trapframe and TSTATE handling.
2000-08-01 00:34:13 +00:00
eeh
6f9bfddd60
Add UVM_PAGEIDLE_ZERO.
2000-08-01 00:31:15 +00:00
eeh
cacbbd1117
Garbage collection.
2000-08-01 00:28:55 +00:00
eeh
d09c8ea0f1
Revamp cache flush routines.
2000-08-01 00:28:02 +00:00
eeh
07fc19421d
Pull in <machine/frame.h> to define BIAS and CC64FSZ.
2000-08-01 00:25:02 +00:00
eeh
aeb88321db
Call the parent bus dvmamap_unload function to clear the cache rather
...
than do it ourselves.
2000-08-01 00:22:41 +00:00
minoura
3094e3b89d
include <sys/types.h> to define u_int.
2000-07-31 23:40:02 +00:00
briggs
3f1e17a340
Define bus_space_*_stream_N functions as their non-stream counterparts.
2000-07-31 22:43:46 +00:00
briggs
3ce3697584
Add bus_space_*_stream_N functions.
2000-07-31 22:40:25 +00:00
briggs
bd823b939e
Fix code to read a string from the nubus board--it was not terminating
...
the string properly when the string on the board is longer than the
pre-allocated space.
2000-07-31 22:39:17 +00:00
eeh
ede765839e
Look for fpu files in the sparc subdirectory where they now reside.
2000-07-31 22:17:05 +00:00
msaitoh
9c331f1f89
use 'makeoptions LDSCRIPTBASE="sh.x"' (or shl.x) to select ldscript file
2000-07-31 20:57:45 +00:00
briggs
2cc07c0541
Add a DIAGNOSTIC panic if (count-using) bus_space macros are called with
...
a count of zero. Some drivers do this accidentally and some bus_space
implementations will fail if count is passed as zero (they are set up in
a do-{}-while structure).
2000-07-31 14:59:15 +00:00
mrg
978acd5367
sync with GENERIC32; enable rnd
2000-07-31 13:21:45 +00:00
mrg
ec14782383
hardcode onboard "hme" to "hme0"
2000-07-31 13:16:24 +00:00
mrg
b5ce82b4a0
define BDPRINTF in the !DEBUG case to nothing. PR#10688.
2000-07-31 05:40:22 +00:00
briggs
3717acff97
We may wish to install from an SMC-based ethernet, too.
2000-07-31 02:06:48 +00:00
briggs
f5882c7ffa
Make sure that bus_space read/write functions that take a count will not be
...
called if count is zero. The smc91cxx driver, for example, may try to call
bus_space_write_multi_2() with a count of 0.
2000-07-30 23:17:23 +00:00
briggs
2f76646af1
Some uncommitted poking around. No functional change.
2000-07-30 21:48:54 +00:00
briggs
1e909ae3ca
Add SMC-based ethernet and nsphy (AsanteFAST) and ukphy (just in case).
2000-07-30 21:46:39 +00:00
briggs
e74ae8ee59
M.d. glue for nubus SMC 91cxx-based cards--including Focus Interlan and
...
AsanteFAST.
2000-07-30 21:43:40 +00:00
briggs
fb9995989b
Make bus_space_write_region_2 usage match prototype.
2000-07-30 21:41:59 +00:00
briggs
d13747524c
Fixup for bogus assumptions about bus_space_handle_t.
2000-07-30 21:40:49 +00:00
briggs
c131e0d1b7
Remove unsupported Focus hardware--this is now probed in if_sm_nubus.
2000-07-30 21:40:09 +00:00
briggs
2bb296de77
Update hack to point to bus_space_handle base address.
2000-07-30 21:39:16 +00:00
briggs
9c85d4dc6a
Add byte-swap and stride options to bus_space. Allocate as normal, then
...
call mac68k_bus_space_handle_swapped() or mac68k_bus_space_handle_set_stride().
Stride is untested. Swapped code works for SMC ethernet.
2000-07-30 21:38:02 +00:00
briggs
a3f6fd2274
Add nubus attachment for smc91cxx driver.
2000-07-30 21:36:04 +00:00
bjh21
77a537a1ba
Use M_SOFTINTR for soft interrupt sructures
2000-07-30 16:39:18 +00:00
takemura
537da4726d
Refresh screen when the system resume.
2000-07-30 11:16:54 +00:00
tsubai
5f1e746912
Remove duplicated entry 22 in chrtoblk table.
...
Pointed out by Greg Kritsch on port-macppc mailing list.
2000-07-30 07:17:27 +00:00
simonb
1483e8c25e
Fix "suggest parentheses around assignment ..." warning in normally
...
unused code segment.
2000-07-30 06:11:38 +00:00
takemura
b5e3ec56a8
Remove src/sys/dev/apm/*. (They've gone to arch/hpcmips/dev/apm.)
2000-07-30 04:41:15 +00:00
takemura
bb1a798cbe
Move from sys/dev/apm. And rename apm -> apmdev.
2000-07-30 04:29:22 +00:00
thorpej
d760e0b407
Add code to read the EISA configuration NVRAM as set up by
...
an EISA Configuration Utility. Code to access this data
is forthcoming.
XXX This could probably be made MI at some point.
2000-07-29 23:18:46 +00:00
jdolecek
e25636b5da
g/c RB_DFLTROOT
...
I've tried hard to find also various usage() messages and remove the
appropriate flag from there as well, hopefully all occurences are covered.
2000-07-29 20:06:27 +00:00
tsubai
25e447156e
Fix printf format string. (recently SECDAY changed from unsigned long to int)
2000-07-29 11:11:53 +00:00
tsubai
f23a2f015d
Set hostid.
2000-07-29 08:21:43 +00:00
scw
44c9e5e16e
Really make this work for `dependall'. Also strip bootst.bug before
...
running it through wrtvid.
2000-07-28 20:08:20 +00:00
eeh
fe3f6176b4
Make 64-bit stack traces look prettier.
2000-07-28 19:10:33 +00:00
eeh
652a74ef51
Don't dump if there's no address space reserved for it.
2000-07-28 19:08:25 +00:00
tv
0505a9e28a
Eliminate the other %:, using vsnprintf followed by printf.
2000-07-28 15:40:24 +00:00
minoura
85ae8ebac7
Prototype netintr().
2000-07-28 14:58:01 +00:00
tv
ce9fd05593
Avoid a nonstandard %: format: printf("%:", fmt, ap) -> vprintf(fmt, ap)
2000-07-28 14:46:37 +00:00
bjh21
4d52022987
Comment tidying
2000-07-28 09:54:56 +00:00
bjh21
61edac627c
Convert the arm26 rtc driver to use pk's new todr(9) interface internally.
...
Nothing outside the driver will notice until we get proper MI I^2C.
2000-07-27 23:51:43 +00:00
scw
379de37900
Make these work for the `dependall' target.
2000-07-27 21:06:53 +00:00
mason
4a353b5330
Moving to a default of 64 PTYs.
2000-07-27 17:53:35 +00:00
cgd
b63ed164a1
convert PRID handling to use macros on an int, not bit-fields.
...
there's no reason to use bit-fields, and they just complexity to
the header.
2000-07-27 17:29:05 +00:00
scw
0d5db1f645
Bump DFLDSIZ to 32MB since 16MB is no longer enough for some
...
parts of `make build'.
2000-07-27 14:48:58 +00:00
mrg
256fc99a68
include the 32-bit kernel, not myself
2000-07-27 14:39:50 +00:00
mrg
8b5a1a1dea
do the 32 bit / 64 bit name swap, as per GENERIC.
2000-07-27 14:38:45 +00:00
mrg
cc41b6af8f
remove COMPAT_AOUT option.
2000-07-27 14:34:06 +00:00
scw
8f4e16a29e
G/C some obsolete HP-UX related flags, and prevent multiple
...
inclusion while I'm here.
2000-07-27 14:26:15 +00:00
scw
110b948408
G/C MDP_HPUXTRACE since it is never set anywhere, so we don't actually
...
support HP-UX processes doing the tracing.
2000-07-27 14:25:14 +00:00
mrg
a254dae933
ebus sc_is is a pointer now, already.
2000-07-27 14:17:10 +00:00
mrg
dea4c479f5
intr_list_handler() should only take one argument. it ignored the 2nd anyway.
2000-07-27 14:13:50 +00:00
mrg
556a915306
add commented LOCKDEBUG
2000-07-27 14:10:25 +00:00
mrg
2726e45533
fix warnings.
2000-07-27 13:59:26 +00:00
mrg
270fd5cc55
delete unused variable.
2000-07-27 13:58:54 +00:00
mrg
eafc0ade2d
fix warnings.
2000-07-27 13:57:23 +00:00
bjh21
926ed939b6
Fix grammatical error in panic msg
2000-07-27 10:12:31 +00:00
jeffs
3eae1609f1
Fix to actually compile MIPS1 only.
2000-07-27 08:28:36 +00:00
jeffs
e4a0934c13
Do not attempt mips3 style cache flush on mips1 in setregs() as it
...
is illegal to flush on user addresses. In theory the race exists
on MIPS1, but it is rather unlikely in common use. I have
seen it with regress/sys/kern/sigtramp on a QED 5231 system.
2000-07-27 06:28:06 +00:00
cgd
4adc7b9704
add nops after jals in PANIC and PRINTF. (these macros are often used in
...
code which has noreorder set, and they're not used with nops afterwards,
as is appropriate in that case, so put the nops in the macros.)
2000-07-27 05:01:06 +00:00
matt
63466a9699
Un __P.
2000-07-26 21:50:48 +00:00
pk
2079f86890
On-board devices on psycho machines seem to have the `interrupt' property
...
in the parent bus format (i.e. an INO) rather than being represented as
an PCI interrupt line. Provide a hack to work around this in pci_attach_hook().
2000-07-26 17:46:56 +00:00
jeffs
ca2a49c4cf
Back-out vmapbuf() change for now as locally it has been found to sleep
...
in some circumstances that don't sleep when not using pmap_prefer().
2000-07-26 16:24:38 +00:00
ragge
1d79c50d61
Oops, forgot a debug return.
2000-07-26 15:16:55 +00:00
pk
e668bc0310
Use the mk48txx driver for time-of-day clock access.
2000-07-26 13:39:36 +00:00
pk
785d8d91b9
Remove unused <sys/dev/ic/intersil7170.h>
...
Remove unused `extern struct idprom idprom'
Pull in <dev/clock_subr.h>
2000-07-26 12:39:20 +00:00