| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
| |
miod explained it was initially a long as it was thought drivers may
need to allocate storage but in practice they don't need more than
32 bits for an attribute.
suggested and reviewed by miod@
|
|
|
|
|
|
|
|
| |
Suggested by John Carmack. miod agrees a rename would make sense and
explained it was initially thought drivers may need to allocate storage
but in practice they don't need more than 32 bits for an attribute.
ok mpi@
|
| |
|
|
|
|
|
|
| |
depth when attaching.
OK visa@, deraadt@
|
| |
|
|
|
|
| |
ok tedu@ deraadt@
|
|
|
|
| |
support.
|
| |
|
| |
|
|
|
|
|
| |
No change but ordering in the generated files, so I won't even bother to
regen them - this is only a `documentation' change.
|
|
|
|
| |
after discussions with beck deraadt kettenis.
|
|
|
|
|
|
| |
actually part of the GIO address range; these obviously come from speculative
R10000 execution and are completely harmless (except for the need to acknowledge
them, which we have to do anyway).
|
|
|
|
| |
initial diff from jasper@
|
|
|
|
|
|
|
|
|
|
| |
board revisions < 4 (found on Indigo) and >= 4 (found on Indy and Indigo2).
Paint the cursor as an inverted glyph, instead of exchanging bg and fg colours
(matching the current practice on other frame buffers).
Speed-up overlapping copy operations by attempting to perform them in
larger chunks whenever possible; this speeds up console jump scrolling.
|
| |
|
|
|
|
| |
Add a simple screen burner accessop.
|
|
|
|
|
|
|
| |
supposed to be outside the clipping region, not inside (i.e. there was an
off-by-one everywhere).
- Add colormap support, by programming the RAMDAC palette registers at init
time, and also implement the colormap ioctls.
|
|
|
|
|
| |
Trivial except for tga(4) and gpx(4/vax) which need a bit more care setting
up a new font.
|
|
|
|
| |
No functional change.
|
|
|
|
|
|
|
|
|
|
| |
on Indy if an HPC SCSI board is plugged in either expansion slots, as this
somehow affects pipelined reads of the newport space.
The framebuffer detection is slowly becoming an ISA-like mess...
Thanks to Alain Tauch for giving me an HPC SCSI board (wrapped in yet another
Indy)
|
|
|
|
| |
ok otto
|
|
|
|
|
|
|
|
|
|
|
|
| |
will not accept smaller-than-32-bit accesses to the ID register is wrong with
some boards (such as the Set Eng. fast Ethernet).
Rework the logic introduced in 1.10 to allow matching a board with a 32-bit
ID register and consistent reads at smaller sizes.
Tested to not cause false positive or disappearing devices against newport,
grtwo, impact, Phobos G130/G160, Fore ATM, Cyclone Colorbus, and of course
Set Eng.
|
|
|
|
|
| |
layers when the chip can't process commands fast enough; wscons knows how to
cope.
|
|
|
|
|
|
| |
Make sure that what seems to be a 8-bit ID register of value zero does not
match as an expansion board, which it can't be, and continue with the specific
frame buffer test logic.
|
| |
|
|
|
|
|
| |
gio_id(), not the whole 32 bit first word. Some boards with a 8-bit only ID
register use the other 24 bits, sadly.
|
|
|
|
| |
are not frame buffers. Thanks to Martin Boehme for donating such boards!
|
| |
|
| |
|
|
|
|
|
| |
ECC checking disabled, which allows the existing Indigo2 drivers to run
unmodified.
|
|
|
|
|
|
| |
IP22 family. This is just the bridge so far, as the underlying pci drivers
will need some changes to work (dc(4) does not work correctly yet, and tl(4)
needs to be bus_dma'ified).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
recognizing a GIO device or an id-less frame buffer in a GIO slot.
Turns out that GIO32 devices (at least those with a 32-bit ID register, but
likely all of them) do NOT like accesses to the minimal GIO register area
NOT done on 32-bit boundaries. While frame buffers won't mind, especially
if their slots are pipelined.
This makes it a lot easier to tell them apart.
While there, split gio_intr_establish() into gio_intr_map(), which will return
a logical interrupt number out of a GIO slot number, and gio_intr_establish(),
which will now expect a logical interrupt number, instead of a logical slot
number. These two functions are still unused, but upcoming changes depend on
this work. (Yes, I'm too lazy to make two commits for this tonite)
|
|
|
|
| |
GIO frame buffer drivers do.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
byte accesses to the ID register; instead of interpreting this is as a lack
of hardware, reconize this as a valid GIO device (if the `has a 32-bit ID'
bit is set, that is).
This allows GIO Impact boards, which use a 32-bit ID, to be recognized
correctly, and to work as a console device.
Commited from an Indigo2 with glass console on the single-board Impact
(MG10) board which arrived in the mail today. Would have been done even
earlier, had I not forgotten to connect the extra power supply cable to
the Impact GIO backplane...
|
| |
|
|
|
|
| |
consistency. Will be necessary shortly.
|
| |
|
|
|
|
| |
IP22 kernels. Oops.
|
|
|
|
|
| |
time; not only do we need to match the graphics console address, but cn_tab
needs to point to wsdisplay, too.
|
| |
|
| |
|
|
|
|
|
|
| |
fix this by reinstating the actual probe which got removed by mistake in the
recent gio probe and console code rework.
Found the hard way by sebastia@
|
|
|
|
|
|
|
|
|
|
|
|
| |
- correctly gather version information. When reading device registers is a two
step process (write address, read data), it is a very bad idea to call a
wrapper around these two operations (to read register B) between the two
operations inline (to read register A). Unless you want to know the version
information for your garbage latches, that is. Now Indy 8-bit devices
no longer get reported as 24-bit devices, and Indy 24-bit devices no longer
get reported as 8-bit devices. (not that it mattered much anyway)
- define and use symbolic constants when parsing the video mode settings to
figure out the display resolution. This code still itches, but much less now.
|
|
|
|
|
|
|
|
| |
that it can now tell ID-less framebuffers apart correctly. Therefore, we can
use direct configuration instead of ugly games. Frame buffer drivers match
routines now only need to check for the fake ID they receive.
Tested on various newport and grtwo setups (including multihead configurations)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
bus-specific attachment; impactreg.h and impactvar.h move from sgi/xbow/ to
sgi/dev/.
Teach the generic impact code how to code with pre-ImpactSR boards, which have
a slightly different register layout (information obtained from Peter Fuerst's
Linux IP28 patches).
Add an impact@gio attachment (unfortunately untested, no Impact GIO boards
here). All Indigo 2 graphics options should be supported now (assuming the
Extreme/Ultra will actually work with grtwo(4) out of the box).
Tested not to disturb operation on IP30.
** ATTENTION! If you are building IP27 or IP30 kernels, be sure to rm impact.d
** before building a new kernel.
|
|
|
|
|
| |
is disabled, and nothing shows up on the monitor in this case. To be
investigated later.
|
| |
|
|
|
|
| |
register.
|
|
|
|
| |
files, for them to become useful.
|