History log of /netbsd/sys/arch/x68k/dev/mha.c (Results 1 – 25 of 58)
Revision Date Author Comments
# 6281c185 26-May-2022 tsutsui <tsutsui@NetBSD.org>

Explicitly include "ioconf.h" for struct cfdriver.


# 8402ad45 04-May-2022 andvar <andvar@NetBSD.org>

fix various typos in comments and log 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 ...


# 142cde0a 26-Mar-2014 christos <christos@NetBSD.org>

kill sprintf, fix unused.


# 6165fb17 10-Oct-2012 tsutsui <tsutsui@NetBSD.org>

Fix device_t/softc split botches that could be fatal. From
Chuck Silvers' patch posted current-users and tech-kern:
http://mail-index.netbsd.org/current-users/2012/10/09/msg021233.html

Should be pu

Fix device_t/softc split botches that could be fatal. From
Chuck Silvers' patch posted current-users and tech-kern:
http://mail-index.netbsd.org/current-users/2012/10/09/msg021233.html

Should be pulled up to netbsd-6.

show more ...


# 3dc24f5a 23-Nov-2009 rmind <rmind@NetBSD.org>

Use lwp_getpcb() on m68k ports, clean from struct user usage.


# 3b878f89 18-Dec-2008 isaki <isaki@NetBSD.org>

Sync with other m68k ports.
- Remove PHYS_IODEV, PHYS_INTIODEV. These are real copy of INTIOBASE.
- Define IIOV() (and IIOP()) and use it, rather than INTIO_ADDR().


# 3cffa23a 05-Dec-2008 isaki <isaki@NetBSD.org>

Use TAILQ_* macros.


# b823d19d 29-Nov-2008 isaki <isaki@NetBSD.org>

Split device_t/softc. Use aprint*() and device_xname().
Not tested. I don't have its hardware and no response in port-x68k.


# 61f21080 13-Jun-2008 cegger <cegger@NetBSD.org>

use device_lookup_private to get softc


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

Remove clause 3 and 4 from TNF licenses


# d974db0a 17-Oct-2007 garbled <garbled@NetBSD.org>

Merge the ppcoea-renovation branch to HEAD.

This branch was a major cleanup and rototill of many of the various OEA
cpu based PPC ports that focused on sharing as much code as possible
between the v

Merge the ppcoea-renovation branch to HEAD.

This branch was a major cleanup and rototill of many of the various OEA
cpu based PPC ports that focused on sharing as much code as possible
between the various ports to eliminate near-identical copies of files in
every tree. Additionally there is a new PIC system that unifies the
interface to interrupt code for all different OEA ppc arches. The work
for this branch was done by a variety of people, too long to list here.

TODO:
bebox still needs work to complete the transition to -renovation.
ofppc still needs a bunch of work, which I will be looking at.
ev64260 still needs to be renovated
amigappc was not attempted.

NOTES:
pmppc was removed as an arch, and moved to a evbppc target.

show more ...


# 23df019b 12-May-2007 isaki <isaki@NetBSD.org>

Clean up white spaces and tabs.


# d30ec9ee 11-Mar-2007 isaki <isaki@NetBSD.org>

white space, indent and KNF.


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

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


# 0b16b542 08-Jan-2007 isaki <isaki@NetBSD.org>

Bring back the comment which was lost at rev1.35 .


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


# 458b3e43 23-Feb-2006 thorpej <thorpej@NetBSD.org>

Use device_parent().


# 2d65de24 24-Dec-2005 perry <perry@NetBSD.org>

bare asm -> __asm


# d0c28ccd 26-Nov-2005 tsutsui <tsutsui@NetBSD.org>

Fix typo (FALLTHOUGH -> FALLTHROUGH). From Jeff Ito.


# df3cf436 13-Jun-2005 he <he@NetBSD.org>

Change the signature of badaddr() and badbaddr() from taking a caddr_t
to taking a volatile void*. This gets rid of a number of casts to make
this compile under -Wcast-qual.
Add some volatiles and c

Change the signature of badaddr() and badbaddr() from taking a caddr_t
to taking a volatile void*. This gets rid of a number of casts to make
this compile under -Wcast-qual.
Add some volatiles and consts in other places to make this build under
-Wcast-qual.
Also rename a few variables to make this build under -Wshadow.
Also get rid of duplicated declarations of badaddr() and badbaddr()
in machdep.c, they're already there from <machine/cpu.h>.

show more ...


# df9803ce 21-Feb-2005 thorpej <thorpej@NetBSD.org>

Part 1 of a cleanup pass over the SCSI subsystem. The aim is to name
everything "scsi_*", since we really are talking about the SCSI command
set, ATAPI transport not withstanding. Improve the names

Part 1 of a cleanup pass over the SCSI subsystem. The aim is to name
everything "scsi_*", since we really are talking about the SCSI command
set, ATAPI transport not withstanding. Improve the names of many structures,
and prepend "SCSI_" onto all SCSI command opcodes. Place items described
by the SCSI Primary Commands document into scsi_spc.h.

show more ...


# d57ca0cf 18-Jan-2005 chs <chs@NetBSD.org>

de-__P, remove register, ansify.


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

rcsid


123