History log of /src/sys/arch/i386/pci/pceb.c |
Revision | | Date | Author | Comments |
1.26 |
| 07-Aug-2021 |
thorpej | Merge thorpej-cfargs2.
|
1.25 |
| 24-Apr-2021 |
thorpej | branches: 1.25.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.24 |
| 01-Jul-2011 |
dyoung | branches: 1.24.68; #include <sys/bus.h> instead of <machine/bus.h>.
|
1.23 |
| 28-Apr-2010 |
dyoung | On x86, change the bus_space_tag_t to a pointer to a struct bus_space_tag. For now, bus_space_tag's only member is bst_type, the type of space, which is either X86_BUS_SPACE_IO or X86_BUS_SPACE_MEM. In the future, new bus_space_tag members will refer to override-functions installed by a new function, bus_space_tag_create(9).
Add pointers to constant struct bus_space_tag, x86_bus_space_io and x86_bus_space_mem. Use them to replace most uses of X86_BUS_SPACE_IO and X86_BUS_SPACE_MEM.
Add an x86-specific bus_space_is_equal(9) implementation that compares the two tags' bst_type.
|
1.22 |
| 05-May-2008 |
xtraeme | branches: 1.22.14; 1.22.20; 1.22.22; device_t/softc split and other related cosmetic changes.
|
1.21 |
| 28-Apr-2008 |
martin | Remove clause 3 and 4 from TNF licenses
|
1.20 |
| 04-Apr-2008 |
cegger | branches: 1.20.2; 1.20.4; use aprint_*_dev and device_xname OK joerg
|
1.19 |
| 16-Nov-2006 |
christos | branches: 1.19.52; __unused removal on arguments; approved by core.
|
1.18 |
| 12-Oct-2006 |
christos | - sprinkle __unused on function decls. - fix a couple of unused bugs - no more -Wno-unused for i386
|
1.17 |
| 19-Feb-2006 |
thorpej | branches: 1.17.14; 1.17.16; Use aprint_*().
|
1.16 |
| 11-Dec-2005 |
christos | branches: 1.16.2; 1.16.4; 1.16.6; merge ktrace-lwp.
|
1.15 |
| 03-Feb-2005 |
perry | branches: 1.15.6; de-__P, partially ANSIfy
|
1.14 |
| 30-Aug-2004 |
drochner | branches: 1.14.4; 1.14.6; 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.13 |
| 23-Apr-2004 |
itojun | pass string length (= boundary info) to pci_devinfo so that we do not run over the end of memory region
|
1.12 |
| 26-Feb-2003 |
fvdl | branches: 1.12.2; Adapt for i386/x86 change.
|
1.11 |
| 08-Feb-2003 |
jdolecek | match anything which claims to be PCI-EISA bridge the explicit check for Intel PCI-EISA bridge was left in, just in case it wouldn't identify itself as PCI-EISA bridge
fixes PR kern/9589 by Johan Danielsson
|
1.10 |
| 01-Jan-2003 |
thorpej | Use aprint_normal() for cfprint routines.
|
1.9 |
| 02-Oct-2002 |
thorpej | Tidy up CFATTACH_DECL() formatting.
|
1.8 |
| 01-Oct-2002 |
fvdl | Merge Bill Sommerfeld's i386 MP branch. This code has some known caveats, but works quite well in a lot of MP cases, and all UP cases that I have tested. Parts of this will hopefully be reworked in the not-too-distant future.
|
1.7 |
| 27-Sep-2002 |
thorpej | Declare all cfattach structures const.
|
1.6 |
| 15-Nov-2001 |
lukem | branches: 1.6.2; add RCSID
|
1.5 |
| 05-Aug-1998 |
perry | branches: 1.5.26; 1.5.28; bzero->memset
|
1.4 |
| 09-Jun-1998 |
thorpej | Use config_defer().
|
1.3 |
| 08-Jun-1998 |
thorpej | Nuke __BROKEN_INDIRECT_CONFIG.
|
1.2 |
| 06-Feb-1998 |
thorpej | Use __BROKEN_INDIRECT_CONFIG where appropriate.
|
1.1 |
| 06-Feb-1998 |
thorpej | Add an autoconfig node for PCI-EISA bridges. Configures EISA and ISA bridges via callback.
|
1.5.28.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.5.28.1 |
| 10-Jan-2002 |
thorpej | Sync kqueue branch with -current.
|
1.5.26.3 |
| 03-Jan-2003 |
thorpej | Sync with HEAD.
|
1.5.26.2 |
| 18-Oct-2002 |
nathanw | Catch up to -current.
|
1.5.26.1 |
| 08-Jan-2002 |
nathanw | Catch up to -current.
|
1.6.2.2 |
| 15-Nov-2001 |
lukem | add RCSID
|
1.6.2.1 |
| 15-Nov-2001 |
lukem | file pceb.c was added on branch sommerfeld_i386mp_1 on 2001-11-15 07:03:34 +0000
|
1.12.2.5 |
| 04-Feb-2005 |
skrll | Sync with HEAD.
|
1.12.2.4 |
| 21-Sep-2004 |
skrll | Fix the sync with head I botched.
|
1.12.2.3 |
| 18-Sep-2004 |
skrll | Sync with HEAD.
|
1.12.2.2 |
| 03-Sep-2004 |
skrll | Sync with HEAD
|
1.12.2.1 |
| 03-Aug-2004 |
skrll | Sync with HEAD
|
1.14.6.1 |
| 12-Feb-2005 |
yamt | sync with head.
|
1.14.4.1 |
| 29-Apr-2005 |
kent | sync with -current
|
1.15.6.2 |
| 30-Dec-2006 |
yamt | sync with head.
|
1.15.6.1 |
| 21-Jun-2006 |
yamt | sync with head.
|
1.16.6.1 |
| 22-Apr-2006 |
simonb | Sync with head.
|
1.16.4.1 |
| 09-Sep-2006 |
rpaulo | sync with head
|
1.16.2.1 |
| 01-Mar-2006 |
yamt | sync with head.
|
1.17.16.2 |
| 10-Dec-2006 |
yamt | sync with head.
|
1.17.16.1 |
| 22-Oct-2006 |
yamt | sync with head
|
1.17.14.1 |
| 18-Nov-2006 |
ad | Sync with head.
|
1.19.52.1 |
| 02-Jun-2008 |
mjf | Sync with HEAD.
|
1.20.4.2 |
| 11-Aug-2010 |
yamt | sync with head.
|
1.20.4.1 |
| 16-May-2008 |
yamt | sync with head.
|
1.20.2.1 |
| 18-May-2008 |
yamt | sync with head.
|
1.22.22.1 |
| 30-May-2010 |
rmind | sync with head
|
1.22.20.1 |
| 30-Apr-2010 |
uebayasi | Sync with HEAD.
|
1.22.14.2 |
| 27-Aug-2011 |
jym | Sync with HEAD. Most notably: uvm/pmap work done by rmind@, and MP Xen work of cherry@.
No regression observed on suspend/restore.
|
1.22.14.1 |
| 24-Oct-2010 |
jym | Sync with HEAD
|
1.24.68.1 |
| 02-Apr-2021 |
thorpej | config_found_ia() -> config_found() w/ CFARG_IATTR.
|
1.25.8.1 |
| 04-Aug-2021 |
thorpej | Adapt to CFARGS().
|