History log of /src/sys/arch/mac68k/dev/grfvar.h |
Revision | | Date | Author | Comments |
1.32 |
| 26-Jul-2019 |
rin | Add genfb(4) driver for mac68k grfbus. 1, 2, 4, 8, 15, and 32 color-depths are supported.
ANSI colors on console are functional for depth >= 4.
Graphic applications based on wsfb API should work, provided they can correctly handle fbi_fboffset and your color depth.
wsfb driver of Xorg 1.20 and mlterm-fb (framebuffer version of x11/mlterm) work fine for depth == 1 || depth >= 8.
For depth == 8 (256 colors), graphic applications require colormap callback, which is currently supported for some internal graphic adapters, and only Civic (found on Quadra AV series) was tested. Register definition and its usage are taken from Linux. You can easily support other adapters if Linux supports that.
Have fun, and any problem reports are welcomed!
|
1.31 |
| 27-Oct-2012 |
chs | branches: 1.31.38; split device_t/softc for all remaining drivers. replace "struct device *" with "device_t". use device_xname(), device_unit(), etc.
|
1.30 |
| 08-Feb-2011 |
rmind | branches: 1.30.4; 1.30.14; Remove clause 3 (UCB advertising clause) from the University of Utah copyright. Confirmed by Mike Hibler, mike at cs.utah.edu - thanks! Also, merge UCB and Utah copyright texts back into one, as they originally were.
Extra verification by snj@.
|
1.29 |
| 04-Mar-2007 |
christos | branches: 1.29.66; 1.29.72; 1.29.74; Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
|
1.28 |
| 11-Dec-2005 |
christos | branches: 1.28.26; merge ktrace-lwp.
|
1.27 |
| 03-Jun-2005 |
rjs | branches: 1.27.2; Add const.
|
1.26 |
| 15-Jan-2005 |
chs | de-__P, remove register, ansify, b* -> mem*.
|
1.25 |
| 07-Aug-2003 |
agc | Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22364, verified by myself.
|
1.24 |
| 14-Feb-2000 |
scottr | branches: 1.24.28; Merge wscons work onto the main development branch.
|
1.23 |
| 22-Dec-1998 |
scottr | branches: 1.23.2; 1.23.10; vm_offset_t -> {paddr_t, vaddr_t}
|
1.22 |
| 12-Aug-1998 |
scottr | New and improved console framebuffer initialization and autoconfig. This resolves a great many issues, including Performa 58x interrupt handling and offset displays on some models.
Programs that depend on the old (pre-NetBSD 1.1) grf interface may break. That's actually a separate issue uncovered by this code, not caused by it.
|
1.21 |
| 02-Jun-1998 |
scottr | Store the PA of the framebuffer in the softc. This eliminates the need for the sc_phys callback; we can just store the PA in the grfbus attach args, rather than a function pointer, which simplifies the code nicely.
|
1.20 |
| 03-Aug-1997 |
scottr | Adjust prototype for ga_phys field in grfbus_attach_args.
|
1.19 |
| 03-Aug-1997 |
scottr | Adjust grf_establish() prototype.
|
1.18 |
| 03-Aug-1997 |
scottr | Overhaul grf drivers to correct recent problems with X and dt (address error faults), as well as other reported problems:
- Simplify grfmv_phys() to work like grfiv_phys(), and eliminate the second argument to both, as we don't use it anyway. - Handle fbbase and fboff consistently throughout. Closes PR 3862. - Eliminate grfaddr() by pulling it into grfmmap(), which is the only place it was used, previously. - grfmap() now gets the physical address of the framebuffer from the appropriate driver, rather than try to compute it by itself. Be careful with aligning the base to a page address and increase the length of the mapped region appropriately. Closes PR 2867.
|
1.17 |
| 26-Jul-1997 |
scottr | branches: 1.17.2; cli_offset should be a bus_size_t now, and cli_value is an unsigned 32-bit int.
|
1.16 |
| 11-May-1997 |
scottr | Implement new NuBus slot space mapping/probing code, utilizing bus.h (and our MD bus_space_probe() extension). This has several side effects:
- NuBus drivers must map and unmap slot space, rather than relying on this happening before they are attached. - Functions exported to NuBus drivers from nubus.c now need to be supplied with a bus space tag/handle pair. - Old bus map/peek functions can be garbage collected, as can pmap support for the same.
Because of some current limitations of the bus space specification, we are violating the abstraction in grf_mv (NuBus grf driver). All such violations are clearly marked /* XXX */, and must be addressed when the specification is updated.
|
1.15 |
| 01-May-1997 |
briggs | Clear the interrupts properly on an E-Machines Futura II LX and make a wild guess at clearing them on a Futura II SX/DSP and RasterOps ColorBoard 364. Thanks to Michel Chalufour <michelc@tiac.net> for loaning me the II LX.
|
1.14 |
| 01-Apr-1997 |
briggs | - Support DAFB machines mo' better. Actually detect if a monitor is present and initialize a few things. No color support, yet. - Properly disable interrupts for DAFB. - Rearrange for better nubus display card interrupt support. Only register an interrupt if we know how to clear it. - Complain if we don't know about a given display card and can not install an interrupt handler. - Change MYSTERY stuff to cb264--still need to get the DrSW so we can actually call the routine to clear an interrupt from this card.
|
1.13 |
| 14-Sep-1996 |
scottr | Implement poll(2).
|
1.12 |
| 14-Sep-1996 |
scottr | Update prototypes to match Chris' cfprint_t change. Also, update comments in autoconf.h to reflect the mainbus.c split.
|
1.11 |
| 04-Aug-1996 |
scottr | Add a way to tell grf_establish() that internal video doesn't actually occupy a slot. This is necessary so that GRFIOCMAP can find the correct physical address of the framebuffer. Fixes P550, some LC models, and perhaps the PB520.
|
1.10 |
| 19-May-1996 |
scottr | branches: 1.10.4; New grf attachment code, mostly by Jason Thorpe with some cleanup by me. This will allow dt and X to work with a generic kernel, rather than compiling different kernels that attach grf0 to a NuBus adapter or internal video.
|
1.9 |
| 05-May-1996 |
briggs | Prototype for -Wall -Wstrict-prototypes -Wmissing-prototypes -Wno-uninitialized Also change the device probing scheme to use something a bit more rational. A current side-effect is that nubus cards are double-mapped. I expect to fix that shortly. Also change splclock() to block everything but serial hardware interrupts.
|
1.8 |
| 06-Jul-1995 |
briggs | Add another routine for the grf display-specific drivers to return a physical address.
|
1.7 |
| 29-Apr-1995 |
briggs | Add new nubus handling that's much more robust. Update via, if_ae, and grf accordingly. Revamp grf.
|
1.6 |
| 21-Apr-1995 |
briggs | Handle grf_softc in the config.new manner. Should have been done long ago.
|
1.5 |
| 21-Apr-1995 |
briggs | First pass of KNFication. Needs more.
|
1.4 |
| 23-Mar-1995 |
briggs | KERNEL -> _KERNEL
|
1.3 |
| 26-Oct-1994 |
cgd | new RCS ID format.
|
1.2 |
| 29-Nov-1993 |
briggs | Update to current work in progress. This includes an update to use config.new. Numerous updates to console so it works better on the SE/30 screen. Some nice changes from Brad Parker for handling NuBUS and an ethernet driver that I haven't worked on, yet.
|
1.1 |
| 29-Sep-1993 |
briggs | branches: 1.1.1; Initial revision
|
1.1.1.1 |
| 29-Sep-1993 |
briggs | The current MacBSD architecture sub-directory for NetBSD-0.9--more or less. It needs some help to get to be -current. Support for minimal hardware on the SE/30, II, IIx, and IIcx exists.
|
1.10.4.1 |
| 05-Aug-1996 |
jtc | Pulled up from rev 1.11 by request from Scott Reynolds
|
1.17.2.1 |
| 23-Aug-1997 |
thorpej | Update marc-pcmcia branch from trunk.
|
1.23.10.1 |
| 20-Nov-2000 |
bouyer | Update thorpej_scsipi to -current as of a month ago A i386 GENERIC kernel compiles without the siop, ahc and bha drivers (will be updated later). i386 IDE/ATAPI and ncr work, as well as sparc/esp_sbus. alpha should work as well (untested yet). siop, ahc and bha will be updated once I've updated the branch to current -current, as well as machine-dependant code.
|
1.23.2.2 |
| 20-Nov-1999 |
scottr | G/C the sc_isopen field in out softc.
|
1.23.2.1 |
| 15-Nov-1999 |
scottr | Implement a more straightforward approach to grf emulation.
|
1.24.28.5 |
| 10-Nov-2005 |
skrll | Sync with HEAD. Here we go again...
|
1.24.28.4 |
| 17-Jan-2005 |
skrll | Sync with HEAD.
|
1.24.28.3 |
| 21-Sep-2004 |
skrll | Fix the sync with head I botched.
|
1.24.28.2 |
| 18-Sep-2004 |
skrll | Sync with HEAD.
|
1.24.28.1 |
| 03-Aug-2004 |
skrll | Sync with HEAD
|
1.27.2.1 |
| 03-Sep-2007 |
yamt | sync with head.
|
1.28.26.1 |
| 12-Mar-2007 |
rmind | Sync with HEAD.
|
1.29.74.1 |
| 17-Feb-2011 |
bouyer | Sync with HEAD
|
1.29.72.1 |
| 06-Jun-2011 |
jruoho | Sync with HEAD.
|
1.29.66.1 |
| 05-Mar-2011 |
rmind | sync with head
|
1.30.14.1 |
| 20-Nov-2012 |
tls | Resync to 2012-11-19 00:00:00 UTC
|
1.30.4.1 |
| 30-Oct-2012 |
yamt | sync with head
|
1.31.38.1 |
| 13-Apr-2020 |
martin | Mostly merge changes from HEAD upto 20200411
|