Home | History | Annotate | Download | only in dev
History log of /src/sys/arch/amiga/dev/grf_ul.c
RevisionDateAuthorComments
 1.56  20-Dec-2023  thorpej Remove unnecessary <sys/malloc.h> include.
 1.55  28-Aug-2023  andvar rename DEBUG_UL to UL_DEBUG for naming consistency.
remove stray UL_DEBUG definition in grf_ul.c
 1.54  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.53  07-Aug-2021  thorpej Merge thorpej-cfargs2.
 1.52  27-Apr-2021  thorpej branches: 1.52.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.51  03-Nov-2016  kamil branches: 1.51.32;
Prefer modern simple past tense and past participle of catch

The "catched" form is obsolete and nonstandard, prefer "caught".
 1.50  22-Jan-2014  christos branches: 1.50.6; 1.50.10;
gcc-4.8.x unused variable fixes
 1.49  08-Nov-2012  rkujawa branches: 1.49.2;
Make Amiga video drivers work again after device/softc changes.
Patch from chs@.
 1.48  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.47  15-Dec-2011  phx branches: 1.47.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.46  26-Oct-2009  cegger branches: 1.46.12; 1.46.16;
kill extra whitespaces
reviewed by tsutsui@
 1.45  18-Mar-2009  cegger bcopy -> memcpy
 1.44  14-Mar-2009  dsl ANSIfy another 1261 function definitions.
The only ones left in sys are beyond by sed script!
(or in sys/dist or sys/external)
Mostly they have function pointer parameters.
 1.43  14-Mar-2009  dsl Change about 4500 of the K&R function definitions to ANSI ones.
There are still about 1600 left, but they have ',' or /* ... */
in the actual variable definitions - which my awk script doesn't handle.
There are also many that need () -> (void).
(The script does handle misordered arguments.)
 1.42  28-Apr-2008  martin branches: 1.42.8; 1.42.14;
Remove clause 3 and 4 from TNF licenses
 1.41  05-Mar-2007  he branches: 1.41.40; 1.41.42; 1.41.44;
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.40  04-Mar-2007  christos Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
 1.39  24-Dec-2005  perry branches: 1.39.26;
Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete.
 1.38  11-Dec-2005  christos merge ktrace-lwp.
 1.37  13-Feb-2004  wiz branches: 1.37.16;
Uppercase CPU, plural is CPUs.
 1.36  06-Jan-2003  wiz branches: 1.36.2;
interrupt with two rs.
 1.35  01-Jan-2003  thorpej Use aprint_normal() for cfprint routines.
 1.34  02-Oct-2002  thorpej Use CFATTACH_DECL().
 1.33  27-Sep-2002  thorpej Declare all cfattach structures const.
 1.32  03-Aug-2002  itojun correct range check, have overflow check, fix type mismatches,
for cmap args and some other calls. from openbsd
 1.31  17-Mar-2002  atatat branches: 1.31.4; 1.31.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.30  28-Jan-2002  aymeric add __KERNEL_RCSID as suggested by Luke Mewburn
 1.29  26-Jan-2002  aymeric - ANSIfy
- remove some trailing spaces/tabs
- minor style nits
 1.28  25-Mar-1999  is branches: 1.28.22; 1.28.26;
defopt Amiga graphics console options
 1.27  16-Feb-1999  is Fix Copyright dates
 1.26  16-Feb-1999  is Assign my files to The NetBSD Foundation, Inc.
 1.25  12-Jan-1998  thorpej Adjust for changes to config.
 1.24  29-Jul-1997  veego - changes for the grfconfig interface (provided by Ignatios Souvatzis):
- Remove gv->{hblank_stop,vblank_stop} and use the other grfvideo_mode
values to set ba->data.
- Add gv->disp_flags to select interlace.
- Not yet supported are: doublescan, sync-on-green and the horizontal/vertical
sync polarity.
This makes it possible to use xfree values for grfconfig.
 1.23  23-Dec-1996  veego Get rid of __BROKEN_INDIRECT_CONFIG.
 1.22  13-Oct-1996  christos backout previous kprintf change
 1.21  10-Oct-1996  christos printf -> kprintf, sprintf -> ksprintf
 1.20  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.19  08-Jul-1996  is Cleaned up copyright notice, fixed a typo, and sync the comment in the
GSP assembler file with reality.
 1.18  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.17  09-May-1996  is branches: 1.17.4;
First part of M68060 and DraCo support.

* for the M68060 part: store buffer and branch target cache aren't
enabled yet (this needs cleanup of lots of locore.s code which is a
maze of little passages, all a little different) (and it wasn't yet
tested in an accellerated Amiga, only in the DraCo).

I've included a workaround for 2 of the CPU bugs in chips with Masks
1F43G and earlier, but didn't bother to deal with the can of worms
in the [0-3]D11W chips. Be sure to get "68060 rev. 1" or more
reported at kernel startup time, or at least mention it (or the mask
revision, if available) when reporting problems.

* for the DraCo: only machines with a CIA timer.

I assigned machine id 32000+nn (0x7Dnn), where n is the machine
readable Quicklogic custom chip revision (also printed at boot
time). "Guaranteed to work" up to rev. 3, newer DraCo's aren't
guaranteed to have any CIA (we don't have a driver for the new timer
yet).

Supported are:

- MF-II keyboards on the native interface and A3000 keyboards via
the CIA.
- builtin SCSI interface (yet another instance of siop)
- CIA timer.
- Zorro II devices which don't do DMA (don't get mapped to Zorro II
address space in the DraCo)
- "local bus" devices which are autoconfigured by the boot rom
(should be all); only an Altais driver is there (looks like a Retina Z3)

Not yet supported are:

- native timer of newer machines.
- Real Time Clock.
- serial, parallel + floppy on the SuperIO chip (that is also: no mouse)

XXX You need an enhanced boot loader, which will committed in a few days.

XXX std.draco should and will go away.
 1.16  01-May-1996  veego Cleanup for -Wall if CV64CONSOLE, ULOWELLCONSOLE or RETINACONSOLE is not
defined.
 1.15  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.14  17-Mar-1996  mhitch Clean up typos and other errors from new device attachment changes.
 1.13  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.12  04-Mar-1996  is Grr... my fault when send-pr'ing the "CPU too fast" error patch. The chip
is called BT458, not BT478.
 1.11  28-Jan-1996  chopps fix bounds check #1939
 1.10  27-Dec-1995  chopps add support for GRFIOCBLANK (pr#1810) from Ignatios Souvatzis
 1.9  27-Dec-1995  chopps fix initializtion (pr#1853) from Ignatios Souvatzis
 1.8  30-Nov-1995  jtc merge in changes from 1.1 release branch
 1.7  09-Oct-1995  chopps branches: 1.7.2;
update from Ignatios Souvatzis <is@beverly.rhein.de>
 1.6  09-Oct-1995  chopps new cybervision 64 grf from Bernd Ernesti <bernd@arresum.inka.de> and others
update config files (adding missing scsibus entry for aftsc0)
 1.5  07-Oct-1995  chopps update from Ignatios Souvatzis <is@beverly.rhein.de>
 1.4  07-Oct-1995  chopps transpose osc values from Ignatios Souvatzis <is@beverly.rhein.de>
 1.3  29-Sep-1995  chopps fix wrong arg to strncpy
 1.2  18-Aug-1995  chopps resolve conflict with grf_rt over monitor_defs symbol
 1.1  18-Aug-1995  chopps new a2410 driver from is@Beverly.Rhein.DE (Ignatios Souvatzis)
 1.7.2.2  04-Mar-1996  is Two bug fixes from -current:
1) remove a timing assumption in grf_ul.c which breaks on Amigas with
68040 accelerator boards
2) correct an off-by-one error in a test which made grf_ul reject the last
monitor definition in the table.
 1.7.2.1  10-Nov-1995  chopps update grf_ul; support files now only used if needed.
 1.17.4.1  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.28.26.6  07-Jan-2003  thorpej Sync with HEAD.
 1.28.26.5  03-Jan-2003  thorpej Sync with HEAD.
 1.28.26.4  18-Oct-2002  nathanw Catch up to -current.
 1.28.26.3  13-Aug-2002  nathanw Catch up to -current.
 1.28.26.2  01-Apr-2002  nathanw Catch up to -current.
(CVS: It's not just a program. It's an adventure!)
 1.28.26.1  28-Feb-2002  nathanw Catch up to -current.
 1.28.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.28.22.3  06-Sep-2002  jdolecek sync kqueue branch with HEAD
 1.28.22.2  23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.28.22.1  11-Feb-2002  jdolecek Sync w/ -current.
 1.31.6.1  07-Aug-2002  lukem Pull up revision 1.32 (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.31.4.1  30-Aug-2002  gehenna catch up with -current.
 1.36.2.3  21-Sep-2004  skrll Fix the sync with head I botched.
 1.36.2.2  18-Sep-2004  skrll Sync with HEAD.
 1.36.2.1  03-Aug-2004  skrll Sync with HEAD
 1.37.16.2  03-Sep-2007  yamt sync with head.
 1.37.16.1  21-Jun-2006  yamt sync with head.
 1.39.26.1  12-Mar-2007  rmind Sync with HEAD.
 1.41.44.3  11-Mar-2010  yamt sync with head
 1.41.44.2  04-May-2009  yamt sync with head.
 1.41.44.1  16-May-2008  yamt sync with head.
 1.41.42.1  18-May-2008  yamt sync with head.
 1.41.40.1  02-Jun-2008  mjf Sync with HEAD.
 1.42.14.1  13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.42.8.1  28-Apr-2009  skrll Sync with HEAD.
 1.46.16.1  18-Feb-2012  mrg merge to -current.
 1.46.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.46.12.3  16-Jan-2013  yamt sync with (a bit old) head
 1.46.12.2  30-Oct-2012  yamt sync with head
 1.46.12.1  17-Apr-2012  yamt sync with head
 1.47.6.3  03-Dec-2017  jdolecek update from HEAD
 1.47.6.2  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.47.6.1  20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.49.2.1  18-May-2014  rmind sync with head
 1.50.10.1  04-Nov-2016  pgoyette Sync with HEAD
 1.50.6.1  05-Dec-2016  skrll Sync with HEAD
 1.51.32.1  13-May-2021  thorpej Sync with HEAD.
 1.52.6.1  03-Aug-2021  thorpej Adapt to CFARGS().

RSS XML Feed