Home | History | Annotate | Download | only in sun
History log of /src/sys/dev/sun/fb.c
RevisionDateAuthorComments
 1.37  10-Nov-2019  chs in many device attach paths, allocate memory with M_WAITOK instead of M_NOWAIT
and remove code to handle failures that can no longer happen.
 1.36  21-Apr-2016  macallan branches: 1.36.18;
RASTERCONSOLE is gone, wsdisplay no longer optional
 1.35  25-Jul-2014  dholland branches: 1.35.4;
Add d_discard to all struct cdevsw instances I could find.

All have been set to "nodiscard"; some should get a real implementation.
 1.34  16-Mar-2014  dholland branches: 1.34.2;
Change (mostly mechanically) every cdevsw/bdevsw I can find to use
designated initializers.

I have not built every extant kernel so I have probably broken at
least one build; however I've also found and fixed some wrong
cdevsw/bdevsw entries so even if so I think we come out ahead.
 1.33  11-Mar-2010  mrg branches: 1.33.10; 1.33.20; 1.33.24;
various aprint_* fixes.
 1.32  18-Mar-2009  cegger branches: 1.32.2;
bzero -> memset
 1.31  18-Mar-2009  cegger Ansify function definitions w/o arguments. Generated with sed.
 1.30  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.29  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.28  05-Apr-2008  cegger branches: 1.28.4; 1.28.12; 1.28.18;
use aprint_*_dev and device_xname
 1.27  04-Mar-2007  christos branches: 1.27.36;
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
 1.26  29-Jan-2007  hubertf branches: 1.26.2;
Remove more duplicate headers.
Patch by Slava Semushin <slava.semushin@gmail.com>

Again, this was tested by comparing obj files from a pristine and a patched
source tree against an i386/ALL kernel, and also for src/sbin/fsck_ffs,
src/sbin/fsdb and src/usr.sbin/makefs. Only changes in assert() line numbers
were detected in 'objdump -d' output.
 1.25  15-Oct-2006  martin Missing initializer
 1.24  28-Mar-2006  thorpej branches: 1.24.8; 1.24.10;
Use device_unit().
 1.23  11-Dec-2005  christos branches: 1.23.4; 1.23.6; 1.23.8; 1.23.10; 1.23.12;
merge ktrace-lwp.
 1.22  08-Oct-2005  macallan Fixes the following bug:
Framebuffer drivers use their own minor device number to find their device entry
in fbdriver methods ( like cgsix uses cgsix_cd[minor] ) but fb passed the fb
device's unit number which works only as long as all registered fb devices use
the same underlying driver. With different fb drivers, like a cgsix and an ffb, both will be (native) unit number 0 so with the old code /dev/fb1 would be
unusable.
 1.21  24-Jun-2005  jdc branches: 1.21.2;
Attach multiple displays as fb0, fb1, ... so that X can use multiple heads
via the /dev/fbn abstraction. Framebuffers are attached in probe order.
However, the previous semantics are kept, so that the detected or forced
console will always be fb0.
 1.20  04-Feb-2005  perry de-__P
 1.19  19-Mar-2004  pk branches: 1.19.8; 1.19.10;
fb_is_console/SUN4U: fbnode => prom_stdout_node.
 1.18  17-Mar-2004  pk Rename PROM_getprop*() => prom_getprop*().
 1.17  17-Mar-2004  pk Update previous change: set defaults properly.
 1.16  16-Mar-2004  pk Use prom_getoption() and drop home-grown string-to-integer conversion code.
 1.15  25-Aug-2003  uwe Undo previous as it broke things.

There are some scattered implicit RASTERCONSOLE dependencies,
so there should be a better way.
 1.14  24-Aug-2003  uwe #include "opt_rcons.h"
 1.13  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.12  29-Jun-2003  fvdl branches: 1.12.2;
Back out the lwp/ktrace changes. They contained a lot of colateral damage,
and need to be examined and discussed more.
 1.11  29-Jun-2003  darrenr More changes for providing lwpid for ktrace (sparc GENERIC built)
 1.10  23-Oct-2002  jdolecek merge kqueue branch into -current

kqueue provides a stateful and efficient event notification framework
currently supported events include socket, file, directory, fifo,
pipe, tty and device changes, and monitoring of processes and signals

kqueue is supported by all writable filesystems in NetBSD tree
(with exception of Coda) and all device drivers supporting poll(2)

based on work done by Jonathan Lemon for FreeBSD
initial NetBSD port done by Luke Mewburn and Jason Thorpe
 1.9  03-Oct-2002  uwe Refactor kbd and mouse drivers so that they can use different middle
layers. Common middle layer shared by kbd_zs and sunkbd is moved into
the new file. Move shared config directives to files.sun and adjust
ports' files.* accordingly.

Need this to support console/Xsun on Mr.Coffee JavaStation.

Tested on sparc, sparc64 (by martin) and sun3 (by jdc).
 1.8  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.7  22-Mar-2002  fredette branches: 1.7.4;
Changed some preprocessor tests for SUN4 to test for !SUN4U
instead. Now this file can be used by the sun2 port.
 1.6  13-Nov-2001  lukem add RCSIDs
 1.5  12-Nov-2001  uwe In fb_bell call kbd_docmd only #if NKBD > 0.
This allows kernels without kbd at zs to be linked.
(JavaStation-1 does not have zs, it uses pckbc instead)
 1.4  26-Sep-2001  eeh branches: 1.4.2;
getprop* -> PROM_getprop*
 1.3  24-Jun-2001  pk branches: 1.3.2; 1.3.4;
Avoid unused variables if RASTERCONS_FULLSCREEN is defined. (see PR#13231)
 1.2  31-Oct-2000  pk branches: 1.2.2; 1.2.4;
fb_is_console(): we must match on the `fb' propery in a V0 PROMs root node
only after establishing that the PROM output device is a frame buffer device.
 1.1  23-Aug-2000  pk Common framebuffer functions.
(currently includes a special cased fb_isconsole() for sun4u).
 1.2.4.7  11-Nov-2002  nathanw Catch up to -current
 1.2.4.6  18-Oct-2002  nathanw Catch up to -current.
 1.2.4.5  17-Sep-2002  nathanw Catch up to -current.
 1.2.4.4  01-Apr-2002  nathanw Catch up to -current.
(CVS: It's not just a program. It's an adventure!)
 1.2.4.3  14-Nov-2001  nathanw Catch up to -current.
 1.2.4.2  08-Oct-2001  nathanw Catch up to -current.
 1.2.4.1  24-Aug-2001  nathanw Catch up with -current.
 1.2.2.3  22-Nov-2000  bouyer Sync with HEAD.
 1.2.2.2  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.2.2.1  31-Oct-2000  bouyer file fb.c was added on branch thorpej_scsipi on 2000-11-20 11:43:10 +0000
 1.3.4.2  10-Oct-2001  fvdl Convert all remaining devices.
 1.3.4.1  01-Oct-2001  fvdl Catch up with -current.
 1.3.2.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.3.2.3  28-Jun-2002  jdolecek hook fbkqfilter to leaf drivers' kqfilter
 1.3.2.2  23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.3.2.1  10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.4.2.1  12-Nov-2001  thorpej Sync the thorpej-mips-cache branch with -current.
 1.7.4.1  16-May-2002  gehenna Add the character device switch.
 1.12.2.7  10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.12.2.6  04-Feb-2005  skrll Sync with HEAD.
 1.12.2.5  21-Sep-2004  skrll Adapt to branch.
 1.12.2.4  21-Sep-2004  skrll Fix the sync with head I botched.
 1.12.2.3  18-Sep-2004  skrll Sync with HEAD.
 1.12.2.2  26-Aug-2004  skrll Adapt to branch.

sparc64 GENERIC compiles.
 1.12.2.1  03-Aug-2004  skrll Sync with HEAD
 1.19.10.1  12-Feb-2005  yamt sync with head.
 1.19.8.1  29-Apr-2005  kent sync with -current
 1.21.2.4  03-Sep-2007  yamt sync with head.
 1.21.2.3  26-Feb-2007  yamt sync with head.
 1.21.2.2  30-Dec-2006  yamt sync with head.
 1.21.2.1  21-Jun-2006  yamt sync with head.
 1.23.12.1  31-Mar-2006  tron Merge 2006-03-31 NetBSD-current into the "peter-altq" branch.
 1.23.10.1  19-Apr-2006  elad sync with head.
 1.23.8.1  01-Apr-2006  yamt sync with head.
 1.23.6.1  22-Apr-2006  simonb Sync with head.
 1.23.4.1  09-Sep-2006  rpaulo sync with head
 1.24.10.1  22-Oct-2006  yamt sync with head
 1.24.8.2  01-Feb-2007  ad Sync with head.
 1.24.8.1  18-Nov-2006  ad Sync with head.
 1.26.2.1  12-Mar-2007  rmind Sync with HEAD.
 1.27.36.1  02-Jun-2008  mjf Sync with HEAD.
 1.28.18.1  13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.28.12.1  28-Apr-2009  skrll Sync with HEAD.
 1.28.4.2  11-Aug-2010  yamt sync with head.
 1.28.4.1  04-May-2009  yamt sync with head.
 1.32.2.1  30-Apr-2010  uebayasi Sync with HEAD.
 1.33.24.1  18-May-2014  rmind sync with head
 1.33.20.2  03-Dec-2017  jdolecek update from HEAD
 1.33.20.1  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.33.10.1  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.34.2.1  10-Aug-2014  tls Rebase.
 1.35.4.1  22-Apr-2016  skrll Sync with HEAD
 1.36.18.1  13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411

RSS XML Feed