Home | History | Annotate | Download | only in dev
History log of /src/sys/arch/zaurus/dev/w100lcd.c
RevisionDateAuthorComments
 1.6  28-May-2022  andvar fix various typos, mainly in comments.
 1.5  07-Aug-2021  thorpej Merge thorpej-cfargs2.
 1.4  24-Apr-2021  thorpej branches: 1.4.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.3  13-Apr-2021  tsutsui Make LCD BrightnessUp/BrightnessDown work on C7x0/860.

Patch from steleto:
https://gist.github.com/steleto/10f62a074bff0c188fcc10c14ef40b5a
and also confirmed by me on SL-C700.

Worth to pullup to netbsd-9.
 1.2  10-Feb-2012  tsutsui branches: 1.2.4; 1.2.6; 1.2.56; 1.2.66;
More SL-C7x0/860 support for Xorg server usage:
- pull touchpanel adjustment ioctls to w100lcd.c for SL-C7x0/860
from zlcd.c for SL-C1000/3x00
- add sample xorg.conf for C7x0/860 (which have hardware screen rotation)
- rename old xorg.conf.sample for C1000/C3x00 to xorg.conf.C3x00
- adjust md set list

Ok releng@ nonaka@
 1.1  29-Jan-2012  tsutsui Add PXA25x based Zaurus SL-C700/750/760/860 support.

All porting work was done by TOYOKURA Atsushi, with
several minor adjustments for integration by me and nonaka@.

His SL-C700 first running NetBSD/zaurus was demonstrated on
NetBSD booth at Open Source Canference 2011 Tokyo/Fall:
http://www.NetBSD.org/gallery/events.html#opensourceconf2011-tokyofall

Note GENERIC kernel works on SL-C750/760/860 (and C1000/3x00) but for now
SL-C700 requires its own kernel with special KERNEL_BASE_PHYS address
due to zbsdmod.o loader restriction (probably caused its small 32MB RAM).
 1.2.66.2  17-Apr-2021  thorpej Sync with HEAD.
 1.2.66.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.2.56.1  21-Apr-2021  martin Pull up following revision(s) (requested by tsutsui in ticket #1247):

sys/arch/zaurus/dev/w100lcd.c: revision 1.3

Make LCD BrightnessUp/BrightnessDown work on C7x0/860.

Patch from steleto:
https://gist.github.com/steleto/10f62a074bff0c188fcc10c14ef40b5a

and also confirmed by me on SL-C700.

Worth to pullup to netbsd-9.
 1.2.6.2  17-Apr-2012  yamt sync with head
 1.2.6.1  10-Feb-2012  yamt file w100lcd.c was added on branch yamt-pagecache on 2012-04-17 00:07:13 +0000
 1.2.4.2  18-Feb-2012  mrg merge to -current.
 1.2.4.1  10-Feb-2012  mrg file w100lcd.c was added on branch jmcneill-usbmp on 2012-02-18 07:33:49 +0000
 1.4.8.1  04-Aug-2021  thorpej Adapt to CFARGS().

RSS XML Feed