cgd
8a3333b2a9
Fix an inconsistency that came in with Lite: setrq() was renamed to
...
setrunqueue(), but remrq() was never renamed. Rename remrq() to
remrunqueue().
1996-11-06 20:19:19 +00:00
pk
aa965ce3bf
Declare device `audio' at sbus.
1996-11-03 11:18:15 +00:00
pk
92d21510ef
Drop in a sun4m version of AUDIO_SET_SWINTR; thanks to Nick Sayer for
...
the reminder.
1996-11-01 23:32:15 +00:00
pk
33558b9e5f
Take care of the sun4m way of raising soft interrupts.
1996-11-01 23:30:09 +00:00
pk
19b8bfdf3d
Declare device `audio' at sbus where it resides on Microsparc machines,
...
from Nick Sayer's PR#2908.
1996-11-01 23:15:51 +00:00
pk
59b640b2fc
Call kvm_uncache() from dvma_malloc() where it belongs and make sure
...
it's called when SUN4M is nor defined.
Merge in changes from Jason to make dvma_mapin() work on (sun4c) machines
with a write-back cache.
1996-10-28 23:02:54 +00:00
abrown
cafb62af25
Fix timer initialization so that we don't gain one extra microsecond per
...
second on Sun4m machines. Although this was in the noise of the unstable
Sun clock crystals before, the discrepancy amounted to about 100 ppm, and
thus made NTP perform poorly. NTP now works happily on my SS20...
1996-10-28 00:20:31 +00:00
pk
fd8ac8b221
If no specific kernel architecture is requested, define the CPU_* and
...
NBPG et.al. as in the generic case. This would be the expected thing to do
when compiling LKMs and such.
1996-10-22 19:11:19 +00:00
pk
52acac0518
Regroup the definitions of NBPG, PGOFSET and PGSHIFT into the section that
...
enumerates the possible SUN? combinations.
1996-10-20 20:26:52 +00:00
pk
62c32ff2dc
Drop a duplicate `#include ppp.h'; noted by Chris Demetriou.
1996-10-20 19:32:42 +00:00
pk
4dd0b24bf9
Make sure to refer to `sc_ovtype' only when SUN4 is defined, as noted
...
by `r.evans@ic.ac.uk'.
Also, explicitly testwhether we're dealing with a pfour.
1996-10-20 19:18:00 +00:00
pk
b246894d9b
Document `-a karch' option.
...
Fix a formatting nit.
1996-10-20 16:17:04 +00:00
pk
5ced353a7a
Add -a <arch>' switch to force the target architecture. Retain
-h' for
...
compatibility.
1996-10-20 16:00:14 +00:00
thorpej
150c33e60b
Use ${INSTALL}.
1996-10-18 05:55:26 +00:00
thorpej
c9592404ce
Clarify the comment about enabling interrupts above level 11, suggested
...
by Andrew Gillham.
1996-10-18 01:36:16 +00:00
christos
8d9699acda
backout previous kprintf change
1996-10-13 02:59:55 +00:00
christos
7d1960f502
backout previous kprintf change
1996-10-13 02:59:38 +00:00
christos
0039d4aa0c
backout previous kprintf change
1996-10-13 02:59:25 +00:00
christos
19d8368f2f
printf -> kprintf, sprintf -> ksprintf
1996-10-11 00:44:42 +00:00
christos
de08983084
add in_addr_t and in_port_t
1996-10-11 00:43:00 +00:00
cgd
472889f8e4
moved to aout_machdep.h (via repository copy)
1996-10-08 12:57:37 +00:00
mrg
a632bcbe9c
update for kern/sa lib Makefile.inc changes.
1996-10-05 23:46:43 +00:00
mrg
7b71cdec46
minor copyright update.
1996-10-05 23:41:53 +00:00
thorpej
5c34a4ce35
Use FBTYPE_RESERVED3 for our `unknown' fbtype ... RESERVED1 seems to
...
have disappeared.
1996-10-04 20:35:53 +00:00
thorpej
3db7555465
Returning ENODEV is not correct in a poll entry point. Instead, since
...
read/write returns an error, use seltrue().
1996-10-04 20:34:33 +00:00
abrown
748b2c4bbe
Add cgfourteen framebuffer to generic configs
1996-10-03 00:05:41 +00:00
mrg
14d1592766
update for exec changes.
1996-10-02 07:11:45 +00:00
abrown
7557090650
Add cgfourteen_poll() entry point to sync with recent changes in frame
...
buffer cdev code.
1996-10-01 00:06:45 +00:00
abrown
c04e2bf00c
Add cgfourteen to conf.h.
...
Add new framebuffer types for recent-model graphics devices to fbio.h.
1996-09-30 23:45:10 +00:00
abrown
1547bff1c4
Add cgfourteen frame buffer at device major number 99. This is what Solaris
...
uses; I don't have access to a SunOS system with a cg14 to tell what
it uses.
1996-09-30 22:49:12 +00:00
abrown
e46ca2d67c
Add cgfourteen driver as device "cgfourteen"
1996-09-30 22:43:38 +00:00
abrown
19b3f7f50b
Initial commit of cg14 framebuffer driver for Sun4m SPARCs.
...
- This driver supports the on-board mbus-based cgfourteen (sometimes referred
to as "SX") video hardware present on SS20-class machines.
- It does *not* support any of the SX acceleration features.
- It does support the 8-bit mode of the hardware, and looks to X like
a cgthree.
- It does support the cg6-style hardware cursor, even when running X in
cgthree emulation.
- It does support DPMS power-down of compatible displays on later-revision
cg14's.
- There is code to support the true color (32-bit) mode of the cg14 as
cg8 emulation, but it is disabled by default because it is most likely
broken. #define CG14_CG8 to turn it on.
The driver is not yet installed in the conf files, but I will do so
shortly...
1996-09-30 22:41:01 +00:00
mycroft
4cd799d5a9
Remove unused variable.
1996-09-28 03:37:36 +00:00
mycroft
aaad0e1149
Sync with Alpha version.
1996-09-28 03:21:04 +00:00
thorpej
8d5c3b9cd1
Sync with the alpha version, fixing several SCSI protocol bugs.
...
NOTE: THESE FILES ARE NOW IDENTICAL TO THEIR ALPHA COUNTERPARTS.
The C preprocessor does the Right Thing when these files are built
on a SPARC. This makes it significantly easier to diff the two
versions (until a real MI 53c9x driver is done, hint hint).
1996-09-28 01:49:06 +00:00
abrown
28068e33c0
Oops. Last change will slow down a GENERIC kernel. Add a CPU type test
...
for cleanliness.
KNF a return statement.
1996-09-27 18:30:15 +00:00
abrown
d7ef005a81
Fix long-standing bug with Lance ethernet and Sun4m's, where each packet
...
would generate two interrupts, one real and one spurious. The solution
is to force a drain of the SBus->MBus write buffers after writing to the
lance to clear the interrupt. Thanks to Chris Torek for pointing out a much
easier way to do this than I had planned...
1996-09-27 15:11:43 +00:00
cgd
0e097578a2
add and use a machine-dependent header, which currently defines some
...
macros to use to remove #ifdefs from the machine ID case check.
Eventually, these headers will contain other information, e.g.
machine-dependent relocation information, etc.
1996-09-26 21:50:55 +00:00
christos
869fd46175
Implement T_FIXALIGN by adding code to fix unaligned accesses and a bit
...
in md_flags. This should bring the solaris mac emulator software a step
closer to working.
1996-09-26 18:58:33 +00:00
christos
e33f712af6
Initialize md_flags.
1996-09-26 18:55:51 +00:00
christos
9db40d9ba8
Add md_flags so that we can have a fix-misalign-accesses flag.
1996-09-26 18:51:17 +00:00
thorpej
ab49e34013
Don't attach an rcons to a cgfour/cgeight overlay plane; it doesn't work
...
properly. Problem reported by Charles Hannum.
XXX This is temporary until someone with the hardware has time to fix it!
1996-09-20 17:35:49 +00:00
mrg
c98a14ad90
update these for poll(2) changes.
1996-09-12 01:35:34 +00:00
mycroft
b3ffba62a6
Move strip(1) flags into a separate variable, so that $STRIP can
...
be passed to subordinate make(1)s. Remove $TOUCH. Add HOSTED_CC,
HOSTED_CPPFLAGS, and HOSTED_CFLAGS, and use them when depending genassym.
1996-09-09 21:06:55 +00:00
cgd
adeb6b4058
replace sequences of 8 spaces with tabs (only one instance). kill
...
unnecessary newlines after return statements but before function
close-braces.
1996-09-09 18:01:30 +00:00
mycroft
2bc736661a
Implement poll(2).
1996-09-07 12:40:22 +00:00
thorpej
fa0e4a3082
Make the SPARC kernel compile again after recent tty cdevsw changes.
1996-09-05 09:32:47 +00:00
mycroft
b3eac79b64
tty stop functions really should return void, not int, and certainly not both.
1996-09-02 06:43:16 +00:00
mycroft
30a617c634
Wrap the default definition of S' in
.ifndef'.
1996-08-31 21:40:47 +00:00
pk
686dd328c0
Faster checksumming, contributed by Zubin Dittia.
1996-08-29 20:14:49 +00:00