thorpej
4f27a98702
Use b_cylinder as defined in sys/buf.h
2000-01-18 19:48:02 +00:00
simonb
251eb03a2b
Only prototype and include code for scc_kbd_init() and scc_mouse_init()
...
if NRASTERCONSOLE > 0. Fixes problem reported on port-pmax by Anders
Andersson.
2000-01-18 12:19:49 +00:00
ad
ec54843fa3
- Make consistant with the new order.
...
- Ammend comment about PrestoServe.
2000-01-14 15:52:33 +00:00
ad
ba79e0aab8
Make consistant with the new order.
2000-01-14 15:52:00 +00:00
simonb
bdf420bdbf
Redo interrupt establishment, based in part on work on the
...
[nisimura-pmax-wscons] branch and suggestions from Toru Nisimura:
- Remove bogus tc_slot_info[] name for interrupt handling array
and replace with simplified struct intrhand intrtab[] array.
- Add intr_establish() and intr_disestablish() function pointers
to struct platform and initialise this in each model-specific
initialisation, and remove global tc_enable_interrupt function
pointer.
- Remove model-specific function declarations from ibus/ibusvar.h.
This is functionally identical to the current scheme, and doesn't
yet try to commonise interrupt establishment by bus type as the
[nisimura-pmax-wscons] branch does.
Also, move cpuspeed variable from autoconf.c to machdep.c
2000-01-14 13:45:21 +00:00
ad
2db85d5948
- Add some extra TC ID strings that we should recognise. From simonb.
...
- Function definition and RCS ID spacing.
- Fix multiple inclusion goo to be like the new order of things.
2000-01-14 02:00:46 +00:00
ad
a4fe338bf5
Fix thinko in comment.
2000-01-11 20:36:17 +00:00
simonb
ede7778a1c
Remove unneeded include files (up to 16 in two files!).
2000-01-10 03:24:31 +00:00
simonb
6713f95947
Add trailing quote to RCS ID.
2000-01-10 01:57:41 +00:00
ad
0ab584940f
RCS ID police.
2000-01-09 23:12:30 +00:00
ad
ef9dba7791
- Protect against multiple includes.
...
- Spacing.
2000-01-09 23:10:45 +00:00
simonb
82a7ef29e8
Move include of <sys/sysctl.h> after <vm/vm.h>
...
Add some parentheses around part of an expression to keep gcc -Wall happy.
2000-01-09 22:31:44 +00:00
simonb
0e7337b60e
Remove defines for VM_PHYSSEG_STRAT and VM_PHYSSEG_NOADD - these are
...
already in mips/include/vmparam.h. Now things work again (yo Andy!).
2000-01-09 20:09:43 +00:00
ad
838b5e08c9
- Fix RCS Ids.
...
- Spacing.
- Protect from multiple inclusion in a consistant way (except on headers
that do nothing except function as mips header wrappers).
2000-01-09 15:34:41 +00:00
ad
e37d8a4671
This is just a wrapper, nuke comment so it's like the others.
2000-01-09 15:12:31 +00:00
ad
ab208e6993
s/4(..)bsd/4$1BSD/
2000-01-09 15:08:42 +00:00
ad
699c278c21
Fix some spacing, spelling, RCS ID and KNF nits that I came across.
2000-01-09 14:34:33 +00:00
ad
010a8f8cb1
- Protect from multiple includes.
...
- Fix and beef up comments.
- G/C unused def.
2000-01-09 14:28:54 +00:00
simonb
24ddcc3162
Use the badaddr() prototype in mips/include/cpu.h by including
...
<machine/cpu.h> in mips/include/mips_param.h. Remove duplicate
badaddr() prototypes from some pmax header files.
2000-01-09 13:24:14 +00:00
simonb
636b65bec8
The clean-up continues:
...
- Make local-only function and variables static.
- Move function prototypes and extern variable declarations to
header files.
- Delete unused variables.
There's still a handful of extern declaraions that should be fixed up.
2000-01-09 03:55:28 +00:00
simonb
ee075b7de7
Function prototype cleanup.
2000-01-08 01:02:35 +00:00
simonb
576e373b42
Start of the "The Big Cleanup" - remove "ifdef alpha". This has
...
diverged enough from the alpha scc.c that keeping any pretence of
portability is not worth it.
2000-01-07 14:12:51 +00:00
simonb
5f95b56bc8
Need to include <dev/wscons/wsconsio.h> for WSDISPLAY_FONTORDER_L2R.
2000-01-07 13:43:02 +00:00
simonb
770f6c71b8
Fix tyop in comment.
2000-01-06 05:22:07 +00:00
ad
59a1ab9791
Add two new members to 'struct wsdisplay_font': 'bitorder' and 'byteorder'.
2000-01-05 18:44:21 +00:00
simonb
b1ab053e2c
Ick - include pmioctl.h to get the pmEventQueue typedef needed for
...
qvssvar.h (needed for the mouseInit() prototype). This _will_ be
cleaned up soon!
2000-01-04 23:15:03 +00:00
ad
50fcd347dd
Comment px0 entry a little more accurately.
1999-12-31 12:21:06 +00:00
simonb
49ee67c77e
Include qvssvar.h to get mouseInput() prototype.
1999-12-30 01:01:48 +00:00
simonb
5c8cb4e2a7
Make some functions static which aren't used anywhere else. Remove local
...
function definitions that are already in qvssvar.h.
1999-12-30 00:57:29 +00:00
simonb
644ff8f7ed
Include <pmax/pmax/cons.h> instead of <dev/cons.h> to get RCONSDEV.
...
That file includes <dev/cons.h>.
1999-12-30 00:31:02 +00:00
simonb
88edf446c2
s/lk_mapchar/lk_reset/.
1999-12-30 00:29:53 +00:00
ad
103246974d
xcfbreg.h is essentially a copy of ims332reg.h with 3 xcfb specific board
...
offsets defined. Nuke it.
1999-12-23 16:07:58 +00:00
ad
7cc038239e
More variable naming pedantry.
1999-12-23 15:42:06 +00:00
ad
977ce29db3
Rectify the jumbled naming scheme of routines in lk201.c. Function names
...
are now lower case and prefixed by 'lk_'. XXX lk_mouseinit() is bogus. It
belongs somewhere else.
1999-12-23 15:34:17 +00:00
ad
e05b646600
mouseInput() should not be declared here.
1999-12-23 15:27:14 +00:00
kleink
11e6c54cfc
C99: Define a NAN macro in <math.h> which evaulates to a constant expression of
...
a single-precision quiet NaN; only to be defined on platforms that do support
this value.
1999-12-23 10:15:05 +00:00
simonb
89b100b1a2
Get 2100/3100 model number correct (test was reversed). Bug report and
...
patch from Scott G. Akmentins-Taylor on port-pmax.
1999-12-22 22:10:07 +00:00
ad
f607dfe4dd
- Change prefix for Bt459 register defs to BT459_IREG to indicate that
...
these are indirectly accessed registers.
- Add defs for directly accessed registers to bt459reg.h.
1999-12-15 15:09:36 +00:00
ad
f458e50bdf
Since mfb.c is the only user of defCursor[], move it from fb.c into there
...
and remove the extern'ed declaration in xcfb.c.
1999-12-15 14:48:24 +00:00
ad
278cb41098
Clean up a little.
1999-12-15 14:44:59 +00:00
ad
8307818a9b
Don't declare rcons_connect() - pull in <pmax/dev/rconsvar.h>.
1999-12-15 14:44:32 +00:00
ad
788d82a891
Clean up decl.
1999-12-15 14:36:41 +00:00
simonb
3af7b06f11
Revert previous - the problem was a hard-coded KN01 dc address, not the
...
cookie value.
1999-12-11 13:49:18 +00:00
simonb
ef246ec592
Add a few comments for unsupported systems.
1999-12-09 02:31:37 +00:00
simonb
8433a7d9eb
Enable DECsystem 5100 support.
1999-12-09 02:11:55 +00:00
simonb
77aea66917
Use "u_char *" instead of "caddr_t" for all colormap references. In line
...
with recent MI rasops changes, and fixes compile problems with -current.
1999-12-09 00:16:14 +00:00
ad
6979dfbd2b
Accessing the ringbuffer from KSEG0 is too naughty to contemplate. Mother
...
would never approve.
1999-12-08 21:38:10 +00:00
ad
48eb7986d4
- If we call px_init() at attach time, then we're not the console, so don't
...
set the console arg to 1. Noted by mhitch.
- In px_init(), don't compute pxi_fontscale if we're not the console,
since we don't have a font in the first place. This is a relic from
when the driver was converted to use 'struct wsdisplay_font'.
Should fix crashes if a px board is installed and isn't the console.
1999-12-08 21:33:43 +00:00
simonb
e065c9fbda
Store only the kernel name itself in the bootinfo BOOTPATH record, and
...
not the full boot device specification.
With this change, /etc/rc doesn't spew garbage when kvm_mkdb can't
find a kernel called "3/rz0/netbsd" or some such...
1999-12-08 14:23:34 +00:00
simonb
24a48d8b87
Oops, back out some test 5500 stuff from previous commit - only RAMDISK
...
was meant to be changed.
1999-12-08 04:16:16 +00:00