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
simonb
a68944cfca
Overhaul the tz SCSI tape driver:
...
+ Add a quirk table.
+ Assume all else is a modern drive that can do variable block
lengths (this is the main reason for this work - the old driver
only ever seemed to write 512 byte blocks!).
+ Keep track of values for mtget's mt_fileno, mt_blkno.
+ Handle a few extra MTIOCTOP commands.
Ideas gleaned from our MI scsi tape driver and the FreeBSD CAM tape
driver. Tested on a TKZ09 (DEC badged Exabyte 8500), a TLZ06 (DEC
DAT) and TK50.
Many thanks to Pierre Bergdolt for helping with testing.
1999-09-07 13:53:36 +00:00
simonb
a17eb29d7c
Remove a few unnecessary header files.
1999-09-05 11:34:29 +00:00
simonb
eca6f8a067
Fix tyop.
1999-09-05 06:31:52 +00:00
nisimura
d0259231aa
A small fix to save such a configuration of MAXINE with TC framebuffer
...
option card installed.
1999-09-03 10:19:40 +00:00
nisimura
37b9802f3a
- Nuke "asc.h" inclusion.
1999-09-03 06:12:28 +00:00
simonb
0676f7a9b7
Handle the MTOFFL request to actually offline a tape rather than just
...
rewinding it. Tested with an Exabyte 8500 on a 5900/260 (the asc scsi
driver).
1999-08-31 01:12:51 +00:00
thorpej
8c92a5344c
PMAX uses white-on-black for the default rcons colors.
1999-08-26 20:49:40 +00:00
ad
c9adbf13c2
Update to match new rasops_init semantics.
1999-08-24 11:16:03 +00:00
thorpej
eb20bbc780
Change the semantics of splsoftclock() to be like other spl*() functions,
...
that is priority is rasied. Add a new spllowersoftclock() to provide the
atomic drop-to-softclock semantics that the old splsoftclock() provided,
and update calls accordingly.
This fixes a problem with using the "rnd" pseudo-device from within
interrupt context to extract random data (e.g. from within the softnet
interrupt) where doing so would incorrectly unblock interrupts (causing
all sorts of lossage).
XXX 4 platforms do not have priority-raising capability: newsmips, sparc,
XXX sparc64, and VAX. This platforms still have this bug until their
XXX spl*() functions are fixed.
1999-08-05 18:08:08 +00:00
ad
233d3887c1
In pm_screen(), return 0 if fballoc() fails, not 1.
1999-08-02 12:52:27 +00:00
ad
3d71693ea7
In fbconnect(), append ' (console)' to printed message if called for
...
the console framebuffer at attach time.
1999-07-28 17:13:54 +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
ad
fe6a4d8ffd
Remove 'already the console' check, which will be handled by fballoc(),
...
fbattach() and fbconnect() shortly.
1999-07-16 14:23:47 +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
simonb
6a949cddfb
Include <pmax/pmax/machdep.h> instead of declaring our own prom_*()
...
prototypes.
1999-06-08 23:42:36 +00:00
simonb
b7a2ec3f01
+ Call prom_scsiid() to found out what the host SCSI ID should
...
be instead of hardcoding values.
+ Print the host SCSI ID in siiattach().
XXX - probably should do the same to the ASC driver?? The manuals for
the 5000 series machines don't mention the scsiidN env variable, but it
is present on all the models I've looked at...
1999-06-08 23:41:59 +00:00
ad
080560c8c6
- Setting initial position of cursor is up to caller.
...
- Set cursor position properly for SPARC. From Juergen Hannken-Illjes.
1999-05-23 17:59:39 +00:00
ad
02bc362e3e
Add arg to rcons_init() that when set causes screen to be cleared.
1999-05-19 20:34:19 +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
ad
3b602e5afa
Panic if rasops_init() fails us (should never be the case).
1999-05-15 13:04:03 +00:00
nisimura
a10adaf5aa
- Utilities of DECstation PROM call were moved to 'promcall.c' and
...
take a bit care about findcons.c console support kitchen sink.
1999-05-11 05:15:54 +00:00
simonb
d5ce574eee
Fix tyop in comment, and keep comment lines to less that 80 chars.
1999-05-10 12:36:16 +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
aa89ae23ba
Last fix broke kbd and mouse input under X for the console device. Fixed.
1999-04-26 23:26:11 +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
e54fa8abad
Fix silly bug where fbconnect() doesn't realize that it's already been
...
called during early console initalization, then pouts because there appears
to be n+1 framebuffers. This whole thing is a mess.
1999-04-26 12:03:53 +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
ad
6db752a5c1
"px.h" requires inclusion.
1999-04-26 04:34:00 +00:00
simonb
59df0560f4
Set the colormap index before checking it!
1999-04-25 04:04:16 +00:00
simonb
f676307241
Include "px.h" - rcons_connect_native is only compiled in of NPX > 0.
...
Fixes PR port-pmax/7456 from Jason Thorpe.
1999-04-24 15:22:45 +00:00
simonb
dc1d3940db
Nuke register and remove trailling white space.
1999-04-24 08:01:01 +00:00
ad
a895fbfd58
Define rcons_connect() only if (NFB > 0). Define rcons_connect_native() only
...
if (NPX > 0). Needed for fixed `rasops' config glue.
1999-04-22 00:33:30 +00:00
ad
ca39efe84c
Remove misplaced comment.
1999-04-22 00:29:59 +00:00
ad
0993fa2727
Add configuration glue needed by rasops, wsfont, rcons and the px driver.
1999-04-13 18:53:27 +00:00
ad
cf19d10b2a
Added console initalization glue to allow `px' device to function as the
...
console.
1999-04-13 18:50:51 +00:00
ad
8cd2881c35
Save colormap when fb device is opened, and restore upon close. Do not
...
fbconnect() 'pm' device again at attach time if it is the console.
1999-04-13 03:22:00 +00:00
ad
46dcc25b4a
Map keypad 'Enter' to 'Return' for console operation. Change error messages
...
in MouseInit() to allow gcc to fold the strings.
1999-04-13 03:19:28 +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
pk
b13e5d1469
Quote "AS IS" as in the majority of Carnegy Mellon notices.
1999-04-12 20:38:17 +00:00
simonb
be4160066d
Allow the fake installation diskimage to be 2MB as well as 32MB in size.
1999-04-08 13:55:37 +00:00