History log of /netbsd/sys/arch/arm/ep93xx/epsoc.c (Results 1 – 16 of 16)
Revision Date Author Comments
# 30dc3fee 21-Nov-2021 skrll <skrll@NetBSD.org>

Trailing whitespace.


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


# c4425234 12-Nov-2012 skrll <skrll@NetBSD.org>

C99 types


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


# fe6db6ff 01-Jul-2011 dyoung <dyoung@NetBSD.org>

#include <sys/bus.h> instead of <machine/bus.h>.


# 7e82f68c 23-Oct-2009 snj <snj@NetBSD.org>

Switch to a 2 clause license. Approved by joff@ (copyright holder).


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


# 5d1469bd 10-May-2008 martin <martin@NetBSD.org>

Backout previous: the license sweep touched these files in error, so
restore the old license.


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

Remove clause 3 and 4 from TNF licenses


# a1f606d3 08-Mar-2006 lukem <lukem@NetBSD.org>

Use the SI capitalization for "Hz", "kHz", and "MHz" in comments and strings.
Add a space between numbers and Hz unit.


# 7959c31a 12-Nov-2005 hamajima <hamajima@NetBSD.org>

add new EP93xx device drivers.
epgpio: GPIO Interface (support gpio(4))
epled: LED on epgpio
eppcic: PCMCIA Interface
eprtc: Realtime clock
epwdog: Watchdog timer

changes
ep93xx_intr: add du

add new EP93xx device drivers.
epgpio: GPIO Interface (support gpio(4))
epled: LED on epgpio
eppcic: PCMCIA Interface
eprtc: Realtime clock
epwdog: Watchdog timer

changes
ep93xx_intr: add dummy entries to keep vmstat happy.
epclk: I use Timer1 and generate 100Hz if set.
epe: attach epclk and epgpio first.
fetch the Ethernet address from property if set.
I use config flags and modify MDCDIV.

show more ...


# 44bf0a7e 26-Aug-2005 drochner <drochner@NetBSD.org>

s/locdesc_t/int/g


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

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


# 82ea600c 04-Jun-2005 he <he@NetBSD.org>

Fix -Wcast-qual by sprinkling some consts, and remove named
parameters from a function prototype to avoid shadowing.
Also fix a couple of other shadowing problems.


# 29803910 22-Dec-2004 joff <joff@NetBSD.org>

ep93xx ARM system-on-chip support