| History log of /src/sys/arch/evbmips/malta/pci/pcib.c |
| Revision | | Date | Author | Comments |
| 1.26 |
| 19-Oct-2025 |
thorpej | Use {,e}isabus_attach().
|
| 1.25 |
| 08-Feb-2024 |
andvar | s/sharable/shareable in comments and documentation.
|
| 1.24 |
| 22-Jan-2022 |
skrll | Ensure bus_dmatag_subregion is called with an inclusive max_addr everywhere.
|
| 1.23 |
| 22-Jan-2022 |
skrll | Trailing whitespace
|
| 1.22 |
| 07-Aug-2021 |
thorpej | Merge thorpej-cfargs2.
|
| 1.21 |
| 24-Apr-2021 |
thorpej | branches: 1.21.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.20 |
| 21-Nov-2020 |
thorpej | branches: 1.20.2; malloc(9) -> kmem(9)
|
| 1.19 |
| 10-Nov-2019 |
chs | branches: 1.19.8; in many device attach paths, allocate memory with M_WAITOK instead of M_NOWAIT and remove code to handle failures that can no longer happen.
|
| 1.18 |
| 29-Mar-2014 |
christos | branches: 1.18.30; make pci_intr_string and eisa_intr_string take a buffer and a length instead of relying in local static storage.
|
| 1.17 |
| 26-Mar-2014 |
christos | kill sprintf
|
| 1.16 |
| 27-Oct-2012 |
chs | branches: 1.16.2; split device_t/softc for all remaining drivers. replace "struct device *" with "device_t". use device_xname(), device_unit(), etc.
|
| 1.15 |
| 01-Jul-2011 |
dyoung | branches: 1.15.2; 1.15.12; #include <sys/bus.h> instead of <machine/bus.h>.
|
| 1.14 |
| 20-Feb-2011 |
matt | Merge forward from matt-nb5-mips64.
|
| 1.13 |
| 19-Aug-2009 |
dyoung | branches: 1.13.4; 1.13.6; 1.13.8; Define, and hook into the isa_chipset_tag_t, pcib_isa_detach_hook().
|
| 1.12 |
| 12-May-2006 |
tsutsui | branches: 1.12.66; 1.12.84; According to the i8259 manual, EOI, R, and SL bits belong to OCW2 register so rename them OCW3_* -> OCW2_*.
|
| 1.11 |
| 11-Dec-2005 |
christos | branches: 1.11.4; 1.11.6; 1.11.8; 1.11.12; merge ktrace-lwp.
|
| 1.10 |
| 30-Aug-2004 |
drochner | branches: 1.10.12; 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.9 |
| 24-Apr-2004 |
kleink | Update for new pci_devinfo(9) signature.
|
| 1.8 |
| 15-Jul-2003 |
lukem | __KERNEL_RCSID()
|
| 1.7 |
| 01-Jan-2003 |
thorpej | branches: 1.7.2; Use aprint_normal() for cfprint routines.
|
| 1.6 |
| 02-Oct-2002 |
thorpej | Add trailing ; to CFATTACH_DECL
|
| 1.5 |
| 01-Oct-2002 |
thorpej | Use CFATTACH_DECL().
|
| 1.4 |
| 27-Sep-2002 |
thorpej | Declare all cfattach structures const.
|
| 1.3 |
| 27-Sep-2002 |
provos | remove trailing \n in panic(). approved perry.
|
| 1.2 |
| 18-Mar-2002 |
simonb | branches: 1.2.8; 1.2.10; Use <mips/isa_machdep.h> and <mips/pci_machdep.h>.
|
| 1.1 |
| 07-Mar-2002 |
simonb | A port to the MIPS Malta evaluation board. Currently supports the MIPS32 4Kc CPU board, with support for the MIPS64 5Kc and the QED RM5261 CPU boards to follow.
The cs4281 audio hasn't been tested, there are some interrupt problems with onboard the pciide, but all other on-board peripherals work.
The evbmips port will support more MIPS evaluation boards in the future.
|
| 1.2.10.3 |
| 03-Jan-2003 |
thorpej | Sync with HEAD.
|
| 1.2.10.2 |
| 18-Oct-2002 |
nathanw | Catch up to -current.
|
| 1.2.10.1 |
| 18-Mar-2002 |
nathanw | file pcib.c was added on branch nathanw_sa on 2002-10-18 02:36:39 +0000
|
| 1.2.8.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.2.8.2 |
| 23-Jun-2002 |
jdolecek | catch up with -current on kqueue branch
|
| 1.2.8.1 |
| 18-Mar-2002 |
jdolecek | file pcib.c was added on branch kqueue on 2002-06-23 17:36:01 +0000
|
| 1.7.2.4 |
| 21-Sep-2004 |
skrll | Fix the sync with head I botched.
|
| 1.7.2.3 |
| 18-Sep-2004 |
skrll | Sync with HEAD.
|
| 1.7.2.2 |
| 03-Sep-2004 |
skrll | Sync with HEAD
|
| 1.7.2.1 |
| 03-Aug-2004 |
skrll | Sync with HEAD
|
| 1.10.12.1 |
| 21-Jun-2006 |
yamt | sync with head.
|
| 1.11.12.1 |
| 24-May-2006 |
tron | Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
|
| 1.11.8.1 |
| 24-May-2006 |
yamt | sync with head.
|
| 1.11.6.1 |
| 01-Jun-2006 |
kardel | Sync with head.
|
| 1.11.4.1 |
| 09-Sep-2006 |
rpaulo | sync with head
|
| 1.12.84.1 |
| 10-Jan-2010 |
matt | Add generic support for DMA bounce buffers and real version of bus_dmatag_subregion. MALTA uses it for ISADMA. Make RMIXL use for creating 32bit and 29bit subregions.
|
| 1.12.66.1 |
| 19-Aug-2009 |
yamt | sync with head.
|
| 1.13.8.1 |
| 05-Mar-2011 |
bouyer | Sync with HEAD
|
| 1.13.6.1 |
| 06-Jun-2011 |
jruoho | Sync with HEAD.
|
| 1.13.4.1 |
| 05-Mar-2011 |
rmind | sync with head
|
| 1.15.12.2 |
| 20-Aug-2014 |
tls | Rebase to HEAD as of a few days ago.
|
| 1.15.12.1 |
| 20-Nov-2012 |
tls | Resync to 2012-11-19 00:00:00 UTC
|
| 1.15.2.2 |
| 22-May-2014 |
yamt | sync with head.
for a reference, the tree before this commit was tagged as yamt-pagecache-tag8.
this commit was splitted into small chunks to avoid a limitation of cvs. ("Protocol error: too many arguments")
|
| 1.15.2.1 |
| 30-Oct-2012 |
yamt | sync with head
|
| 1.16.2.1 |
| 18-May-2014 |
rmind | sync with head
|
| 1.18.30.1 |
| 13-Apr-2020 |
martin | Mostly merge changes from HEAD upto 20200411
|
| 1.19.8.1 |
| 14-Dec-2020 |
thorpej | Sync w/ HEAD.
|
| 1.20.2.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.21.8.1 |
| 04-Aug-2021 |
thorpej | Adapt to CFARGS().
|