History log of /netbsd-src/sys/arch/amiga/dev/gvpbus.c (Results 1 – 25 of 28)
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 ...


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


# 0d242d5f 03-Jun-2011 matt <matt@NetBSD.org>

CFATTACH_DECL_NEW, device_t, cfdata_t


# 62cf489d 26-Oct-2009 cegger <cegger@NetBSD.org>

kill extra whitespaces
reviewed by tsutsui@


# e2cb8590 18-Mar-2009 cegger <cegger@NetBSD.org>

bcopy -> memcpy


# 5001cdaf 01-Jan-2003 thorpej <thorpej@NetBSD.org>

Use aprint_normal() for cfprint routines.


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

Use CFATTACH_DECL().


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

Declare all cfattach structures const.


# 1ea4df81 28-Jan-2002 aymeric <aymeric@NetBSD.org>

add __KERNEL_RCSID as suggested by Luke Mewburn


# 4205fc14 27-Jan-2002 is <is@NetBSD.org>

Attach multifunction GVP boards.


# 9382c873 26-Jan-2002 aymeric <aymeric@NetBSD.org>

- ANSIfy
- remove some trailing spaces/tabs
- minor style nits


# 0b6e56ec 12-Jan-1998 thorpej <thorpej@NetBSD.org>

Adjust for changes to config.


# 94b63124 23-Dec-1996 veego <veego@NetBSD.org>

Get rid of __BROKEN_INDIRECT_CONFIG.


# ca36ac9e 13-Oct-1996 christos <christos@NetBSD.org>

backout previous kprintf change


# 94683385 10-Oct-1996 christos <christos@NetBSD.org>

printf -> kprintf, sprintf -> ksprintf


# 2a73ef60 27-Aug-1996 cgd <cgd@NetBSD.org>

change cfprint_t type definition to take a const char *, rather than
a char *, because that's what was really intended, and because
if the print function modifies the string, various things could bec

change cfprint_t type definition to take a const char *, rather than
a char *, because that's what was really intended, and because
if the print function modifies the string, various things could become
unhappy (so the string should _not_ be modified).

show more ...


# 974e9f6e 21-Apr-1996 veego <veego@NetBSD.org>

- Cleanup for -Wall and -Wstrict-prototypes
- Added support for multiple floppy drives
- CyberVision64:
- has now a real console mode
- another bugfix for boards with the new S3 chip

- Cleanup for -Wall and -Wstrict-prototypes
- Added support for multiple floppy drives
- CyberVision64:
- has now a real console mode
- another bugfix for boards with the new S3 chip
- Ariadne:
- fixed crashes with aeput (mbuf failure)

show more ...


# 5c67e5fa 17-Mar-1996 thorpej <thorpej@NetBSD.org>

New device attachment scheme:

- split softc size and match/attach out from cfdriver into
a new struct cfattach.

- new "attach" directive for files.*. May specify the name of
the cfattach s

New device attachment scheme:

- split softc size and match/attach out from cfdriver into
a new struct cfattach.

- new "attach" directive for files.*. May specify the name of
the cfattach structure, so that devices may be easily attached
to parents with different autoconfiguration semantics.

show more ...


# 22087826 18-Aug-1995 chopps <chopps@NetBSD.org>

SCSI disconnects: siop from osymh@gemini.oscs.montana.edu (Michael L. Hitch)
and sbic from "Eduardo E. Horvath eeh@btr.com" <eeh@btr.btr.com>

Other cleanup (remove cpu040) and enabling IVS A500 supp

SCSI disconnects: siop from osymh@gemini.oscs.montana.edu (Michael L. Hitch)
and sbic from "Eduardo E. Horvath eeh@btr.com" <eeh@btr.btr.com>

Other cleanup (remove cpu040) and enabling IVS A500 support
from osymh@gemini.oscs.montana.edu (Michael L. Hitch)

show more ...


# 5415d743 05-Mar-1995 chopps <chopps@NetBSD.org>

add recognition of GVP 530 and change magnum scsi interrupt level to 6
from osymh@gemini.oscs.montana.edu (Michael L. Hitch)


# 32dc3c58 12-Feb-1995 chopps <chopps@NetBSD.org>

Many changes from osymh@gemini.oscs.montana.edu (Michael L. Hitch)
Now use amiga HW for soft interrupts, non-contig options (2 or many chunks),
interrupt handler lists, 4066 ethernet, 1291 scsi, opti

Many changes from osymh@gemini.oscs.montana.edu (Michael L. Hitch)
Now use amiga HW for soft interrupts, non-contig options (2 or many chunks),
interrupt handler lists, 4066 ethernet, 1291 scsi, option to defer level 6
interrupts to level 4 (deal with icky built-in serial port)

show more ...


# 4726ce28 28-Dec-1994 chopps <chopps@NetBSD.org>

consolidate the zbusses. le support for multiple tx buffs and full use of 32k
RAM. AGA dbl PAL mode added for console. Many changes to siop--most not
yet done. All from osymh@gemini.oscs.montana.edu

consolidate the zbusses. le support for multiple tx buffs and full use of 32k
RAM. AGA dbl PAL mode added for console. Many changes to siop--most not
yet done. All from osymh@gemini.oscs.montana.edu (Michael L. Hitch)

show more ...


# 548708dd 01-Dec-1994 chopps <chopps@NetBSD.org>

bring up to current. change sun to sunos. handle changes in device
open params and autoconf match function params.


# ec77f0b3 26-Oct-1994 cgd <cgd@NetBSD.org>

new RCS ID format.


12