History log of /src/sys/arch/alpha/jensenio/jensenio.c |
Revision | | Date | Author | Comments |
1.25 |
| 19-Oct-2025 |
thorpej | Use {,e}isabus_attach().
|
1.24 |
| 21-Feb-2025 |
thorpej | Fix a paste-o introduced in rev 1.22 that prevented ISA bus instances from attaching.
|
1.23 |
| 04-Dec-2023 |
thorpej | branches: 1.23.2; Convert the Alpha port's bus_space back-end to manage address space with vmem(9) arenas (using statically-allocated private boundary tags for very early-in-boot) rather than extent(9).
As a side-effect, there's arguments to some initialization functions that are no longer required, so garbage-collect those, update all the call sites.
|
1.22 |
| 07-Aug-2021 |
thorpej | branches: 1.22.6; Merge thorpej-cfargs2.
|
1.21 |
| 07-May-2021 |
thorpej | branches: 1.21.6; Liberally sprinkle static around to get more symbols out of the global namespace. A small bit of const poisoning in the TC code.
|
1.20 |
| 24-Apr-2021 |
thorpej | branches: 1.20.2; 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.19 |
| 19-Aug-2009 |
dyoung | branches: 1.19.78; isa_detach_hook() needs two arguments, the first an isa_chipset_tag_t.
|
1.18 |
| 19-Aug-2009 |
dyoung | Define isa_dmadestroy and isa_detach_hook. Hook up a couple of isa_detach_hook implementations.
|
1.17 |
| 09-Jul-2008 |
joerg | - Statify - Split device/softc.
|
1.16 |
| 28-Apr-2008 |
martin | branches: 1.16.2; 1.16.4; 1.16.6; Remove clause 3 and 4 from TNF licenses
|
1.15 |
| 17-Oct-2007 |
garbled | branches: 1.15.16; 1.15.18; 1.15.20; 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.
|
1.14 |
| 22-Jul-2007 |
tsutsui | branches: 1.14.6; More fixes for Jensen, reported and tested by Christoph Franzen in PR port-alpha/36628: - make jensenio_eisa_maxslots() return 8 (instead of 16) since EISA config for slot 8-15 on jensen could return invalid values - pass eisa_chipset_tag_t to eisa_init() and check eisa_maxslots() on probing EISA config space - pass M_ZERO to malloc(9) and make sure malloc(9) doesn't fail - fix typo in a debug printf, add more debug printfs, and use #ifdef EISA_DEBUG to enable them - cast uint8_t value to uint32_t before shift more than 8 bits - check buffer region on reading compressed data from EISA config space
|
1.13 |
| 11-Dec-2005 |
christos | branches: 1.13.24; 1.13.30; 1.13.38; 1.13.40; 1.13.42; 1.13.44; merge ktrace-lwp.
|
1.12 |
| 26-Aug-2005 |
drochner | kill some more simple submatch() functions, use config_stdsubmatch()
|
1.11 |
| 25-Aug-2005 |
drochner | replace the "locdesc_t" structure carrying the number of locators explicitely by a plain integer array the length in now known to all relevant parties, so this avoids duplication of information, and we can allocate that thing in drivers without hacks
|
1.10 |
| 14-Sep-2004 |
drochner | branches: 1.10.12; include "locators.h" explicitely (don't rely on isavar.h doing so)
|
1.9 |
| 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.8 |
| 01-Jan-2003 |
thorpej | branches: 1.8.2; Use aprint_normal() for cfprint routines.
|
1.7 |
| 02-Oct-2002 |
thorpej | Use CFATTACH_DECL().
|
1.6 |
| 27-Sep-2002 |
thorpej | Declare all cfattach structures const.
|
1.5 |
| 27-Sep-2002 |
thorpej | Introduce a new routine, config_match(), which invokes the cfattach->ca_match function in behalf of the caller. Use it rather than invoking cfattach->ca_match directly.
|
1.4 |
| 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.3 |
| 27-Jul-2001 |
thorpej | branches: 1.3.2; Rework the interrupt code, shaving some cycles off in the process. Rather than an "iointr" routine that decomposes a vector into an IRQ, we maintain a vector table directly, hooking up each "iointr" routine at the correct vector. This also allows us to hook device interrupts up to specific vectors (c.f. Jensen).
We can shave even more cycles off, here, and I will, but it requires some changes to the alpha_shared_intr stuff.
|
1.2 |
| 14-Aug-2000 |
thorpej | branches: 1.2.2; 1.2.6; Add support for EISA configuration space on the Jensen (it's mapped differently than on other EISA sysetms).
|
1.1 |
| 12-Jul-2000 |
thorpej | branches: 1.1.2; Code to support the DEC 2000/300 (DECpc AXP 150, a.k.a. "Jensen") systems. Thanks to Gyenes Istvan for the rounds of testing.
|
1.1.2.3 |
| 14-Aug-2000 |
thorpej | Pullup rev. 1.2: Add support for EISA configuration space on the Jensen (it's mapped differently than on other EISA sysetms).
|
1.1.2.2 |
| 12-Jul-2000 |
thorpej | Update from trunk: Code to support the DEC 2000/300 (DECpc AXP 150, a.k.a. "Jensen") systems. Thanks to Gyenes Istvan for the rounds of testing.
|
1.1.2.1 |
| 12-Jul-2000 |
thorpej | file jensenio.c was added on branch netbsd-1-5 on 2000-07-12 20:59:11 +0000
|
1.2.6.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.2.6.1 |
| 03-Aug-2001 |
lukem | update to -current
|
1.2.2.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.2.2.1 |
| 14-Aug-2000 |
bouyer | file jensenio.c was added on branch thorpej_scsipi on 2000-11-20 19:57:00 +0000
|
1.3.2.3 |
| 03-Jan-2003 |
thorpej | Sync with HEAD.
|
1.3.2.2 |
| 18-Oct-2002 |
nathanw | Catch up to -current.
|
1.3.2.1 |
| 27-Jul-2001 |
nathanw | file jensenio.c was added on branch nathanw_sa on 2002-10-18 02:34:15 +0000
|
1.8.2.4 |
| 10-Nov-2005 |
skrll | Sync with HEAD. Here we go again...
|
1.8.2.3 |
| 21-Sep-2004 |
skrll | Fix the sync with head I botched.
|
1.8.2.2 |
| 18-Sep-2004 |
skrll | Sync with HEAD.
|
1.8.2.1 |
| 03-Sep-2004 |
skrll | Sync with HEAD
|
1.10.12.2 |
| 03-Sep-2007 |
yamt | sync with head.
|
1.10.12.1 |
| 21-Jun-2006 |
yamt | sync with head.
|
1.13.44.1 |
| 15-Aug-2007 |
skrll | Sync with HEAD.
|
1.13.42.1 |
| 07-Aug-2007 |
matt | Sync with HEAD.
|
1.13.40.1 |
| 03-Sep-2007 |
wrstuden | Sync w/ NetBSD-4-RC_1
|
1.13.38.1 |
| 03-Oct-2007 |
garbled | Sync with HEAD
|
1.13.30.1 |
| 20-Aug-2007 |
ad | Sync with HEAD.
|
1.13.24.1 |
| 21-Aug-2007 |
liamjfoy | Pull up following revision(s) (requested by tsutsui in ticket #815): sys/arch/alpha/pci/sio.c: revision 1.41 sys/arch/alpha/eisa/eisa_machdep.c: revision 1.6 sys/arch/alpha/jensenio/jensenio.c: revision 1.14 sys/arch/alpha/jensenio/jensenio_intr.c: revision 1.6 sys/arch/alpha/include/eisa_machdep.h: revision 1.8 sys/arch/alpha/alpha/dec_2000_300.c: revision 1.14 sys/arch/alpha/jensenio/lpt_jensenio.c: revision 1.6 Avoid NULL pointer dereference in MD device_register() function. Fixes a part of PR port-alpha/36628. Backout changes on lpt_jensenio.c rev 1.2. lpt at jensenio doesn't seem to have a specific interrupt vector but uses a normal EISA interrupt. Fixes another part of PR port-alpha/36628 and PR port-alpha/20386. More fixes for Jensen, reported and tested by Christoph Franzen in PR port-alpha/36628: - make jensenio_eisa_maxslots() return 8 (instead of 16) since EISA config for slot 8-15 on jensen could return invalid values - pass eisa_chipset_tag_t to eisa_init() and check eisa_maxslots() on probing EISA config space - pass M_ZERO to malloc(9) and make sure malloc(9) doesn't fail - fix typo in a debug printf, add more debug printfs, and use #ifdef EISA_DEBUG to enable them - cast uint8_t value to uint32_t before shift more than 8 bits - check buffer region on reading compressed data from EISA config space Check a correct value on a sanity check in jensenio_eisa_intr_map(). Fixes yet another bug on Jensen found on tracking PR port-alpha/36628.
|
1.14.6.1 |
| 06-Nov-2007 |
matt | sync with HEAD
|
1.15.20.3 |
| 19-Aug-2009 |
yamt | sync with head.
|
1.15.20.2 |
| 04-May-2009 |
yamt | sync with head.
|
1.15.20.1 |
| 16-May-2008 |
yamt | sync with head.
|
1.15.18.1 |
| 18-May-2008 |
yamt | sync with head.
|
1.15.16.2 |
| 28-Sep-2008 |
mjf | Sync with HEAD.
|
1.15.16.1 |
| 02-Jun-2008 |
mjf | Sync with HEAD.
|
1.16.6.1 |
| 19-Oct-2008 |
haad | Sync with HEAD.
|
1.16.4.1 |
| 18-Jul-2008 |
simonb | Sync with head.
|
1.16.2.1 |
| 18-Sep-2008 |
wrstuden | Sync with wrstuden-revivesa-base-2.
|
1.19.78.2 |
| 02-Apr-2021 |
thorpej | config_found_ia() -> config_found() w/ CFARG_IATTR.
|
1.19.78.1 |
| 22-Mar-2021 |
thorpej | Mechanical conversion of config_found_sm_loc() -> config_found(). CFARG_IATTR usage needs to be audited.
|
1.20.2.1 |
| 13-May-2021 |
thorpej | Sync with HEAD.
|
1.21.6.1 |
| 03-Aug-2021 |
thorpej | Adapt to CFARGS().
|
1.22.6.1 |
| 22-Feb-2025 |
martin | Pull up following revision(s) (requested by thorpej in ticket #1065):
sys/arch/alpha/jensenio/jensenio.c: revision 1.24
Fix a paste-o introduced in rev 1.22 that prevented ISA bus instances from attaching.
|
1.23.2.1 |
| 02-Aug-2025 |
perseant | Sync with HEAD
|