History log of /src/sys/arch/sparc64/dev/gfb.c |
Revision | | Date | Author | Comments |
1.12 |
| 20-Dec-2023 |
thorpej | Remove unnecessary <sys/malloc.h>.
|
1.11 |
| 07-Aug-2021 |
thorpej | Merge thorpej-cfargs2.
|
1.10 |
| 24-Apr-2021 |
thorpej | branches: 1.10.8; Merge thorpej-cfargs branch:
Simplify and make extensible the config_search() / config_found() / config_attach() interfaces: rather than having different variants for which arguments you want pass along, just have a single call that takes a variadic list of tag-value arguments.
Adjust all call sites: - Simplify wherever possible; don't pass along arguments that aren't actually needed. - Don't be explicit about what interface attribute is attaching if the device only has one. (More simplification.) - Add a config_probe() function to be used in indirect configuiration situations, making is visibly easier to see when indirect config is in play, and allowing for future change in semantics. (As of now, this is just a wrapper around config_match(), but that is an implementation detail.)
Remove unnecessary or redundant interface attributes where they're not needed.
There are currently 5 "cfargs" defined: - CFARG_SUBMATCH (submatch function for direct config) - CFARG_SEARCH (search function for indirect config) - CFARG_IATTR (interface attribte) - CFARG_LOCATORS (locators array) - CFARG_DEVHANDLE (devhandle_t - wraps OFW, ACPI, etc. handles)
...and a sentinel value CFARG_EOL.
Add some extra sanity checking to ensure that interface attributes aren't ambiguous.
Use CFARG_DEVHANDLE in MI FDT, OFW, and ACPI code, and macppc and shark ports to associate those device handles with device_t instance. This will trickle trough to more places over time (need back-end for pre-OFW Sun OBP; any others?).
|
1.9 |
| 23-Nov-2016 |
macallan | branches: 1.9.30; support WSDISPLAYIO_GET_FBINFO also, use _PREFETCHABLE for rasops
|
1.8 |
| 07-Jul-2016 |
msaitoh | branches: 1.8.2; KNF. Remove extra spaces. No functional change.
|
1.7 |
| 12-Apr-2012 |
macallan | branches: 1.7.2; 1.7.16; - don't mess with more than 256 colour map entries - don't assume that wscons assumes BGR - while there enable alpha
|
1.6 |
| 13-Mar-2012 |
elad | Replace the remaining KAUTH_GENERIC_ISSUSER authorization calls with something meaningful. All relevant documentation has been updated or written.
Most of these changes were brought up in the following messages:
http://mail-index.netbsd.org/tech-kern/2012/01/18/msg012490.html http://mail-index.netbsd.org/tech-kern/2012/01/19/msg012502.html http://mail-index.netbsd.org/tech-kern/2012/02/17/msg012728.html
Thanks to christos, manu, njoly, and jmmv for input.
Huge thanks to pgoyette for spinning these changes through some build cycles and ATF.
|
1.5 |
| 11-Jan-2012 |
macallan | use rasops_init(0, 0)
|
1.4 |
| 01-Jul-2011 |
dyoung | branches: 1.4.2; 1.4.6; #include <sys/bus.h> instead of <machine/bus.h>.
|
1.3 |
| 31-Aug-2010 |
macallan | remove shadow framebuffer support, use VCONS_DONT_READ instead
|
1.2 |
| 31-Dec-2009 |
macallan | branches: 1.2.2; 1.2.4; 1.2.6; add WSDISPLAY_TYPE_XVR1000
|
1.1 |
| 29-Dec-2009 |
macallan | a simple fb driver for Sun XVR-1000 boards
|
1.2.6.1 |
| 05-Mar-2011 |
rmind | sync with head
|
1.2.4.3 |
| 09-Oct-2010 |
yamt | sync with head
|
1.2.4.2 |
| 11-Mar-2010 |
yamt | sync with head
|
1.2.4.1 |
| 31-Dec-2009 |
yamt | file gfb.c was added on branch yamt-nfs-mp on 2010-03-11 15:03:00 +0000
|
1.2.2.1 |
| 22-Oct-2010 |
uebayasi | Sync with HEAD (-D20101022).
|
1.4.6.3 |
| 29-Apr-2012 |
mrg | sync to latest -current.
|
1.4.6.2 |
| 05-Apr-2012 |
mrg | sync to latest -current.
|
1.4.6.1 |
| 18-Feb-2012 |
mrg | merge to -current.
|
1.4.2.1 |
| 17-Apr-2012 |
yamt | sync with head
|
1.7.16.2 |
| 05-Dec-2016 |
skrll | Sync with HEAD
|
1.7.16.1 |
| 09-Jul-2016 |
skrll | Sync with HEAD
|
1.7.2.1 |
| 03-Dec-2017 |
jdolecek | update from HEAD
|
1.8.2.1 |
| 07-Jan-2017 |
pgoyette | Sync with HEAD. (Note that most of these changes are simply $NetBSD$ tag issues.)
|
1.9.30.1 |
| 21-Mar-2021 |
thorpej | Give config_found() the same variadic arguments treatment as config_search(). This commit only adds the CFARG_EOL sentinel to the existing config_found() calls. Conversion of config_found_sm_loc() and config_found_ia() call sites will be in subsequent commits.
|
1.10.8.1 |
| 04-Aug-2021 |
thorpej | Adapt to CFARGS().
|