History log of /netbsd-src/sys/arch/hpcarm/dev/sacc_hpcarm.c (Results 1 – 15 of 15)
Revision Date Author Comments
# 7433666e 20-Dec-2023 thorpej <thorpej@NetBSD.org>

Remove unnecessary <sys/malloc.h>.


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

Merge thorpej-cfargs2.


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


# 9edf49b0 19-Jul-2011 dyoung <dyoung@NetBSD.org>

Change <machine/bus.h> to <sys/bus.h> throughout.

Split bus.h -> bus_{defs,funcs}.h.

Mark hpcarm/bus.h obsolete.


# 4c494f76 29-May-2009 rjs <rjs@NetBSD.org>

Make the following changes:

struct device * -> device_t
struct cfdata * -> cfdata_t
printf -> aprint_
device_t/softc split


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

Remove clause 3 and 4 from TNF licenses


# 6bc0c582 08-Jan-2008 matt <matt@NetBSD.org>

As of this commit, all arm32 kernel now build.


# a93b4acd 09-Jul-2006 peter <peter@NetBSD.org>

Nit: The silicon revision level is in bits 7:4, so we must right shift
by 4 bits. Also removed an unneeded include.


# 257aff65 27-Jun-2006 peter <peter@NetBSD.org>

Minor KNF, correct some comments.


# 4a5a04e4 04-Mar-2006 peter <peter@NetBSD.org>

s/u_intN_t/uintN_t/


# a80c4462 04-Mar-2006 peter <peter@NetBSD.org>

Match all Jornada 7xx models.


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

merge ktrace-lwp.


# 8a5e924b 23-Oct-2005 peter <peter@NetBSD.org>

- Use ANSI function decls.
- KNF.


# 996c273e 30-Jun-2005 drochner <drochner@NetBSD.org>

adaptions to config_search() change, and minor autoconf fixes, mostly from Havard Eidnes


# 10c7bfc7 08-Aug-2003 bsh <bsh@NetBSD.org>

split StrongArm companion chip (sacc) driver so that we can support
sacc on other platforms than hpcarm (evbarm for example).

codes specific to hpcarm are extracted and moved to hpcarm/dev/.