Home | History | Annotate | Download | only in dev
History log of /src/sys/arch/amiga/dev/grf_et.c
RevisionDateAuthorComments
 1.41  20-Dec-2023  thorpej Remove unnecessary <sys/malloc.h> include.
 1.40  28-Mar-2022  riastradh sys: Split struct device into a private device_impl.h.

Include this only inside autoconf itself, and a few files that abuse
autoconf in ways I can't confidently make easy fixes for.

XXX kernel ABI change requires bump -- no more use of struct device
internals allowed, previously done by some drivers
 1.39  26-Dec-2021  andvar fix various typos, mainly in comments.
 1.38  07-Aug-2021  thorpej Merge thorpej-cfargs2.
 1.37  27-Apr-2021  thorpej branches: 1.37.6;
The Amiga and Atari ports abuse some autoconfiguration internals as part
of their early console bring-up, so we need to expose some of the new
internals to them and adapt the call sites.
 1.36  05-Mar-2018  rin branches: 1.36.20;
Remove duplicate vgaw() accidentally introduced in the previous revision.
 1.35  05-Mar-2018  christos use an inline function for the "4 reads"
 1.34  04-Mar-2018  mrg avoid gcc 6 indentation issues. rewrite:
if (vgar()); if (vgar()); if (vgar()); if (vgar());
as
vgar();
vgar();
vgar();
vgar();

verified the ass output has the 4 reads (the macro uses a
volatile pointer, so it should remain so too.)
 1.33  04-Nov-2016  phx wscons and Xorg support for Tseng ET4000/W32 based boards (grf6).
 1.32  22-Jan-2014  christos branches: 1.32.6; 1.32.10;
gcc-4.8.x unused variable fixes
 1.31  08-Nov-2012  rkujawa branches: 1.31.2;
Make Amiga video drivers work again after device/softc changes.
Patch from chs@.
 1.30  27-Oct-2012  chs split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.
 1.29  15-Dec-2011  phx branches: 1.29.6;
Amiga wscons/Xorg support, first phase.
Implemented wscons for CV64 and CV64/3D. Other graphics cards drivers are
prepared for it, but will not be attempted before Xorg is not running.
The wscons support is disabled by default. A GENERIC kernel should behave
like always. Use WSCONS to try out a kernel with wscons support.
Done by rkujawa@ and phx@.
 1.28  26-Oct-2009  cegger branches: 1.28.12; 1.28.16;
kill extra whitespaces
reviewed by tsutsui@
 1.27  18-Mar-2009  cegger bcopy -> memcpy
 1.26  17-Oct-2007  garbled branches: 1.26.20; 1.26.28; 1.26.34;
Merge the ppcoea-renovation branch to HEAD.

This branch was a major cleanup and rototill of many of the various OEA
cpu based PPC ports that focused on sharing as much code as possible
between the various ports to eliminate near-identical copies of files in
every tree. Additionally there is a new PIC system that unifies the
interface to interrupt code for all different OEA ppc arches. The work
for this branch was done by a variety of people, too long to list here.

TODO:
bebox still needs work to complete the transition to -renovation.
ofppc still needs a bunch of work, which I will be looking at.
ev64260 still needs to be renovated
amigappc was not attempted.

NOTES:
pmppc was removed as an arch, and moved to a evbppc target.
 1.25  20-Aug-2007  is branches: 1.25.2;
First part of amigappc support patches by Frank Wille.
 1.24  05-Mar-2007  he branches: 1.24.2; 1.24.10; 1.24.14; 1.24.18;
Make the various graphics card drivers compile again.
Use casts to char* before pointer arithmetic.
Try to preserve `volatile' qualification where possible, though
uses of kvtop(), strcpy(), copyin() and copyout() gain an unfortunate
but probably unavoidable __UNVOLATILE().
Correct various instances of "void *ba, fb" to have * in front of fb as well.
Remove some redundant parenthesis pairs in some of the vga* macros.
 1.23  04-Mar-2007  christos Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
 1.22  24-Nov-2006  wiz branches: 1.22.4;
s/independant/independent/, from Zafer.
 1.21  18-Apr-2003  is branches: 1.21.18; 1.21.48; 1.21.50;
fix fatal typo
 1.20  18-Apr-2003  is iszthreepa() takes a physical address, not a virtual address.
This fixes PR 19175, reported and heavily debugged by Pawel Chwalowski.
 1.19  01-Jan-2003  thorpej Use aprint_normal() for cfprint routines.
 1.18  02-Oct-2002  thorpej Use CFATTACH_DECL().
 1.17  27-Sep-2002  thorpej Declare all cfattach structures const.
 1.16  03-Aug-2002  itojun correct range check, have overflow check, fix type mismatches,
for cmap args and some other calls. from openbsd
 1.15  17-Mar-2002  atatat branches: 1.15.4; 1.15.6;
Convert ioctl code to use EPASSTHROUGH instead of -1 or ENOTTY for
indicating an unhandled "command". ERESTART is -1, which can lead to
confusion. ERESTART has been moved to -3 and EPASSTHROUGH has been
placed at -4. No ioctl code should now return -1 anywhere. The
ioctl() system call is now properly restartable.
 1.14  28-Jan-2002  aymeric add __KERNEL_RCSID as suggested by Luke Mewburn
 1.13  26-Jan-2002  aymeric - ANSIfy
- remove some trailing spaces/tabs
- minor style nits
 1.12  25-Mar-1999  is branches: 1.12.18; 1.12.22; 1.12.26;
defopt Amiga graphics console options
 1.11  12-Jan-1998  thorpej Adjust for changes to config.
 1.10  29-Jul-1997  veego - increase the number of possible grfmodes from 8 to 24
- changes for the grfconfig interface:
- Remove gv->{hblank_stop,vblank_stop} and calculate HBE and VBE from
gv->{htotal,vtotal}.
- Add support for gv->disp_flags to select interlace, doublescan and
horizontal/vertical sync polarity.
- Return EINVAL for gv->disp_flags and sync-on-green.
This makes it possible to use xfree values for grfconfig.
 1.9  05-Mar-1997  veego branches: 1.9.2;
- Merlin works now in ZorroIII mode
- Fixes for Interlace and DoubleScan
- Memorysizedetction for 1MB Bords
- HiColor and TrueColor Support
- support for the Domino 16M proto card
 1.8  23-Dec-1996  veego Get rid of __BROKEN_INDIRECT_CONFIG.
 1.7  13-Oct-1996  christos backout previous kprintf change
 1.6  10-Oct-1996  christos printf -> kprintf, sprintf -> ksprintf
 1.5  08-Oct-1996  thorpej Merge netbsd-1-2 branch back into mainline.
 1.4  27-Aug-1996  cgd change cfprint_t type definition to take a const char *, rather than
a char *, because that's what was really intended, and because
if the print function modifies the string, various things could become
unhappy (so the string should _not_ be modified).
 1.3  09-Jun-1996  veego Make this really work on the Domino. Patch from Klaus Burkert
 1.2  03-Jun-1996  is #define GRFIOCBLANK_LIVE and GRFIOCBLANK_DARK in grfioctl.h to make absolutely
clear which switches the video signal on and which off.
Make all grf_??.c (which supported it) use the same polarity of the test.
While being here, use a > test instead of implicit != to make it extensible
to darker than dark values for power managment systems.
 1.1  19-May-1996  veego branches: 1.1.4;
- grf_cl.c, grf_clreg.h: added support for Piccolo SD64
- grf_cv.c, grf_cvreg.h, ite_cv.c: some cleanups
- grf_rh.c, grf_rhreg.h, grf_rt.c: new blank ioctl and some KNF
- grf_et.c, grf_etreg.h, ite_et.c: new graphics driver for et4000 based board
(oMniBus, Domino and Merlin)
- grfabs_cc: fix PR#2034
- grfvar.h: new grfunit for GRF_ET4000_UNIT
- scsidefs.h: no longer useful
- zbus.c: new entries for: Piccolo SD64, oMniBus, Domino and Merlin
 1.1.4.5  11-Jun-1996  is from trunk: leave room for darkerthan dark, which is now possible to add in the future in a compatible way; with jtc's permission
 1.1.4.4  11-Jun-1996  veego put a few spaces around some ='s
 1.1.4.3  11-Jun-1996  thorpej Pullup from trunk, at veego's request.
 1.1.4.2  04-Jun-1996  is Minimalist change to make this driver behave like the others on GRFIOCBLANK
and FBIOCSVIDEO.
 1.1.4.1  27-May-1996  is Fixes by Tobias Abt for Amiga Tseng driver: handle Zorro-III variants of these
boards correctly.
 1.9.2.2  05-Mar-1997  veego - Merlin works now in ZorroIII mode
- Fixes for Interlace and DoubleScan
- Memorysizedetction for 1MB Bords
- HiColor and TrueColor Support
- support for the Domino 16M proto card
 1.9.2.1  05-Mar-1997  veego file grf_et.c was added on branch is-newarp on 1997-03-05 22:50:39 +0000
 1.12.26.5  03-Jan-2003  thorpej Sync with HEAD.
 1.12.26.4  18-Oct-2002  nathanw Catch up to -current.
 1.12.26.3  13-Aug-2002  nathanw Catch up to -current.
 1.12.26.2  01-Apr-2002  nathanw Catch up to -current.
(CVS: It's not just a program. It's an adventure!)
 1.12.26.1  28-Feb-2002  nathanw Catch up to -current.
 1.12.22.4  10-Oct-2002  jdolecek sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work
 1.12.22.3  06-Sep-2002  jdolecek sync kqueue branch with HEAD
 1.12.22.2  23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.12.22.1  11-Feb-2002  jdolecek Sync w/ -current.
 1.12.18.1  27-May-2003  msaitoh Pullup rev. 1.20-1.21 (requested by Ignatios in ticket #42)
iszthreepa() takes a physical address, not a virtual address.
Fixes PR#19175
 1.15.6.2  16-Jun-2003  grant Pull up revisions 1.20-1.21 (requested by is in ticket #1266):

iszthreepa() takes a physical address, not a virtual address.
This fixes PR 19175, reported and heavily debugged by Pawel
Chwalowski.

fix fatal typo
 1.15.6.1  07-Aug-2002  lukem Pull up revision 1.16 (requested by itojun in ticket #616):
correct range check, have overflow check, fix type mismatches,
for cmap args and some other calls. from openbsd
 1.15.4.1  30-Aug-2002  gehenna catch up with -current.
 1.21.50.1  10-Dec-2006  yamt sync with head.
 1.21.48.1  12-Jan-2007  ad Sync with head.
 1.21.18.2  03-Sep-2007  yamt sync with head.
 1.21.18.1  30-Dec-2006  yamt sync with head.
 1.22.4.1  12-Mar-2007  rmind Sync with HEAD.
 1.24.18.1  03-Sep-2007  jmcneill Sync with HEAD.
 1.24.14.1  03-Sep-2007  skrll Sync with HEAD.
 1.24.10.1  03-Oct-2007  garbled Sync with HEAD
 1.24.2.1  09-Oct-2007  ad Sync with head.
 1.25.2.1  06-Nov-2007  matt sync with HEAD
 1.26.34.1  13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.26.28.1  28-Apr-2009  skrll Sync with HEAD.
 1.26.20.2  11-Mar-2010  yamt sync with head
 1.26.20.1  04-May-2009  yamt sync with head.
 1.28.16.1  18-Feb-2012  mrg merge to -current.
 1.28.12.4  22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.28.12.3  16-Jan-2013  yamt sync with (a bit old) head
 1.28.12.2  30-Oct-2012  yamt sync with head
 1.28.12.1  17-Apr-2012  yamt sync with head
 1.29.6.3  03-Dec-2017  jdolecek update from HEAD
 1.29.6.2  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.29.6.1  20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.31.2.1  18-May-2014  rmind sync with head
 1.32.10.1  07-Jan-2017  pgoyette Sync with HEAD. (Note that most of these changes are simply $NetBSD$
tag issues.)
 1.32.6.1  05-Dec-2016  skrll Sync with HEAD
 1.36.20.1  13-May-2021  thorpej Sync with HEAD.
 1.37.6.1  03-Aug-2021  thorpej Adapt to CFARGS().

RSS XML Feed