History log of /netbsd-src/sys/dev/hpc/hpcfb.c (Results 1 – 25 of 66)
Revision Date Author Comments
# 8e32e330 29-Feb-2024 andvar <andvar@NetBSD.org>

s/hpcfb_refres_screen/hpcfb_refresh_screen/ in debug message.


# 92e3dd64 19-Dec-2021 andvar <andvar@NetBSD.org>

s/forground/foreground/ in comments.


# 67090643 18-Sep-2021 tsutsui <tsutsui@NetBSD.org>

Remove unnecessary (and unimplemented) WSKBD_*BELL ioctls in kbd drivers.

It looks the only ioctl(4) to be implemented for WSKBDIO_*BELL in
the backend keyboard driver is WSKBDIO_COMPLEXBELL.
All ot

Remove unnecessary (and unimplemented) WSKBD_*BELL ioctls in kbd drivers.

It looks the only ioctl(4) to be implemented for WSKBDIO_*BELL in
the backend keyboard driver is WSKBDIO_COMPLEXBELL.
All other BELL ioctls (WSKBDIO_BELL, WSKBDIO_SETBELL, WSKBDIO_GETBELL,
WSKBDIO_SETDEFAULTBELL, and WSKBDIO_GETDEFAULTBELL) are handled in the
MI wskbd driver (in wskbd_displayioctl() in src/sys/dev/wscons/wskbd.c).

show more ...


# c7fb772b 07-Aug-2021 thorpej <thorpej@NetBSD.org>

Merge thorpej-cfargs2.


# 6453dd22 05-Jun-2021 rin <rin@NetBSD.org>

hpcfb_cnattach(): If fbconf == NULL, this is for early console output
(used for hpcmips/VR41xx machines), and wsdisplay_preattach() should be
used instead of wsdisplay_cnattach().

Fix KASSERT failur

hpcfb_cnattach(): If fbconf == NULL, this is for early console output
(used for hpcmips/VR41xx machines), and wsdisplay_preattach() should be
used instead of wsdisplay_cnattach().

Fix KASSERT failure for double attach of wsdisplay, reported in port-mips.

show more ...


# 2685996b 24-Apr-2021 thorpej <thorpej@NetBSD.org>

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 a

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?).

show more ...


# a27b4217 07-Apr-2015 ozaki-r <ozaki-r@NetBSD.org>

Add missing semicolon


# 1a163254 04-Apr-2015 christos <christos@NetBSD.org>

fix leak, found by Brainy.


# 8184d5dc 13-Nov-2010 uebayasi <uebayasi@NetBSD.org>

Don't pull in the whole uvm(9) API to access only PAGE_SIZE and
some other constants. These are provided by sys/param.h now.


# 9a7de9c7 01-Aug-2010 tsutsui <tsutsui@NetBSD.org>

Remove deprecated powerhook_establish(9) since apmdev(4) which required
the old API was gone.


# d7da5944 18-Jun-2010 tsutsui <tsutsui@NetBSD.org>

Add WSDISPLAYIO_LINEBYTES, which is required by Xorg wsfb server.


# a9edf814 15-May-2010 tsutsui <tsutsui@NetBSD.org>

Clear RI_NO_AUTO in actual attach functions during autoconf(9)
for console devices that set the flag during consinit().


# 67dfc8da 15-May-2010 tsutsui <tsutsui@NetBSD.org>

Set RI_NO_AUTO in ri->ri_flg if hpcfb_init() is invoked from cnattach.
Fixes silent hang on hpcsh and hpcmips.

XXX: all other rasops based console devices need to set this flag??


# c1b390d4 24-Feb-2010 dyoung <dyoung@NetBSD.org>

A pointer typedef entails trading too much flexibility to declare const
and non-const types, and the kernel uses both const and non-const
PMF qualifiers and device suspensors, so change the pmf_qual_

A pointer typedef entails trading too much flexibility to declare const
and non-const types, and the kernel uses both const and non-const
PMF qualifiers and device suspensors, so change the pmf_qual_t and
device_suspensor_t typedefs from "pointers to const" to non-pointer,
non-const types.

show more ...


# cd6e1fbf 08-Jan-2010 dyoung <dyoung@NetBSD.org>

Expand PMF_FN_* macros.


# dbd9b867 23-Nov-2009 rmind <rmind@NetBSD.org>

Remove some unecessary includes sys/user.h header.


# fd239c62 05-Apr-2009 uwe <uwe@NetBSD.org>

Register with pmf(9). Thus we register with both dopowerhooks(9) and
pmf(9), but they are mutually exclusive (apm(4) vs apmdev(4)).

Express pmf(9) hooks in terms of dopowerhooks(9) hook - the rever

Register with pmf(9). Thus we register with both dopowerhooks(9) and
pmf(9), but they are mutually exclusive (apm(4) vs apmdev(4)).

Express pmf(9) hooks in terms of dopowerhooks(9) hook - the reverse
would be more natural, but pmf hook signature is hidden behind
PMF_FN_ARGS/PMF_FN_CALL, so just go the least intrusive way for now.

show more ...


# 12a97187 05-Apr-2009 uwe <uwe@NetBSD.org>

Split device_t and softc.


# 82357f6d 14-Mar-2009 dsl <dsl@NetBSD.org>

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.


# 0e50a946 06-Apr-2008 cegger <cegger@NetBSD.org>

use aprint_*_dev and device_xname


# 549e8ec8 30-Jan-2008 ad <ad@NetBSD.org>

Has this compiled recently?


# 0664a045 04-Jan-2008 ad <ad@NetBSD.org>

Start detangling lock.h from intr.h. This is likely to cause short term
breakage, but the mess of dependencies has been regularly breaking the
build recently anyhow.


# 9bc22ed9 29-Oct-2007 peter <peter@NetBSD.org>

wsdisplay has been converted to device_t/softc separation so we can't cast
the wsdisplay device to the wsdisplay_softc anymore. Use device_private()
instead to get the softc.


# a2a38285 19-Oct-2007 ad <ad@NetBSD.org>

machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h


# 88ab7da9 09-Jul-2007 ad <ad@NetBSD.org>

Merge some of the less invasive changes from the vmlocking branch:

- kthread, callout, devsw API changes
- select()/poll() improvements
- miscellaneous MT safety improvements


123