History log of /netbsd-src/sys/arch/news68k/dev/ms_hb.c (Results 1 – 16 of 16)
Revision Date Author Comments
# 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 ...


# 43993578 22-Nov-2011 tsutsui <tsutsui@NetBSD.org>

Remove more now unnecessary IIOV() conversion.
XXX: we should have proper PA to VA macro for TT mappings for readability


# b87210fa 14-May-2008 tsutsui <tsutsui@NetBSD.org>

Normalize my licenses.


# d062717c 29-Mar-2008 tsutsui <tsutsui@NetBSD.org>

Don't forget to set sc_dev.


# 820a544d 28-Mar-2008 tsutsui <tsutsui@NetBSD.org>

Use CFATTACH_DECL_NEW(), device_t, cfdata_t, and aprint_*().


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

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


# 7d0e6302 16-Feb-2007 tsutsui <tsutsui@NetBSD.org>

Remove autovectored ISR priorities and use now properly defined
IPL_* values for isrlink_autovec().


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

merge ktrace-lwp.


# 52b46dcf 04-Sep-2004 tsutsui <tsutsui@NetBSD.org>

- Use ANSI function declarations and make some functions static.
- Some KNF


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

__KERNEL_RCSID()


# 5db9bf06 11-Jan-2003 tsutsui <tsutsui@NetBSD.org>

Fix -Wsign-compare warnings.


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

Use CFATTACH_DECL().


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

Declare all cfattach structures const.


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


# 08f4daf2 25-Jan-2001 tsutsui <tsutsui@NetBSD.org>

Add drivers for keyboard and mouse.
(but no working framebuffer yet..)