History log of /src/sys/arch/mac68k/dev/macfb.c |
Revision | | Date | Author | Comments |
1.23 |
| 07-Aug-2021 |
thorpej | Merge thorpej-cfargs2.
|
1.22 |
| 24-Apr-2021 |
thorpej | branches: 1.22.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.21 |
| 19-Dec-2020 |
thorpej | branches: 1.21.2; malloc(9) -> kmem(9)
|
1.20 |
| 27-Oct-2012 |
chs | branches: 1.20.50; split device_t/softc for all remaining drivers. replace "struct device *" with "device_t". use device_xname(), device_unit(), etc.
|
1.19 |
| 17-Oct-2007 |
garbled | branches: 1.19.54; 1.19.64; 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.18 |
| 29-Aug-2007 |
jmmv | Pack all global video-related variables into a structure for clarity.
A comment said that they weren't in a struct for speed reasons but... this should not affect performance because these variables are mostly used to set other variables (hence they are read few times).
|
1.17 |
| 29-Aug-2007 |
jmmv | Move the definition of multiple video-related variables into a new header file (machine/video.h) so that we can kill all the "manual" externs spread around the code (which were inconsistent among them).
|
1.16 |
| 29-Aug-2007 |
jmmv | Split the global videosize variable into videowidth and videoheight: makes the code clearer and avoids multiple parts of it having to know how videosize was encoded.
|
1.15 |
| 04-Mar-2007 |
christos | branches: 1.15.2; 1.15.10; 1.15.14; 1.15.18; 1.15.20; Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
|
1.14 |
| 12-Apr-2006 |
jmmv | branches: 1.14.14; Add an extra cookie to the ioctl and mmap wsdisplay accessops that points to the screen on which they are being called. The driver cannot guess this by itself but it is needed to implement, at least, the getwschar and putwschar functions in the correct place. There are no functional changes yet.
Tested on i386 (vga, vga_raster, machfb, vesafb), macppc and sparc64. Suggested and reviewed by macallan@.
|
1.13 |
| 28-Mar-2006 |
thorpej | Use device_unit().
|
1.12 |
| 11-Dec-2005 |
christos | branches: 1.12.4; 1.12.6; 1.12.8; 1.12.10; 1.12.12; merge ktrace-lwp.
|
1.11 |
| 15-Jan-2005 |
chs | branches: 1.11.10; de-__P, remove register, ansify, b* -> mem*.
|
1.10 |
| 15-Jul-2003 |
lukem | __KERNEL_RCSID()
|
1.9 |
| 02-Oct-2002 |
thorpej | branches: 1.9.6; Use CFATTACH_DECL().
|
1.8 |
| 27-Sep-2002 |
thorpej | Declare all cfattach structures const.
|
1.7 |
| 04-Jul-2002 |
junyoung | alloc_attr -> allocattr
Approved by Matthias Drochner.
|
1.6 |
| 17-Mar-2002 |
atatat | branches: 1.6.4; 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.5 |
| 22-Oct-2000 |
scottr | branches: 1.5.4; 1.5.8; Replace the call to macfb_init() when attaching a non-console fb device with a call to macfb_clear().
[The purpose of macfb_init() is almost exclusively to initialize the raster console blitter. We really, really do not want to do this unless we are actually initializing the console device, else we'll give rcons the attributes of the last-seen fb device. These will not necessarily correspond to the attributes of the actual console device!]
|
1.4 |
| 26-Jun-2000 |
simonb | Change the kernel mmap interface so that the offset to map is an "off_t" and the return value is a "paddr_t" to allow mappings at offsets past 2^31 bytes. Somewhat inspired by FreeBSD, which only changed the offset to a "vm_offset_t".
Includes updates for the i386, pc532 and sh3 mmmmap from Jason Thorpe.
|
1.3 |
| 17-Mar-2000 |
scottr | branches: 1.3.4; Resurrect a chunk of code from the ite driver that we lost along the way. This code is necessary for SE/30 internal video, at a minimum.
|
1.2 |
| 14-Feb-2000 |
scottr | Merge wscons work onto the main development branch.
|
1.1 |
| 08-Mar-1999 |
scottr | branches: 1.1.2; 1.1.4; file macfb.c was initially added on branch scottr-mac68k-wscons.
|
1.1.4.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.1.2.11 |
| 12-Feb-2000 |
scottr | Remove ite emulation code. This is now done by the ite pseudo-device.
|
1.1.2.10 |
| 24-Dec-1999 |
scottr | Calculate the rcons start-of-pixels value correctly.
|
1.1.2.9 |
| 13-Dec-1999 |
scottr | A change and a bugfix, inadvertantly committed together:
- Catch up with recent change to the show_screen accessop.
- Be careful to set dc_paddr/dc_vaddr to page-aligned values, and use dc_offset to take up the slack.
|
1.1.2.8 |
| 23-Nov-1999 |
scottr | Transpose error in rcons_init args.
|
1.1.2.7 |
| 21-Nov-1999 |
scottr | Bump maxcols to 192 so that we don't artificially limit 1152x864 displays. Noted by Frederick Bruckman.
|
1.1.2.6 |
| 20-Nov-1999 |
scottr | Pull out the code to clear the display into a separate function.
|
1.1.2.5 |
| 15-Nov-1999 |
scottr | Implement a more straightforward approach to grf emulation.
|
1.1.2.4 |
| 02-Nov-1999 |
scottr | [Redo] Catch up to uvm_mmap() interface change.
|
1.1.2.3 |
| 16-May-1999 |
scottr | UVM is no longer optional.
|
1.1.2.2 |
| 11-Mar-1999 |
scottr | First cut at grf emulation. Neither GRFIOCMAP nor mmap'ing a wsdisplay device work, though several other grf ioctls are properly emulated.
|
1.1.2.1 |
| 08-Mar-1999 |
scottr | Add output-side support, using existing intvid/macvid support.
|
1.3.4.2 |
| 01-Nov-2000 |
tv | Pullup 1.5 [scottr]: Replace the call to macfb_init() when attaching a non-console fb device with a call to macfb_clear().
|
1.3.4.1 |
| 30-Jun-2000 |
simonb | Pull up mmap paddr_t/off_t changes from trunk.
|
1.5.8.3 |
| 18-Oct-2002 |
nathanw | Catch up to -current.
|
1.5.8.2 |
| 01-Aug-2002 |
nathanw | Catch up to -current.
|
1.5.8.1 |
| 01-Apr-2002 |
nathanw | Catch up to -current. (CVS: It's not just a program. It's an adventure!)
|
1.5.4.3 |
| 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.5.4.2 |
| 06-Sep-2002 |
jdolecek | sync kqueue branch with HEAD
|
1.5.4.1 |
| 23-Jun-2002 |
jdolecek | catch up with -current on kqueue branch
|
1.6.4.1 |
| 16-Jul-2002 |
gehenna | catch up with -current.
|
1.9.6.5 |
| 25-Jan-2005 |
skrll | Adapt to branch.
|
1.9.6.4 |
| 17-Jan-2005 |
skrll | Sync with HEAD.
|
1.9.6.3 |
| 21-Sep-2004 |
skrll | Fix the sync with head I botched.
|
1.9.6.2 |
| 18-Sep-2004 |
skrll | Sync with HEAD.
|
1.9.6.1 |
| 03-Aug-2004 |
skrll | Sync with HEAD
|
1.11.10.2 |
| 03-Sep-2007 |
yamt | sync with head.
|
1.11.10.1 |
| 21-Jun-2006 |
yamt | sync with head.
|
1.12.12.2 |
| 24-May-2006 |
tron | Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
|
1.12.12.1 |
| 31-Mar-2006 |
tron | Merge 2006-03-31 NetBSD-current into the "peter-altq" branch.
|
1.12.10.1 |
| 19-Apr-2006 |
elad | sync with head - hopefully this will work
|
1.12.8.2 |
| 24-May-2006 |
yamt | sync with head.
|
1.12.8.1 |
| 01-Apr-2006 |
yamt | sync with head.
|
1.12.6.1 |
| 22-Apr-2006 |
simonb | Sync with head.
|
1.12.4.1 |
| 09-Sep-2006 |
rpaulo | sync with head
|
1.14.14.1 |
| 12-Mar-2007 |
rmind | Sync with HEAD.
|
1.15.20.1 |
| 06-Nov-2007 |
matt | sync with HEAD
|
1.15.18.1 |
| 03-Sep-2007 |
jmcneill | Sync with HEAD.
|
1.15.14.1 |
| 03-Sep-2007 |
skrll | Sync with HEAD.
|
1.15.10.1 |
| 03-Oct-2007 |
garbled | Sync with HEAD
|
1.15.2.1 |
| 09-Oct-2007 |
ad | Sync with head.
|
1.19.64.1 |
| 20-Nov-2012 |
tls | Resync to 2012-11-19 00:00:00 UTC
|
1.19.54.1 |
| 30-Oct-2012 |
yamt | sync with head
|
1.20.50.1 |
| 03-Jan-2021 |
thorpej | Sync w/ HEAD.
|
1.21.2.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.22.8.1 |
| 04-Aug-2021 |
thorpej | Adapt to CFARGS().
|