History log of /src/sys/arch/hpcmips/isa |
Revision | Date | Author | Comments |
1.42 | 25-Sep-2022 |
andvar | s/inerrupt/interrupt/ and s/intrrupt/interrupt/ in comments.
|
1.41 | 07-Aug-2021 |
thorpej | Merge thorpej-cfargs2.
|
1.40 | 24-Apr-2021 |
thorpej | branches: 1.40.8; 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?).
|
1.39 | 27-Oct-2012 |
chs | branches: 1.39.52; split device_t/softc for all remaining drivers. replace "struct device *" with "device_t". use device_xname(), device_unit(), etc.
|
1.38 | 19-Aug-2009 |
dyoung | branches: 1.38.12; 1.38.22; isa_detach_hook() needs two arguments, the first an isa_chipset_tag_t.
|
1.37 | 18-Aug-2009 |
dyoung | These are stragglers from my last commit ("Let us safely detach the ISA bus and devices attaching to the ISA bus"). Define isa_detach_hook() in MD ISA implementations. Define isa_dmadestroy().
|
1.36 | 18-Mar-2009 |
cegger | Ansify function definitions w/o arguments. Generated with sed.
|
1.35 | 14-Mar-2009 |
dsl | 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.)
|
1.34 | 28-Apr-2008 |
martin | branches: 1.34.8; 1.34.14; Remove clause 3 and 4 from TNF licenses
|
1.33 | 04-Jan-2008 |
ad | branches: 1.33.6; 1.33.8; 1.33.10; Need sys/device.h
|
1.32 | 29-Mar-2006 |
thorpej | branches: 1.32.38; 1.32.44; 1.32.52; Use device_cfdata().
|
1.31 | 11-Dec-2005 |
christos | branches: 1.31.4; 1.31.6; 1.31.8; 1.31.10; 1.31.12; merge ktrace-lwp.
|
1.30 | 07-Jun-2005 |
he | branches: 1.30.2; Sprinkle some const around to make these files compile with -Wcast-qual.
|
1.29 | 30-Aug-2004 |
drochner | Phase out the use of a string as first "attach args" member to control which bustype should be attached with a specific call to config_found() (from a "mainbus" or a bus bridge). Do it for isa/eisa/mca and pci/agp for now. These buses all attach to an mi interface attribute "isabus", "eisabus" etc., and the autoconf framework now allows to specify an interface attribute on config_found() and config_search(), which limits the search of matching config data to these which attach to that specific attribute. So we basically have to call config_found_ia(..., "foobus", ...) where such a bus is attached. As a consequence, where a "mainbus" or alike also attaches other devices (eg CPUs) which do not attach to a specific attribute yet, we need at least pass an attribute name (different from "foobus") so that the foo bus is not found at these places. This made some minor changes necessary which are not obviously related to the mentioned buses.
|
1.28 | 15-Jul-2003 |
lukem | __KERNEL_RCSID()
|
1.27 | 02-Oct-2002 |
thorpej | branches: 1.27.6; Use CFATTACH_DECL().
|
1.26 | 27-Sep-2002 |
thorpej | Declare all cfattach structures const.
|
1.25 | 27-Sep-2002 |
thorpej | Rather than referencing the cfdriver directly in the cfdata entries, instead use a string naming the driver. The cfdriver is then looked up in a list which is built at run-time.
|
1.24 | 31-Jan-2002 |
uch | clean up header file.
|
1.23 | 29-Jan-2002 |
uch | clean up debug print and configuration.
|
1.22 | 27-Jan-2002 |
takemura | Added vripif.
|
1.21 | 26-Jan-2002 |
takemura | Straightened vripvar.h
|
1.20 | 05-Jan-2002 |
takemura | If two or more vrisab matches platform id, attach most specific one.
|
1.19 | 22-Nov-2001 |
takemura | Fixed bus stuff to compile vrpciu.c (VR4131 CPU).
|
1.18 | 18-Nov-2001 |
takemura | Rewrite bus stuff with method table in the bus tags.
|
1.17 | 24-Oct-2001 |
shin | branches: 1.17.2; make this compile with -DDEBUG_FIND_PCIC.
|
1.16 | 16-Sep-2001 |
uch | branches: 1.16.2; ANSIfy, KNF.
|
1.15 | 11-Jun-2001 |
enami | branches: 1.15.2; 1.15.4; Print space after colon.
|
1.14 | 06-May-2001 |
takemura | Vrc4172 GPIO support. This device is currently configured on PenCentra 130.
|
1.13 | 30-Apr-2001 |
takemura | Machine independent GPIO interface.
|
1.12 | 18-Apr-2001 |
sato | - support VR4122 vrip register map. - support VR4122 ICU register map. - support VR4122 intr levels. XXX: currently if 'options VR4122' is defined, XXX: cannot specify 'options VR4121','options VR4111', 'options VR4102'. XXXX: i have not the VR4122 based hardware.. so no check for VR4122.
|
1.11 | 16-Oct-2000 |
sato | branches: 1.11.2; DEBUG_FIND_COMPORT code. (by ngc@ff.iij4u.or.jp)
|
1.10 | 25-Sep-2000 |
sato | #include <sys/reboot.h> would probably suffice for those.
|
1.9 | 25-Sep-2000 |
sato | - can compile these files. #include <sys/boot_flag.h>
|
1.8 | 24-Sep-2000 |
jdolecek | add new macro BOOT_FLAG() (defined in <sys/boot_flag.h>) - this maps standard boot flags to corresponding RB_* values use BOOT_FLAG() in port's MD code as appropriate
as discussed on tech-kern, add new boot flags -v, -q for booting verbosely or quietly, and corresponding AB_VERBOSE/AB_QUIET boot flags; also add FreeBSD-compatible bootverbose macro and NetBSD-specific bootquiet macro
for hpcmips, use new bootverbose instead of it's own hpcmips_verbose
Tested on i386, and to limited extend (compile of affected files) also for mvme68k, hp300, luna68k, sun3.
|
1.7 | 12-Sep-2000 |
takemura | fix typo in boot message.
|
1.6 | 04-Jun-2000 |
cgd | Implement the more flexiable `evcnt' interface as discussed (briefly) on tech-kern and now documented in evcnt(9).
|
1.5 | 03-Apr-2000 |
sato | branches: 1.5.2; - hpcmips_verbose - pbsdboot -v option - WIN I/O setting - vrisa IRQ GPIO mapping - memory banks.
|
1.4 | 10-Mar-2000 |
sato | printf -> DPRINTF vrisa_debug = 0 by default.
|
1.3 | 05-Mar-2000 |
takemura | Add ISA DMA support entries. (It's dummy. I don't know if it work or not.)
|
1.2 | 04-Mar-2000 |
takemura | Change 'irq' locater encoding. You can use port# 0. You should use 0xff for unspecified port#. Also, You can specify interrupt level/edge, high/low and through/hold.
|
1.1 | 16-Sep-1999 |
takemura | branches: 1.1.1; Initial revision
|
1.1.1.1 | 16-Sep-1999 |
takemura | branches: 1.1.1.1.2; Import NetBSD/hpcmips source files from hpcmips repository. file list: sys/arch/hpcmips/ distrib/hpcmips/ etc/etc.hpcmips/ lib/libc/arch/mips/fplib/ lib/libc/arch/mips/fplib/Makefile.inc lib/libc/arch/mips/fplib/environment.h lib/libc/arch/mips/fplib/fplib_glue.c lib/libc/arch/mips/fplib/fplib_libc.c lib/libc/arch/mips/fplib/hpcmips-gcc.h lib/libc/arch/mips/fplib/softfloat-macros.h lib/libc/arch/mips/fplib/softfloat-specialize.h lib/libc/arch/mips/fplib/softfloat.c lib/libc/arch/mips/fplib/softfloat.h lib/libc/arch/mips/gen/ieee.h lib/libc/arch/mips/gen/sf_fabs.c lib/libc/arch/mips/gen/sf_flt_rounds.c lib/libc/arch/mips/gen/sf_fpgetmask.c lib/libc/arch/mips/gen/sf_fpgetround.c lib/libc/arch/mips/gen/sf_fpgetsticky.c lib/libc/arch/mips/gen/sf_fpsetmask.c lib/libc/arch/mips/gen/sf_fpsetround.c lib/libc/arch/mips/gen/sf_fpsetsticky.c lib/libc/arch/mips/gen/sf_isinf.c lib/libc/arch/mips/gen/sf_ldexp.c lib/libc/arch/mips/gen/sf_modf.c
|
1.1.1.1.2.2 | 21-Apr-2001 |
bouyer | Sync with HEAD
|
1.1.1.1.2.1 | 20-Nov-2000 |
bouyer | Update thorpej_scsipi to -current as of a month ago A i386 GENERIC kernel compiles without the siop, ahc and bha drivers (will be updated later). i386 IDE/ATAPI and ncr work, as well as sparc/esp_sbus. alpha should work as well (untested yet). siop, ahc and bha will be updated once I've updated the branch to current -current, as well as machine-dependant code.
|
1.5.2.1 | 22-Jun-2000 |
minoura | Sync w/ netbsd-1-5-base.
|
1.11.2.1 | 21-Jun-2001 |
nathanw | Catch up to -current.
|
1.15.4.1 | 01-Oct-2001 |
fvdl | Catch up with -current.
|
1.15.2.3 | 10-Oct-2002 |
jdolecek | sync kqueue with -current; this includes merge of gehenna-devsw branch, merge of i386 MP branch, and part of autoconf rototil work
|
1.15.2.2 | 11-Feb-2002 |
jdolecek | Sync w/ -current.
|
1.15.2.1 | 10-Jan-2002 |
thorpej | Sync kqueue branch with -current.
|
1.16.2.1 | 07-Nov-2001 |
shin | sync with trunk (rev. 1.17). make this compile with -DDEBUG_FIND_PCIC.
|
1.17.2.5 | 18-Oct-2002 |
nathanw | Catch up to -current.
|
1.17.2.4 | 28-Feb-2002 |
nathanw | Catch up to -current.
|
1.17.2.3 | 11-Jan-2002 |
nathanw | More catchup.
|
1.17.2.2 | 08-Jan-2002 |
nathanw | Catch up to -current.
|
1.17.2.1 | 24-Oct-2001 |
nathanw | file isa_machdep.c was added on branch nathanw_sa on 2002-01-08 00:25:04 +0000
|
1.27.6.5 | 10-Nov-2005 |
skrll | Sync with HEAD. Here we go again...
|
1.27.6.4 | 21-Sep-2004 |
skrll | Fix the sync with head I botched.
|
1.27.6.3 | 18-Sep-2004 |
skrll | Sync with HEAD.
|
1.27.6.2 | 03-Sep-2004 |
skrll | Sync with HEAD
|
1.27.6.1 | 03-Aug-2004 |
skrll | Sync with HEAD
|
1.30.2.2 | 21-Jan-2008 |
yamt | sync with head
|
1.30.2.1 | 21-Jun-2006 |
yamt | sync with head.
|
1.31.12.1 | 31-Mar-2006 |
tron | Merge 2006-03-31 NetBSD-current into the "peter-altq" branch.
|
1.31.10.1 | 19-Apr-2006 |
elad | sync with head - hopefully this will work
|
1.31.8.1 | 01-Apr-2006 |
yamt | sync with head.
|
1.31.6.1 | 22-Apr-2006 |
simonb | Sync with head.
|
1.31.4.1 | 09-Sep-2006 |
rpaulo | sync with head
|
1.32.52.1 | 08-Jan-2008 |
bouyer | Sync with HEAD
|
1.32.44.1 | 18-Feb-2008 |
mjf | Sync with HEAD.
|
1.32.38.1 | 09-Jan-2008 |
matt | sync with HEAD
|
1.33.10.3 | 19-Aug-2009 |
yamt | sync with head.
|
1.33.10.2 | 04-May-2009 |
yamt | sync with head.
|
1.33.10.1 | 16-May-2008 |
yamt | sync with head.
|
1.33.8.1 | 18-May-2008 |
yamt | sync with head.
|
1.33.6.1 | 02-Jun-2008 |
mjf | Sync with HEAD.
|
1.34.14.1 | 13-May-2009 |
jym | Sync with HEAD.
Commit is split, to avoid a "too many arguments" protocol error.
|
1.34.8.1 | 28-Apr-2009 |
skrll | Sync with HEAD.
|
1.38.22.1 | 20-Nov-2012 |
tls | Resync to 2012-11-19 00:00:00 UTC
|
1.38.12.1 | 30-Oct-2012 |
yamt | sync with head
|
1.39.52.1 | 23-Mar-2021 |
thorpej | Convert config_found_ia() call sites where the device only carries a single interface attribute to bare config_found() calls.
|
1.40.8.1 | 04-Aug-2021 |
thorpej | Adapt to CFARGS().
|
1.14 | 07-Aug-2021 |
thorpej | Merge thorpej-cfargs2.
|
1.13 | 24-Apr-2021 |
thorpej | branches: 1.13.8; 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?).
|
1.12 | 27-Oct-2012 |
chs | branches: 1.12.52; split device_t/softc for all remaining drivers. replace "struct device *" with "device_t". use device_xname(), device_unit(), etc.
|
1.11 | 19-Aug-2009 |
dyoung | branches: 1.11.12; 1.11.22; isa_detach_hook() needs two arguments, the first an isa_chipset_tag_t.
|
1.10 | 18-Aug-2009 |
dyoung | These are stragglers from my last commit ("Let us safely detach the ISA bus and devices attaching to the ISA bus"). Define isa_detach_hook() in MD ISA implementations. Define isa_dmadestroy().
|
1.9 | 28-Apr-2008 |
martin | Remove clause 3 and 4 from TNF licenses
|
1.8 | 11-Dec-2005 |
christos | branches: 1.8.74; 1.8.76; 1.8.78; merge ktrace-lwp.
|
1.7 | 30-Aug-2004 |
drochner | Phase out the use of a string as first "attach args" member to control which bustype should be attached with a specific call to config_found() (from a "mainbus" or a bus bridge). Do it for isa/eisa/mca and pci/agp for now. These buses all attach to an mi interface attribute "isabus", "eisabus" etc., and the autoconf framework now allows to specify an interface attribute on config_found() and config_search(), which limits the search of matching config data to these which attach to that specific attribute. So we basically have to call config_found_ia(..., "foobus", ...) where such a bus is attached. As a consequence, where a "mainbus" or alike also attaches other devices (eg CPUs) which do not attach to a specific attribute yet, we need at least pass an attribute name (different from "foobus") so that the foo bus is not found at these places. This made some minor changes necessary which are not obviously related to the mentioned buses.
|
1.6 | 15-Jul-2003 |
lukem | __KERNEL_RCSID()
|
1.5 | 02-Oct-2002 |
thorpej | branches: 1.5.6; Use CFATTACH_DECL().
|
1.4 | 27-Sep-2002 |
thorpej | Declare all cfattach structures const.
|
1.3 | 27-Sep-2002 |
thorpej | Rather than referencing the cfdriver directly in the cfdata entries, instead use a string naming the driver. The cfdriver is then looked up in a list which is built at run-time.
|
1.2 | 16-Sep-2001 |
uch | branches: 1.2.4; ANSIfy, KNF.
|
1.1 | 21-Nov-1999 |
uch | branches: 1.1.2; 1.1.8; 1.1.10; 1.1.12; PLUM2-ISA bridge
|
1.1.12.2 | 10-Oct-2002 |
jdolecek | sync kqueue with -current; this includes merge of gehenna-devsw branch, merge of i386 MP branch, and part of autoconf rototil work
|
1.1.12.1 | 10-Jan-2002 |
thorpej | Sync kqueue branch with -current.
|
1.1.10.1 | 01-Oct-2001 |
fvdl | Catch up with -current.
|
1.1.8.2 | 20-Nov-2000 |
bouyer | Update thorpej_scsipi to -current as of a month ago A i386 GENERIC kernel compiles without the siop, ahc and bha drivers (will be updated later). i386 IDE/ATAPI and ncr work, as well as sparc/esp_sbus. alpha should work as well (untested yet). siop, ahc and bha will be updated once I've updated the branch to current -current, as well as machine-dependant code.
|
1.1.8.1 | 21-Nov-1999 |
bouyer | file plumisa_machdep.c was added on branch thorpej_scsipi on 2000-11-20 20:46:54 +0000
|
1.1.2.1 | 27-Dec-1999 |
wrstuden | Pull up to last week's -current.
|
1.2.4.2 | 18-Oct-2002 |
nathanw | Catch up to -current.
|
1.2.4.1 | 16-Sep-2001 |
nathanw | file plumisa_machdep.c was added on branch nathanw_sa on 2002-10-18 02:37:11 +0000
|
1.5.6.4 | 21-Sep-2004 |
skrll | Fix the sync with head I botched.
|
1.5.6.3 | 18-Sep-2004 |
skrll | Sync with HEAD.
|
1.5.6.2 | 03-Sep-2004 |
skrll | Sync with HEAD
|
1.5.6.1 | 03-Aug-2004 |
skrll | Sync with HEAD
|
1.8.78.2 | 19-Aug-2009 |
yamt | sync with head.
|
1.8.78.1 | 16-May-2008 |
yamt | sync with head.
|
1.8.76.1 | 18-May-2008 |
yamt | sync with head.
|
1.8.74.1 | 02-Jun-2008 |
mjf | Sync with HEAD.
|
1.11.22.1 | 20-Nov-2012 |
tls | Resync to 2012-11-19 00:00:00 UTC
|
1.11.12.1 | 30-Oct-2012 |
yamt | sync with head
|
1.12.52.1 | 23-Mar-2021 |
thorpej | Convert config_found_ia() call sites where the device only carries a single interface attribute to bare config_found() calls.
|
1.13.8.1 | 04-Aug-2021 |
thorpej | Adapt to CFARGS().
|