Home | History | Annotate | Download | only in pci
History log of /src/sys/dev/pci/sisfb.c
RevisionDateAuthorComments
 1.9  08-Aug-2023  mrg ensure all data passed to copyout() has been initialised.

found by GCC 12.
 1.8  21-Sep-2021  christos use KAUTH_MACHDEP_UNMANAGEDMEM instead of KAUTH_GENERIC_ISSUSER like all the
other framebuffers.
 1.7  07-Aug-2021  thorpej Merge thorpej-cfargs2.
 1.6  24-Apr-2021  thorpej branches: 1.6.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.5  26-Jan-2014  bouyer branches: 1.5.46;
Complete WSDISPLAYIO_SMODE/WSDISPLAYIO_GMODE support.
In sisfb_mmap(), allow mapping the framebuffer and mmio and io registers
when in WSDISPLAYIO_MODE_MAPPED mode. This can be used by X11.
 1.4  24-Jan-2014  bouyer Snapshot of work in progress:
Add support xorg wsfb driver. Tested on evbmips/loongson
 1.3  18-Jan-2014  bouyer Request a 80x25 tty emulation, which is more likely to work than 80x30
on a 640x400 VGA.
 1.2  30-Jan-2012  drochner branches: 1.2.2; 1.2.6; 1.2.10;
Use pci_aprint_devinfo(9) instead of pci_devinfo+aprint_{normal,naive}
where it looks straightforward, and pci_aprint_devinfo_fancy in a few
others where drivers want to supply their own device names instead
of the pcidevs generated one. More complicated cases, where names
are composed at runtime, are left alone for now. It certainly makes
sense to simplify the drivers here rather than inventing a catch-all API.
This should serve as as example for new drivers, and also ensure
consistent output in the AB_QUIET ("boot -q") case. Also, it avoids
excessive stack usage where drivers attach child devices because the
buffer for the device name is not kept on the local stack anymore.
 1.1  27-Aug-2011  bouyer branches: 1.1.2; 1.1.6;
Add a basic driver for the SIS315 Pro frame buffer found on some loogson2-based
systems, from OpenBSD.
At this time it can only map the framebuffer and attaches wscons,
using whatever resolution was configured by the firmware.
It doens't support any accelaration or mode change.
 1.1.6.1  18-Feb-2012  mrg merge to -current.
 1.1.2.2  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.1.2.1  17-Apr-2012  yamt sync with head
 1.2.10.1  18-May-2014  rmind sync with head
 1.2.6.1  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.2.2.1  07-Feb-2014  sborrill Pull up the following revisions(s) (requested by bouyer in ticket #1019):
sys/dev/pci/sisfb.c: revision 1.3
sys/arch/evbmips/conf/LOONGSON: revision 1.22

Make sysinst much more useable when used with the VGA display on
LOONGSON.
 1.5.46.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.6.8.1  04-Aug-2021  thorpej Adapt to CFARGS().

RSS XML Feed