Commit Graph

392 Commits

Author SHA1 Message Date
thorpej
52242fdf9f Update for sys/buf.h/disksort_*() changes. 2000-01-21 23:28:59 +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
simonb
ede7778a1c Remove unneeded include files (up to 16 in two files!). 2000-01-10 03:24:31 +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
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
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
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
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
09af3823bf In dc_ds_consinit(), choose the address of the dc device based on
systype.  Fixes lockup on 5000/200 - tested on 5000/200, 3100 and
5100.
1999-12-08 04:03:28 +00:00
simonb
f3867cd79f Don't need to prototype consinit() - it's in systm.h. 1999-12-08 02:56:17 +00:00
simonb
dcf49845cb Remove one of two (different!) prototypes for dc_consinit(). dc_ds.c
now includes <pmax/dev/dc_cons.h> to get the correct prototype.
1999-12-08 00:13:33 +00:00
simonb
b48a6bbd79 Allow the "install diskimag" label to be any size < 16MB, not just 4MB. 1999-12-06 02:53:50 +00:00
simonb
04f70ed884 Add a flags variable to dc softc, and when attaching a dc determine
(via systype) whether or not it is possible for a keyboard and mouse
to be attached.  The console on a 5100 now works!
1999-12-03 13:07:35 +00:00
ad
0daccde651 - When kbdMapChar() was modified to support returning multi-character
mappings, it broke Ctrl-Space; fix that.
- Clean up lk201.c a little.
1999-11-29 15:02:38 +00:00
simonb
71cc75d706 Don't check for a write to write protected label if we are writing to
the raw partition.
1999-11-28 06:28:37 +00:00
simonb
fcab0ccebb Tidy up the formatting of a comment. 1999-11-28 06:06:21 +00:00
simonb
682b4e3665 Include SCSI version of disk in device display. 1999-11-19 03:14:22 +00:00
simonb
af2a80f51c Show the SCSI version of the tape drive. Also, when printing out info
about the tape drive, only use one ``printf("\n");'' at the end rather
than having lots of \n's.
1999-11-19 03:04:39 +00:00
simonb
9dacfe6b24 Don't need extern with function declaration. 1999-11-19 02:35:40 +00:00
simonb
1dd2a74d0a Only all the kbd/mouse init functions if NRASTERCONSOLE > 0. 1999-11-19 02:17:01 +00:00
simonb
88673ee539 Only call tcfb_cnattach() if NRASTERCONSOLE > 0. 1999-11-19 02:16:06 +00:00
nisimura
e810ae49c6 Resolve 3max IOASIC disguise; round #2. 1999-11-16 06:00:11 +00:00
nisimura
cc2e1c302a - Reflect changes in ibus_intr_establish() definition.
- More concise way to initialize TC framebuffer device for console.
1999-11-15 09:54:41 +00:00
mhitch
27a8dc486b Use console_debugger() to enter DDB on a break, instead of Debugger(). It
can now be controlled with sysctl on the 3100 & 5000/200.
1999-11-13 22:58:11 +00:00
mhitch
babe07a8b5 When called from the debugger, the keyboard handler was returning 0 due to
a missed change when kdbMapChar() was changed to return a string.  Return
the correct chacter from the string.
1999-11-13 22:56:56 +00:00
mhitch
f4fa9aae9f When the framebuffer is closed, reset the keyboard. We don't know what the
X server may have done with the keyboard state.  X11R6 was changing the
keyboard modes, which were not compatible with the lk201 keyboard handling
in NetBSD.
1999-11-08 18:41:32 +00:00
simonb
986464bd89 Remove duplicate line. 1999-11-04 02:53:03 +00:00
ad
0f1d754327 QIOCGMAP is what I like to call QIOCGINFO during my more confused moments,
but other people can't be expected to know that. Noted by mhitch.
1999-11-03 13:45:11 +00:00
ad
ef0cc9a3f4 - Re-arrange the control map that is exported to user space. This map now
includes the STIC poll registers.
- Don't bother enabling ISR driven packet queueing on device open. It doesn't
  work for the PXG due to severe dainbramage on the part of DEC and doesn't
  work properly on the 3min due to the spl stuff being a mess.
1999-10-24 15:33:45 +00:00
mrg
cb6e315ab0 make this work again. 1999-10-11 16:08:47 +00:00
ad
2d7488c2c5 Use px_probe_sram() to figure out ringbuffer size instead of defaulting to
the minimum value of 128KB (useful only for PMAG-F).
1999-09-25 14:45:21 +00:00
nisimura
ff559f77f0 'KB' for kilo-bytes as humanize_number(). 1999-09-24 00:37:52 +00:00
ad
e6f3bfaa3a N10's host interrupt register uses low nybble for interrupt cause, not the
entire word.
1999-09-18 01:50:24 +00:00
thorpej
11cae42531 Centralize the declaration and clearing of `cold'. 1999-09-17 19:59:35 +00:00