Commit Graph

24 Commits

Author SHA1 Message Date
chs ac3bc537bd eliminate the KERN_* error codes in favor of the traditional E* codes.
the mapping is:

KERN_SUCCESS			0
KERN_INVALID_ADDRESS		EFAULT
KERN_PROTECTION_FAILURE		EACCES
KERN_NO_SPACE			ENOMEM
KERN_INVALID_ARGUMENT		EINVAL
KERN_FAILURE			various, mostly turn into KASSERTs
KERN_RESOURCE_SHORTAGE		ENOMEM
KERN_NOT_RECEIVER		<unused>
KERN_NO_ACCESS			<unused>
KERN_PAGES_LOCKED		<unused>
2001-03-15 06:10:32 +00:00
manu c1faa5c059 enabled COMPAT_LINUX for sandpoint 2001-03-12 20:10:06 +00:00
thorpej 2c4c690f14 Add the BUS_DMA_STREAMING flag. 2001-03-07 22:42:16 +00:00
briggs 20d5755843 Set the PCI mem tag to 0. The BAR already contains the value that was here. 2001-03-07 05:52:28 +00:00
briggs 9fcf8e36a4 Sync with reality. Add NetBSD tag. 2001-03-06 20:16:09 +00:00
briggs d6ff14bfde Update the defaults of MAXTSIZ, DFLDSIZ, MAXDSIZ, DFLSSIZ to those used
in macppc.
2001-03-06 20:11:41 +00:00
briggs 7446055d62 Disable interrupts during autoconf.
Move identifycpu() from machdep.c to autoconf.c, make it table-driven, and
add a few more models to it.
2001-03-06 20:10:20 +00:00
briggs a3ee43a4e6 Remove dump stuff that is now in powerpc_machdep. 2001-02-26 14:55:05 +00:00
matt af212d3fda Use common switch / setfault / trampoline code. (except amigappc because
it doesn't use trap_subr.S either).
2001-02-25 20:34:24 +00:00
matt e7811ad9b6 Move cpu_sysct and dump{mag,lo,siz} & cpu_dumpconf to powerpc_machdep.c.
dumpsys is still port-specific for now.  XXX dumpsys is still a stub
on all powerpc ports.
2001-02-24 22:39:16 +00:00
matt 45f666cb9d Remove setregs since it now lives in powerpc/powerpc/powerpc_machdep.c 2001-02-24 04:35:33 +00:00
briggs d5cb949785 Install int_types.h, too. 2001-02-13 01:12:56 +00:00
briggs 5b380e8c30 Keyboard, mouse, ws* 2001-02-08 20:27:24 +00:00
briggs 55a187d809 Add lpt and fdc/fd back in. Include i4b stuff, too. 2001-02-08 18:33:07 +00:00
briggs 5fb8680bf6 Add fdc and lpt. 2001-02-08 18:33:03 +00:00
briggs c86117ec25 Make it a #error to define PCI without PCI_NETBSD_CONFIGURE. 2001-02-08 18:32:02 +00:00
briggs c3e491058d Get rid of warning if no com devices are specified. 2001-02-08 18:31:25 +00:00
briggs d2b8b0adf8 We really don't want isapnp. 2001-02-08 18:29:28 +00:00
briggs afb7789ae8 Enable devices on the SuperIO chip. 2001-02-08 18:29:05 +00:00
briggs be0166b004 Add in ppb* for PCI-PCI bridge support. 2001-02-07 05:51:10 +00:00
briggs 7fe588dfd3 Handle setting the proper interrupt line for devices behind bridges. 2001-02-07 05:49:17 +00:00
briggs 2f624f78d6 Share a single pio.h instead of having 4 nearly-identical copies. 2001-02-05 19:33:54 +00:00
briggs e96035c57c Tsubai has convinced me that openpic_init() should remain machine-dependant
as the details might differ between archs, and passing the various options
leads to some clutter.
2001-02-05 19:22:23 +00:00
briggs c8ef73b71f Support for the Motorola Sandpoint reference platform using the
MPC8240 processor module.  See the README for more information.
2001-02-04 18:32:10 +00:00