History log of /netbsd/sys/arch/mac68k/nubus/nubus.c (Results 1 – 25 of 68)
Revision Date Author Comments
# 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 ...


# b426c006 08-Jan-2019 jdolecek <jdolecek@NetBSD.org>

no need to include <machine/param.h> if <sys/param.h> already included


# 7d1220ac 18-Oct-2014 snj <snj@NetBSD.org>

src is too big these days to tolerate superfluous apostrophes. It's
"its", people!


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


# 9b87d582 17-Dec-2008 cegger <cegger@NetBSD.org>

kill MALLOC and FREE macros.


# 2e775e89 07-Mar-2007 tsutsui <tsutsui@NetBSD.org>

Change variables which are used to read byte stream data
from (void *) to (char *).


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

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


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

merge ktrace-lwp.


# eb57d41c 03-Jun-2005 rjs <rjs@NetBSD.org>

Add const.


# 7acd68b1 15-Jan-2005 chs <chs@NetBSD.org>

de-__P, remove register, ansify, b* -> mem*.


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

__KERNEL_RCSID()


# 72a2c879 01-Jan-2003 thorpej <thorpej@NetBSD.org>

Use aprint_normal() for cfprint routines.


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

Use CFATTACH_DECL().


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

Declare all cfattach structures const.


# 652b9e4c 13-Apr-2002 briggs <briggs@NetBSD.org>

Fixes and changes from Hauke Fath <hauke@Espresso.Rhein-Neckar.DE>.
* Clean up after briggs@ changes to support bus_dma.
* Add support for reading sMemory resources from nubus cards.
* Add support fo

Fixes and changes from Hauke Fath <hauke@Espresso.Rhein-Neckar.DE>.
* Clean up after briggs@ changes to support bus_dma.
* Add support for reading sMemory resources from nubus cards.
* Add support for old cards with only the board rsrc (NatSemi NB-GPIB, e.g.)
* Add a few more card identifiers.

show more ...


# 648cd86d 10-Apr-2002 briggs <briggs@NetBSD.org>

Use m68k/m68k/cacheops.[ch]
Use m68k/m68k/bus_dma.c
- Add mainbus_attach_args with bus_space_tag_t and bus_dma_tag_t.
- Use passed-in tags for nubus scan.


# c52d355d 20-Aug-2001 wiz <wiz@NetBSD.org>

"wierd" is weird.


# bd823b93 31-Jul-2000 briggs <briggs@NetBSD.org>

Fix code to read a string from the nubus board--it was not terminating
the string properly when the string on the board is longer than the
pre-allocated space.


# 28d89839 29-Jun-2000 mrg <mrg@NetBSD.org>

remove include of <vm/vm.h>. <vm/vm.h> -> <uvm/uvm_extern.h>


# 2f159a1b 26-Jun-2000 mrg <mrg@NetBSD.org>

remove/move more mach vm header files:

<vm/pglist.h> -> <uvm/uvm_pglist.h>
<vm/vm_inherit.h> -> <uvm/uvm_inherit.h>
<vm/vm_kern.h> -> into <uvm/uvm_extern.h>
<vm/vm_object.h> -> nothing
<vm/vm_

remove/move more mach vm header files:

<vm/pglist.h> -> <uvm/uvm_pglist.h>
<vm/vm_inherit.h> -> <uvm/uvm_inherit.h>
<vm/vm_kern.h> -> into <uvm/uvm_extern.h>
<vm/vm_object.h> -> nothing
<vm/vm_pager.h> -> into <uvm/uvm_pager.h>

also includes a bunch of <vm/vm_page.h> include removals (due to redudancy
with <vm/vm.h>), and a scattering of other similar headers.

show more ...


# 2cf3330a 23-Aug-1999 thorpej <thorpej@NetBSD.org>

Garbage-collect reference to <sys/dmap.h>.


# 0ff3b008 01-Jun-1999 briggs <briggs@NetBSD.org>

Add debug routine as an aid for working out new nubus cards.


# 91066694 02-Jun-1998 scottr <scottr@NetBSD.org>

An inability to map a slot's address space may be a normal condition --
for instance, on-board video may live here. Make the complaint about
this a DEBUG rather than a DIAGNOSTIC message.


# 9dfbdab6 02-May-1998 scottr <scottr@NetBSD.org>

Move on-board I/O and NuBus drivers to their own directories
via repository copy, and make the necessary adjustments to reflect
the moved files.


123