Commit Graph

3930 Commits

Author SHA1 Message Date
macallan
a07be5404a fix borked MicroSPARC IIep microtime() from previous version. 2005-09-30 22:09:29 +00:00
uwe
300c8b0563 Move new bus space methods to be with the rest of the bus space
related functions.
2005-09-25 23:14:06 +00:00
uwe
76a5b67165 Use mspcic_read_stream_N to access error addresses. They don't need
to be byteswapped.
2005-09-25 22:52:30 +00:00
uwe
b98b97fe7f Stream versions of mspcic_read/write_N. 2005-09-25 22:50:57 +00:00
uwe
cfe232b1e4 G/c msiiep_swap_endian, it's no longer used now that we run without
byteswapping in the PCIC.
2005-09-25 21:57:02 +00:00
uwe
94e8dfaa23 G/c unused variable. 2005-09-25 20:49:43 +00:00
macallan
61f989aeaf Added comments about (ab)use of auxreg bits in SPARCbooks 2005-09-25 00:08:59 +00:00
macallan
c4a1cd0ef7 Put the CPU to sleep when idle 2005-09-25 00:06:52 +00:00
macallan
e98ce31365 Put the SPARCbook 3GX and 3GS CPU to sleep when idle 2005-09-25 00:06:13 +00:00
macallan
9d06f6badc add a function pointer to struct cpu_info:
void idlespin(struct cpu_info *)
which is called whenever the CPU is idle and uvm_pageidlezero() has nothing to
do
2005-09-24 22:44:44 +00:00
macallan
9a8bbeeb14 Run the MicroSPARC IIep PCI bus without endianness translation.
This allows us to run X without any additional code changes.
2005-09-24 22:30:15 +00:00
uwe
811a624920 ANSI. KNF. 2005-09-24 01:07:25 +00:00
uwe
7d140fd026 No argument names in function declarations. 2005-09-24 00:51:21 +00:00
uwe
d15ed57aa1 G/c unused fields in mspcic_softc. 2005-09-24 00:49:23 +00:00
uwe
5f93873eda Shuffle the code to be more readable. Simplify. 2005-09-24 00:35:08 +00:00
uwe
7ef52537c9 Whitespace nits. 2005-09-24 00:12:20 +00:00
uwe
b05347bffe Introduce mspcic_{read,write}_N instead of using struct syntax. This
is the first step to make PCIC run without byteswapping - which is
necessary for X server support.  Current macros are still just a
kludgy shim over struct syntax, but accesses to PCIC in the .c files
are now marked up properly.
2005-09-23 23:22:57 +00:00
yamt
d597202302 make VMSWAP optional again. 2005-09-17 14:38:38 +00:00
yamt
7e71f567e4 include "conf/std". 2005-09-17 09:44:05 +00:00
he
1d4573eec9 We need <compat/sys/signal.h> and <compat/sys/signalvar.h> here
for native_sigset13_to_sigset, sigset13_t, and sigvec.
The includes in sparc's machdep.c is conditional on COMPAT_13, as is
the use of native_sigset13_to_sigset.
2005-09-14 15:03:50 +00:00
jmmv
ec93365612 Initial addition of tmpfs, an efficient memory file-system. This project
was developed as part of Google's Summer of Code 2005 program.  This
change adds the kernel code, the mount_tmpfs utility, a regression test
suite and does all other related changes to integrate these.

The file-system is still *experimental*.  Therefore, it is disabled by
default in all kernels.  However, as typically done, a commented-out
entry is added in them to ease its setup.

Note that I haven't commited the required mountd(8) changes to be able
to export tmpfs file-systems because NFS support is still very unstable
and because, before enabling it, I'd like to do some other changes.

OK'ed by my project mentor, William Studenmund (wrstuden@).
2005-09-10 19:20:48 +00:00
uwe
45626bf3d9 ANSIfy. 2005-09-10 02:22:33 +00:00
uwe
8f3c0c67f1 Hanlde NMI on microSPARC-IIep.
We don't do much useful except reporting, but that's better than to
stupidly use sun4m handler and wedge the machine.  May need to revisit
what's fatal.

Prodding by macallan@
2005-09-10 01:27:54 +00:00
uwe
531fd682f7 Add definitions for microSPARC-IIep memory fault registers. 2005-09-10 01:23:19 +00:00
uwe
5820e018a3 Add bitmask string for system interrupt pending register. 2005-09-10 01:01:40 +00:00
uwe
3355ba0044 u_intN_t -> uintN_t 2005-09-10 00:44:08 +00:00
kleink
aece7a90fd Change the driver open function's conditional for overriding exclusive tty
use from checking the proc's uid to suser(9), and account for the use of
privileges.  Noted by David Holland in PR kern/31126.
2005-09-06 21:40:37 +00:00
drochner
44bf0a7ee2 s/locdesc_t/int/g 2005-08-26 13:19:34 +00:00
christos
93c362d7ef Enable ptyfs by default on the non-install and non small/tiny/ramdisk kernels 2005-08-19 05:19:49 +00:00
christos
758a209d23 64 bit inode changes. 2005-08-19 02:03:49 +00:00
uwe
271a46653f Constify. Make (the only) submatch function static.
Prettify some comments.
2005-08-14 19:38:21 +00:00
macallan
ff06d987cb add a prom patch that creates a device node for the Krups' audio chip
in case it's missing ( like with OF 3.11.10 ) - makes audiocs at ebus work
on these machines.
2005-08-14 16:05:56 +00:00
macallan
87c196d064 revert previous version, will create a device node in the boot loader instead 2005-08-12 16:28:14 +00:00
macallan
332916f171 For Krups only - attach audiocs at ebus even if there's no sound node in the
device tree. Works only as long as the cs4231 driver doesn't attempt to use
the node since we can't really supply one.
Tested on a Krups with OF 3.11.10
2005-08-12 12:46:17 +00:00
yamt
38ca5312d2 revert "defflag VMSWAP" changes for now.
there seems to be far more people who don't want to edit
their kernel config files than i thought.
2005-07-31 04:04:30 +00:00
yamt
558fded29a add "options VMSWAP" to non INSTALL kernels. 2005-07-30 06:35:34 +00:00
yamt
1d0891101c defflag VMSWAP. 2005-07-30 06:33:33 +00:00
hubertf
673730506c Add support for reading cloop2 compressed filesystem image,
enable by putting VND_COMPRESSION into kernel config file.
Written by Cliff Wright, polished up slightly by me.
2005-07-17 00:08:27 +00:00
macallan
4adcd89999 added dbri audio driver 2005-07-16 19:02:45 +00:00
macallan
3f858509a1 add dbri audio driver 2005-07-16 19:00:39 +00:00
kiyohara
f269226eb8 obsolete fwiso. 2005-07-13 17:09:33 +00:00
macallan
2d61a640d4 fixed a glitch that would trigger a warning when compiled without tctrl.
Doesn't make much sense since tctrl is on the same chip but anyway.
2005-07-13 01:42:06 +00:00
christos
3e061b04ef new file 2005-07-11 13:05:33 +00:00
christos
61a46bc6b1 pass the code out of getargs, so that ktracing __syscall using syscalls
works.
2005-07-10 19:05:47 +00:00
christos
aed9aed801 - add syscall_{plain,fancy}
- make it use mi_userret
2005-07-10 17:02:19 +00:00
macallan
d091c8c1bb added Tadpole TS102 SBus-PCMCIA bridge driver (tslot) and a couple of PCMCIA card drivers 2005-07-10 15:49:12 +00:00
macallan
8d4c3dfddd added Tadpole TS102 SBus-PCMCIA bridge driver (tslot) 2005-07-10 15:47:37 +00:00
martin
d6c7a12fb5 Fix COMPAT_NETBSD32 ucontext padding and move the definition next to the
(sparc) original.
2005-07-10 15:44:23 +00:00
martin
ba7a82bf5c Add SUPPORT_DHCP - otherwise bootp does not work (packet is too short for
root-path). From Christos.
2005-07-10 08:40:21 +00:00
christos
9f68247977 Turn on dhcp support. 2005-07-10 06:40:35 +00:00