History log of /src/sys/arch/shark/ofw/vlpci.c |
Revision | | Date | Author | Comments |
1.13 |
| 21-Jan-2022 |
thorpej | Don't bother with devhandle_from_of() if we're just forwarding along our own node; use device_handle(self) instead.
|
1.12 |
| 07-Aug-2021 |
thorpej | Merge thorpej-cfargs2.
|
1.11 |
| 24-Apr-2021 |
thorpej | branches: 1.11.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.10 |
| 27-Jan-2021 |
thorpej | branches: 1.10.2; Rename of_match_compat_data() to of_compatible_match(). Similarly, rename of_search_compatible() to of_compatible_lookup().
Standardize on of_compatible_match() for driver matching, and adapt all call sites.
|
1.9 |
| 03-Jan-2019 |
macallan | branches: 1.9.12; catch up with struct arm32_pci_chipset changes
|
1.8 |
| 18-Apr-2017 |
flxd | branches: 1.8.2; 1.8.10; 1.8.14; 1.8.16; 1.8.18; First pass reducing magic numbers adding register defines. No change to register values/writes, except VLPCI_MISC_CTL_HIADDR_DIS added.
|
1.7 |
| 18-Apr-2017 |
flxd | KNF, whitespace.
|
1.6 |
| 12-Mar-2017 |
martin | branches: 1.6.2; Implement {pci,isa}_intr_disestablish
|
1.5 |
| 10-Mar-2017 |
macallan | - provide access to PCI memory space - pass a DMA tag. Won't work but at least we don't crash anymore TODO: - magic number reduction. Seriously. - figure out why DMA doesn't work
with this cards that don't need DMA or more than 1MB of MMIO space should work
|
1.4 |
| 27-Feb-2017 |
jakllsch | Flesh out missing functions. Get IO space and interrupts working.
Successfully tested with RTL8029 ne(4)@pci(4).
|
1.3 |
| 19-Feb-2017 |
jakllsch | Filter configuration space at and above PCI_CONF_SIZE, instead of KASSERTing.
|
1.2 |
| 18-Feb-2017 |
flxd | Let vlpci attach instead of ofbus. OK jakllsch@
|
1.1 |
| 17-Feb-2017 |
jakllsch | Add initial basic driver for DNARD's VT82C505 VL to PCI bridge.
Currently only allows configuration space, and I/O space access, the latter of which has not yet been tested. DMA support is currently unimplemented.
Add commented lines to GENERIC.
|
1.6.2.3 |
| 26-Apr-2017 |
pgoyette | Sync with HEAD
|
1.6.2.2 |
| 20-Mar-2017 |
pgoyette | Sync with HEAD
|
1.6.2.1 |
| 12-Mar-2017 |
pgoyette | file vlpci.c was added on branch pgoyette-localcount on 2017-03-20 06:57:20 +0000
|
1.8.18.1 |
| 10-Jun-2019 |
christos | Sync with HEAD
|
1.8.16.1 |
| 18-Jan-2019 |
pgoyette | Synch with HEAD
|
1.8.14.2 |
| 03-Dec-2017 |
jdolecek | update from HEAD
|
1.8.14.1 |
| 18-Apr-2017 |
jdolecek | file vlpci.c was added on branch tls-maxphys on 2017-12-03 11:36:42 +0000
|
1.8.10.2 |
| 28-Aug-2017 |
skrll | Sync with HEAD
|
1.8.10.1 |
| 18-Apr-2017 |
skrll | file vlpci.c was added on branch nick-nhusb on 2017-08-28 17:51:52 +0000
|
1.8.2.2 |
| 21-Apr-2017 |
bouyer | Sync with HEAD
|
1.8.2.1 |
| 18-Apr-2017 |
bouyer | file vlpci.c was added on branch bouyer-socketcan on 2017-04-21 16:53:36 +0000
|
1.9.12.1 |
| 03-Apr-2021 |
thorpej | Sync with HEAD.
|
1.10.2.2 |
| 04-Apr-2021 |
thorpej | Associate the OpenFirmware phandle associated with a found device (including PCI bus instances) by using CFARG_DEVHANDLE.
|
1.10.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.11.8.1 |
| 04-Aug-2021 |
thorpej | Adapt to CFARGS().
|