Home | History | Annotate | Download | only in dev
History log of /src/sys/arch/amiga/dev/grf_rt.c
RevisionDateAuthorComments
 1.62  03-May-2022  andvar fix various typos, mainly s/trasfering/transferring/ and s/theese/these/.
 1.61  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.60  07-Aug-2021  thorpej Merge thorpej-cfargs2.
 1.59  27-Apr-2021  thorpej branches: 1.59.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.58  18-Oct-2014  snj branches: 1.58.36;
src is too big these days to tolerate superfluous apostrophes. It's
"its", people!
 1.57  08-Nov-2012  rkujawa Make Amiga video drivers work again after device/softc changes.
Patch from chs@.
 1.56  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.55  15-Dec-2011  phx branches: 1.55.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.54  26-Oct-2009  cegger branches: 1.54.12; 1.54.16;
kill extra whitespaces
reviewed by tsutsui@
 1.53  18-Mar-2009  cegger bcopy -> memcpy
 1.52  05-Mar-2007  he branches: 1.52.44; 1.52.52; 1.52.58;
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.51  04-Mar-2007  christos Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
 1.50  11-Dec-2005  christos branches: 1.50.26;
merge ktrace-lwp.
 1.49  13-Jun-2005  jmc branches: 1.49.2;
Fix some shadowing of variables
 1.48  20-Jan-2003  simonb branches: 1.48.2;
The Double-Semi-Colon Police.
 1.47  01-Jan-2003  thorpej Use aprint_normal() for cfprint routines.
 1.46  02-Oct-2002  thorpej Use CFATTACH_DECL().
 1.45  27-Sep-2002  thorpej Declare all cfattach structures const.
 1.44  06-Sep-2002  gehenna Merge the gehenna-devsw branch into the trunk.

This merge changes the device switch tables from static array to
dynamically generated by config(8).

- All device switches is defined as a constant structure in device drivers.

- The new grammer ``device-major'' is introduced to ``files''.

device-major <prefix> char <num> [block <num>] [<rules>]

- All device major numbers must be listed up in port dependent majors.<arch>
by using this grammer.

- Added the new naming convention.
The name of the device switch must be <prefix>_[bc]devsw for auto-generation
of device switch tables.

- The backward compatibility of loading block/character device
switch by LKM framework is broken. This is necessary to convert
from block/character device major to device name in runtime and vice versa.

- The restriction to assign device major by LKM is completely removed.
We don't need to reserve LKM entries for dynamic loading of device switch.

- In compile time, device major numbers list is packed into the kernel and
the LKM framework will refer it to assign device major number dynamically.
 1.43  03-Aug-2002  itojun correct range check, have overflow check, fix type mismatches,
for cmap args and some other calls. from openbsd
 1.42  17-Mar-2002  atatat branches: 1.42.4; 1.42.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.41  28-Jan-2002  aymeric add __KERNEL_RCSID as suggested by Luke Mewburn
 1.40  26-Jan-2002  aymeric - ANSIfy
- remove some trailing spaces/tabs
- minor style nits
 1.39  20-Aug-2001  wiz branches: 1.39.6;
"wierd" is weird.
 1.38  26-Jul-2001  wiz Various typos in comments (neccessary, sceme, choise, ...).
 1.37  25-Mar-1999  is branches: 1.37.22;
defopt Amiga graphics console options
 1.36  12-Jan-1998  thorpej Adjust for changes to config.
 1.35  29-Jul-1997  veego - Change the check in r[ht]_getvmode for md->DEP == 4 to md->DEP != 4.
This fixes a wrong output from grfconfig /dev/grf[23]
- changes for the grfconfig interface:
- Remove gv->hblank_stop and gv->vblank_stop.
- Only print doublescan and interlace flags. Horizontal/vertical sync
polarities are not yet supported and sync-on-green will never be
supported.
 1.34  23-Dec-1996  veego Get rid of __BROKEN_INDIRECT_CONFIG.
 1.33  13-Oct-1996  christos backout previous kprintf change
 1.32  10-Oct-1996  christos printf -> kprintf, sprintf -> ksprintf
 1.31  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.30  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.29  25-May-1996  is Fix stupid pasto.
 1.28  24-May-1996  is Make the GRFIOCBLANK ioctl set the right timing divisor when switching the
screen back on.
 1.27  19-May-1996  veego branches: 1.27.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.26  01-May-1996  veego Cleanup for -Wall if CV64CONSOLE, ULOWELLCONSOLE or RETINACONSOLE is not
defined.
 1.25  21-Apr-1996  veego - Cleanup for -Wall and -Wstrict-prototypes
- Added support for multiple floppy drives
- CyberVision64:
- has now a real console mode
- another bugfix for boards with the new S3 chip
- Ariadne:
- fixed crashes with aeput (mbuf failure)
 1.24  17-Mar-1996  thorpej New device attachment scheme:

- split softc size and match/attach out from cfdriver into
a new struct cfattach.

- new "attach" directive for files.*. May specify the name of
the cfattach structure, so that devices may be easily attached
to parents with different autoconfiguration semantics.
 1.23  28-Jan-1996  chopps applied patch from 1811 which unifies mode support across gfx boards.
 1.22  23-Feb-1995  chopps fix warnings (br#816)
 1.21  16-Feb-1995  chopps cleanup copyright stuff
 1.20  28-Dec-1994  chopps consolidate the zbusses. le support for multiple tx buffs and full use of 32k
RAM. AGA dbl PAL mode added for console. Many changes to siop--most not
yet done. All from osymh@gemini.oscs.montana.edu (Michael L. Hitch)
 1.19  01-Dec-1994  chopps bring up to current. change sun to sunos. handle changes in device
open params and autoconf match function params.
 1.18  26-Oct-1994  cgd new RCS ID format.
 1.17  31-Jul-1994  chopps branches: 1.17.2;
fix default frequency so that normal VGA monitor types don't puke.
 1.16  23-Jun-1994  chopps branches: 1.16.2;
some various fixes from ahh@netcom.com (Andy Heffernan)
 1.15  15-Jun-1994  chopps clock now uses passed in frequency if present protect dma cache
flush calls from non 040. don't compile ite_xx if not used.
 1.14  05-Jun-1994  chopps add grfrh (retina ziii) from Donn Cave <donn@u.washington.edu>
light cleanup from me. floppy changes, should now be solid.
some changes to ite and ms to fix a couple bugs report by Donn.
 1.13  04-Jun-1994  chopps started out cleaning up amiga_init.c ended up touching alot of files.
 1.12  03-Jun-1994  chopps z buses early config support, needs testing.
 1.11  08-May-1994  chopps resistance is futile, you will be assimilated.
amiga goes: config.new *and* /sys/scsi.
clock code coerced into a single .c file adding an accurate usec delay().
disklabel.c updated to DTRT, code to write RDB's to be added soon.
sbic (old scsi) converted over to new scsi and config this covers about
90% of users. Other drivers soon.
 1.10  26-Apr-1994  chopps don't reinit board twice if it works once.
 1.9  22-Apr-1994  chopps Changed fonts. Added 2 non (c) fonts kf_8x{8,11}.c retina now uses
kf_8x8. CC console users can now choose between the provided fonts
or provide there own.
 1.8  17-Feb-1994  chopps modified to use generic cons. (and some grf defs changed)
 1.7  13-Feb-1994  chopps cleaned up include's relocated grf/* stuf to grfabs*.
 1.6  11-Feb-1994  chopps Add missing Id's
 1.5  01-Feb-1994  chopps SCSI re-org, and misc. cleanup of compiler warnings.
 1.4  26-Jan-1994  mw Integrate recent changes done to the amiga branch. Includes support
for the '40.
Support for more scsi controllers (zeus, magnum)
Support for more tapes (in st.c)
New custom chip console code integrated.
 1.3  31-Oct-1993  mw Change gfx-drivers to used g_data for their private data, and use regaddr
for what it's meant, that's to point to the register area. Now, both
gfx drivers should be fairly controllable from user-level applications.
 1.2  30-Oct-1993  mw new tree for amiga, replacing the bogous previous one.
SunOS support works for a lot of executables now (static and dynamic).
 1.1  02-Sep-1993  mw branches: 1.1.1;
Initial revision
 1.1.1.1  02-Sep-1993  mw Update of arch/amiga tree, includes
- realtime clock support for a2k and a3k
- scsi drivers for a2091 and gvp-II controllers in a2k
- working ethernet driver for a2065/ameristar lance-controllers
 1.16.2.1  03-Aug-1994  cgd from trunk.
 1.17.2.2  31-Jul-1994  chopps fix default frequency so that normal VGA monitor types don't puke.
 1.17.2.1  31-Jul-1994  chopps file grf_rt.c was added on branch netbsd-1-0 on 1994-07-31 18:42:07 +0000
 1.27.4.2  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.27.4.1  26-May-1996  is Pull up of bug fixes for Retina screenblank ioctl and an unused variable
warning from if_ae when building INSTALL (that is, without bpfilter) kernels.
 1.37.22.6  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.37.22.5  06-Sep-2002  jdolecek sync kqueue branch with HEAD
 1.37.22.4  23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.37.22.3  11-Feb-2002  jdolecek Sync w/ -current.
 1.37.22.2  25-Aug-2001  thorpej Merge Aug 24 -current into the kqueue branch.
 1.37.22.1  03-Aug-2001  lukem update to -current
 1.39.6.7  03-Jan-2003  thorpej Sync with HEAD.
 1.39.6.6  18-Oct-2002  nathanw Catch up to -current.
 1.39.6.5  17-Sep-2002  nathanw Catch up to -current.
 1.39.6.4  13-Aug-2002  nathanw Catch up to -current.
 1.39.6.3  01-Apr-2002  nathanw Catch up to -current.
(CVS: It's not just a program. It's an adventure!)
 1.39.6.2  28-Feb-2002  nathanw Catch up to -current.
 1.39.6.1  20-Aug-2001  nathanw file grf_rt.c was added on branch nathanw_sa on 2002-02-28 04:06:41 +0000
 1.42.6.1  07-Aug-2002  lukem Pull up revision 1.43 (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.42.4.2  30-Aug-2002  gehenna catch up with -current.
 1.42.4.1  16-May-2002  gehenna Remove BANKEDDEVPAGER stuff.
 1.48.2.1  10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.49.2.1  03-Sep-2007  yamt sync with head.
 1.50.26.1  12-Mar-2007  rmind Sync with HEAD.
 1.52.58.1  13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.52.52.1  28-Apr-2009  skrll Sync with HEAD.
 1.52.44.2  11-Mar-2010  yamt sync with head
 1.52.44.1  04-May-2009  yamt sync with head.
 1.54.16.1  18-Feb-2012  mrg merge to -current.
 1.54.12.3  16-Jan-2013  yamt sync with (a bit old) head
 1.54.12.2  30-Oct-2012  yamt sync with head
 1.54.12.1  17-Apr-2012  yamt sync with head
 1.55.6.2  03-Dec-2017  jdolecek update from HEAD
 1.55.6.1  20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.58.36.1  13-May-2021  thorpej Sync with HEAD.
 1.59.6.1  03-Aug-2021  thorpej Adapt to CFARGS().

RSS XML Feed