Commit Graph

39397 Commits

Author SHA1 Message Date
grant 9204390fe4 add iteide(4) driver for ITE8212-based IDE controllers. from
OpenBSD, ported to NetBSD by me.

ok'd by bouyer@, thorpej@.
2004-12-01 22:27:45 +00:00
shige 4b61add729 Add header file for IBM405XX(AMCC405XX) Device Control Registers. 2004-12-01 17:55:33 +00:00
martin 416a47df13 Better return value checking for pseg_get/pseg_set. Turn Debugger() calls
into proper panics and sprinkle some KASSERTs. Closes PR 27288.
2004-12-01 09:48:03 +00:00
chs a1f3bdce1e do the invalidation of the (virtually-addressed) L1 cache in pmap_remove_all()
(ie. just before we skip the per-page cache invalidations while tearing down
each context) instead of just before we recycle all the contexts in ctx_alloc().
the latter is not good enough since a (physically tagged) L1 cache line is
valid for all contexts, not just the one that was used to instantiate it.
fixes PRs 24126, 25669 and 27730.
2004-12-01 08:05:26 +00:00
nathanw bb630a5378 Add PSL_T to PSL_USER; it's fine for a program to want to trap itself. 2004-11-30 22:41:57 +00:00
jmc 355c871f88 Fix the way this checks the object files so it works correctly with make -j 2004-11-29 15:19:26 +00:00
ws 739e2052fd We just checked that the parent is the root, not current.
So we better determine the bus number of this parent node.
Now, MPACPI on my Opteron board finally correctly determines its
PCI/AGP busses even without the help of the AMD64 Address Map
support implemented in my local tree.
2004-11-29 00:07:22 +00:00
thorpej 961245b8bf Sync with i386 bus_dma. 2004-11-28 17:36:27 +00:00
thorpej 7a60e77293 bus_dmamap_load_mbuf(): Skip zero-length mbufs.
kern/24811
2004-11-28 17:34:45 +00:00
jmc 9bfe9b9970 Convert mkboot into a full cross tool. Last hurdle for hp300 to building on
non NetBSD/bsd hosts.
2004-11-28 11:14:41 +00:00
jmc ca09268a5e Reduce pci pullin's to just pcibusprint.c. This doesn't attach pci in a way
config will include any of the generic pci code and all the current code
needs is pcibusprint for now. XXX this really needs more careful looking over
but does allow ofppc to build clean again.
2004-11-28 10:01:25 +00:00
jmc 4a8d169c08 Just include files.wscons since it has some defparams needed by includes
that get picked up from rcons files. Note the fact we're assuming files.wscons
will include files.rcons. Fixes builds on pmax.
2004-11-28 09:05:49 +00:00
jmc c7464d49db Convert remaining host tools for amiga to correct cross tools. Now allows
complete amiga builds on non netbsd/bsd hosts
2004-11-28 07:00:52 +00:00
kim d62a9fc15a Whitespace police. 2004-11-25 16:13:34 +00:00
manu 6dfb732236 For and from bouyer@: call wdc_init_shadow_reg(chp) only after chp has
been initialized. Cause the hard disk to be detected again on the iBook G4,
and probably other machines.

Weee, I can run -current again!
2004-11-25 15:24:14 +00:00
christos aae3f73769 include sys/types.h to make this compile again. 2004-11-25 08:30:52 +00:00
jmc 9a999c376a Convert bebox's remaining host tools over to cross tools scheme. Builds to sets
w/o error now.
2004-11-25 08:09:14 +00:00
yamt e558aadcb2 remove __lockbarrier, which i forgot to remove in the previous. 2004-11-25 04:50:48 +00:00
jmc 417e73cb35 Retool sgivol into a proper hostool that doesn't depend on disklabel.h.
Assume defaults for file images that match what a vnd would have used.
Native use will still use the standard NetBSD label to get this data.
Fixes PR#25996
2004-11-24 22:01:21 +00:00
jmc ceb4d24120 Pull host/arch native label information into bootblock.h. Therefore pieces of
this are accessible from host tools.
2004-11-24 21:59:32 +00:00
bouyer 4994bd88e1 Regen (initially for pdcsata(4), but it looks like the files were not
regenerated after some recent addition to kernel configs).
2004-11-24 20:52:23 +00:00
bouyer fe4d81db48 pdcsata(4), a driver for the Promise SATA150 (aka PDC203xx) serie of
controllers. Tested with a PDC20375 (2 SATA, one PATA) controller on sparc64.
Added to all kernel config file which had pdcide(4).
2004-11-24 20:49:17 +00:00
tsutsui c6824e7fc3 Fix comment. 2004-11-24 17:31:58 +00:00
augustss a66509ebd5 Some more Sharp MM20 fixup code that I forgot to commit in the first round. 2004-11-21 22:00:00 +00:00
is 96a8f93be8 Somebody forgot this change when changing the structure name.
Pointed out by Nick Hudson.
2004-11-21 20:43:22 +00:00
is 2539f48829 no more idesc please, use wdc instead. 2004-11-21 19:26:33 +00:00
skrll ca5b73a7e3 Fix syntax error from 1.9. I guess IPKDB isn't used very much... 2004-11-19 07:59:53 +00:00
matt e27c3887b6 If setfault() returns nonzero (ie, we trapped), make sure to unsetusr. 2004-11-18 22:56:32 +00:00
matt 589ef8f06a Make sure to do setenv/unsetenv in pairs. This prevents panics in
DIAGNOSTIC kernel when crossing segment boundaries.
2004-11-18 21:09:37 +00:00
he 0a3962423b Refer to the common m68k procfs_machdep.c instead of the x68k one,
which has now been removed.
2004-11-17 09:01:38 +00:00
christos ee21460344 moved to m68k/m68k 2004-11-16 01:24:01 +00:00
christos 527610e2db moved from x86k/x68k 2004-11-16 01:21:45 +00:00
martin ddde12b011 Add bus_space_region_stream* functions (verbatim copy from sparc64).
Fixes PR port-sparc/28302. OK'd by pk.
2004-11-15 10:18:58 +00:00
christos 4be762fee1 Use common procfs_machdep.c 2004-11-14 19:10:56 +00:00
christos 8eb2aff618 Delete empty function. 2004-11-14 19:10:03 +00:00
christos f65821a933 Remove copy of empty function. 2004-11-14 19:09:01 +00:00
christos 10f45207fd Use shared file. 2004-11-14 19:08:13 +00:00
christos a0138ea436 Use common procfs_machdep.c 2004-11-14 19:04:44 +00:00
christos 1666a373fd Delete copy of empty function. 2004-11-14 19:03:50 +00:00
christos 9e909da589 use the common procfs_machdep.c 2004-11-14 19:03:06 +00:00
christos accc5fc2e1 Delete copy of empty function. 2004-11-14 19:02:26 +00:00
christos f9258cf2bd Eliminate copies of functions that do nothing. 2004-11-14 19:01:22 +00:00
christos 6e77b72448 use the common procfs_machdep.c 2004-11-14 18:59:50 +00:00
christos f19f4f121f Add CPU/FPU information from Radek Kujawa 2004-11-14 18:58:22 +00:00
uwe 61e6610474 Fix several typos in comments. 2004-11-14 15:45:02 +00:00
sekiya ad7705ec91 Due to space limitations, we can't embed a three-meg ramdisk installation image
into an IP12 kernel.

Remove; installation procedure will have to be GENERIC kernel using sysinst
from a NFS filesystem.
2004-11-13 09:04:28 +00:00
grant 068c31fe44 tweak an error message. 2004-11-13 08:12:50 +00:00
sekiya a061928d83 Add INSTALL and GENERIC kernel configuration wrappers for IP12 family.
Note that devices are defined in the IP2x configuration file; the IP12 is
99.5% the same as the IP20/22/24.  Indeed, the only reason to have a separate
config file for IP12 is to sort out the MIPS1/MIPS3 locore bits.

To that end, the wrappers include the IP2x GENERIC config, undefine a few
directives, and define the appropriate bits for IP12.
2004-11-13 03:20:37 +00:00
sekiya 07c1fbd927 Use 8-bit SEEPROM addressing mode on the 4D/3x models. 6-bit might be used
on IP6, but we don't support them (and probably never will).
2004-11-12 23:28:05 +00:00
sekiya c37efd2daa Print board identification, same as we do on the IP2x machines. 2004-11-12 23:01:01 +00:00