History log of /netbsd/sys/arch/hpcmips/tx/tx3912video.c (Results 1 – 25 of 48)
Revision Date Author Comments
# 72f96fa8 09-Aug-2021 andvar <andvar@NetBSD.org>

fix various typos in comments and messages.


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

Merge thorpej-cfargs2.


# 3bee0c11 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 ...


# adb6337c 11-Jul-2016 matt <matt@NetBSD.org>

Use pmap_kenter flags to create cached/uncached entries.
#include <mips/locore.h> when appropriate


# 9254ceee 09-Jul-2016 skrll <skrll@NetBSD.org>

KNF


# 4780d98b 07-Jun-2014 he <he@NetBSD.org>

Remove set-but-not-used variable bit8.


# 5f819ca3 27-Oct-2012 chs <chs@NetBSD.org>

split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.


# 72e6205f 27-Jan-2012 para <para@NetBSD.org>

converting extent(9) from malloc(9) to kmem(9)
preceding kmem-vmem-pool-uvm patch

releng@ acknowledged


# 454af1c0 14-Mar-2009 dsl <dsl@NetBSD.org>

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

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

show more ...


# ce099b40 28-Apr-2008 martin <martin@NetBSD.org>

Remove clause 3 and 4 from TNF licenses


# 53524e44 04-Mar-2007 christos <christos@NetBSD.org>

Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.


# 95e1ffb1 11-Dec-2005 christos <christos@NetBSD.org>

merge ktrace-lwp.


# 964859d8 12-Dec-2004 abs <abs@NetBSD.org>

Fix comments regarding configration bounaries


# e07f0b93 13-Nov-2003 chs <chs@NetBSD.org>

eliminate uvm_useracc() in favor of checking the return value of
copyin() or copyout().

uvm_useracc() tells us whether the mapping permissions allow access to
the desired part of an address space, a

eliminate uvm_useracc() in favor of checking the return value of
copyin() or copyout().

uvm_useracc() tells us whether the mapping permissions allow access to
the desired part of an address space, and many callers assume that
this is the same as knowing whether an attempt to access that part of
the address space will succeed. however, access to user space can
fail for reasons other than insufficient permission, most notably that
paging in any non-resident data can fail due to i/o errors. most of
the callers of uvm_useracc() make the above incorrect assumption. the
rest are all misguided optimizations, which optimize for the case
where an operation will fail. we'd rather optimize for operations
succeeding, in which case we should just attempt the access and handle
failures due to insufficient permissions the same way we handle i/o
errors. since there appear to be no good uses of uvm_useracc(), we'll
just remove it.

show more ...


# 0c82163c 15-Jul-2003 lukem <lukem@NetBSD.org>

__KERNEL_RCSID()


# c5e91d44 02-Oct-2002 thorpej <thorpej@NetBSD.org>

Use CFATTACH_DECL().


# f818766a 27-Sep-2002 thorpej <thorpej@NetBSD.org>

Declare all cfattach structures const.


# 0f09ed48 27-Sep-2002 provos <provos@NetBSD.org>

remove trailing \n in panic(). approved perry.


# a3da5d94 08-Jun-2002 yamt <yamt@NetBSD.org>

constify.


# 737ffe36 08-Jun-2002 yamt <yamt@NetBSD.org>

make auto const variables static.


# 090be593 13-Apr-2002 takemura <takemura@NetBSD.org>

Fixed dev/hpc/hpcfb.c to set RI_BSWAP flag in 8bpp for rasops8.c
and backout changes 'fix LCD byte-order setting':
arch/hpcsh/dev/hd64461/hd64461video.c Rev. 1.7 to 1.8
arch/hpcmips

Fixed dev/hpc/hpcfb.c to set RI_BSWAP flag in 8bpp for rasops8.c
and backout changes 'fix LCD byte-order setting':
arch/hpcsh/dev/hd64461/hd64461video.c Rev. 1.7 to 1.8
arch/hpcmips/dev/plumvideo.c Rev. 1.23 to 1.24
arch/hpcmips/tx/tx3912video.c Rev. 1.24 to 1.25

show more ...


# 31144d99 17-Mar-2002 atatat <atatat@NetBSD.org>

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

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.

show more ...


# f35aa9c9 06-Mar-2002 uch <uch@NetBSD.org>

don't attach bivideo.


# a3757d3b 19-Feb-2002 uch <uch@NetBSD.org>

fix LCD byte-order setting.


# 7d170993 29-Jan-2002 uch <uch@NetBSD.org>

clean up debug print and configuration.


12