Commit Graph

22 Commits

Author SHA1 Message Date
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
986464bd89 Remove duplicate line. 1999-11-04 02:53:03 +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
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
simonb
a17eb29d7c Remove a few unnecessary header files. 1999-09-05 11:34:29 +00:00
ad
724365fa3e Change the way fb devices are configured and attached:
- 'struct fbsoftc' created, which points to a 'struct fbinfo'
- 'struct fbinfo' for each device is allocated with fballoc()

This means:
- Console device doesn't get different 'struct fbinfo' at attach
- Console device doesn't get initialized twice
- Color rcons now works
- The current Xserver MUST BE REBUILT.
1999-07-25 22:50:28 +00:00
oster
7824f40e5f Add a '#include <sys/resourcevar.h>' to each of these to allow them
to compile again.
1999-06-22 14:51:57 +00:00
ad
5756acc071 Cleanup. 1999-06-21 19:07:16 +00:00
thorpej
9e9f068f43 Add the guts of mlockall(MCL_FUTURE). This requires that a process's
"memlock" resource limit to uvm_mmap().  Update all calls accordingly.
1999-06-18 05:13:45 +00:00
ad
39db587e6f Cleanup. 1999-05-19 20:14:46 +00:00
ad
bb3a510fa2 Assign ownership & copyright to TNF. There is probably a procedure for this
that I am unaware of. Also some KNF.
1999-05-18 21:51:57 +00:00
thorpej
1f4085fb66 Fix spruious false matches in px_match(). 1999-05-06 01:50:56 +00:00
ad
3801a05ffb Add cookie for wsfont to px_info. Don't try to get/lock a font if we
are not the console.
1999-04-29 02:50:25 +00:00
ad
0c221127eb More fixes to get the PXG working and keep the PX happy. 1999-04-26 12:05:11 +00:00
ad
4e3888516e Many fixes to support PXG, PXG+ and PXG+ Turbo. Interrupt handling is
totally broken for the PXG and will remain so until more documentation is
available. This destroys the queueing, hardware clipping, and VDAC update
mechanisms on the PXG.
1999-04-26 04:37:33 +00:00
simonb
59df0560f4 Set the colormap index before checking it! 1999-04-25 04:04:16 +00:00
simonb
dc1d3940db Nuke register and remove trailling white space. 1999-04-24 08:01:01 +00:00
ad
de43e7cc8d Fixed licensing due to a foobar on my behalf. 1999-04-13 00:40:07 +00:00
ad
b30fc08f22 Initial import of `PX' driver. 1999-04-13 00:30:08 +00:00