Home | History | Annotate | only in /src/sys/arch/amiga/pci
History log of /src/sys/arch/amiga/pci
RevisionDateAuthorComments
 1.7 20-Dec-2023  thorpej Remove unnecessary <sys/malloc.h> include.
 1.6 07-Aug-2021  thorpej Merge thorpej-cfargs2.
 1.5 24-Apr-2021  thorpej branches: 1.5.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.4 17-Jun-2020  thorpej branches: 1.4.4;
<sys/extent.h> not needed here.
 1.3 02-Oct-2015  msaitoh PCI Extended Configuration stuff written by nonaka@:
- Add PCI Extended Configuration Space support into x86.
- Check register offset of pci_conf_read() in MD part. It returns (pcireg_t)-1
if it isn't accessible.
- Decode Extended Capability in PCI Extended Configuration Space.
Currently the following extended capabilities are decoded:
- Advanced Error Reporting
- Virtual Channel
- Device Serial Number
- Power Budgeting
- Root Complex Link Declaration
- Root Complex Event Collector Association
- Access Control Services
- Alternative Routing-ID Interpretation
- Address Translation Services
- Single Root IO Virtualization
- Page Request
- TPH Requester
- Latency Tolerance Reporting
- Secondary PCI Express
- Process Address Space ID
- LN Requester
- L1 PM Substates
The following extended capabilities are not decoded yet:
- Root Complex Internal Link Control
- Multi-Function Virtual Channel
- RCRB Header
- Vendor Unique
- Configuration Access Correction
- Multiple Root IO Virtualization
- Multicast
- Resizable BAR
- Dynamic Power Allocation
- Protocol Multiplexing
- Downstream Port Containment
- Precision Time Management
- M-PCIe
- Function Reading Status Queueing
- Readiness Time Reporting
- Designated Vendor-Specific
 1.2 27-Oct-2012  chs branches: 1.2.14;
split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.
 1.1 11-Jan-2012  rkujawa branches: 1.1.4; 1.1.6; 1.1.10;
Add cv3dpb, a driver for CyberVision64/3D PCI bridge, which was split from p5pb.
 1.1.10.2 03-Dec-2017  jdolecek update from HEAD
 1.1.10.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.1.6.3 30-Oct-2012  yamt sync with head
 1.1.6.2 17-Apr-2012  yamt sync with head
 1.1.6.1 11-Jan-2012  yamt file cv3dpb.c was added on branch yamt-pagecache on 2012-04-17 00:06:02 +0000
 1.1.4.2 18-Feb-2012  mrg merge to -current.
 1.1.4.1 11-Jan-2012  mrg file cv3dpb.c was added on branch jmcneill-usbmp on 2012-02-18 07:31:18 +0000
 1.2.14.1 27-Dec-2015  skrll Sync with HEAD (as of 26th Dec)
 1.4.4.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.5.8.1 03-Aug-2021  thorpej Adapt to CFARGS().
 1.1 11-Jan-2012  rkujawa branches: 1.1.4; 1.1.6;
Add cv3dpb, a driver for CyberVision64/3D PCI bridge, which was split from p5pb.
 1.1.6.2 17-Apr-2012  yamt sync with head
 1.1.6.1 11-Jan-2012  yamt file cv3dpbreg.h was added on branch yamt-pagecache on 2012-04-17 00:06:02 +0000
 1.1.4.2 18-Feb-2012  mrg merge to -current.
 1.1.4.1 11-Jan-2012  mrg file cv3dpbreg.h was added on branch jmcneill-usbmp on 2012-02-18 07:31:19 +0000
 1.1 11-Jan-2012  rkujawa branches: 1.1.4; 1.1.6;
Add cv3dpb, a driver for CyberVision64/3D PCI bridge, which was split from p5pb.
 1.1.6.2 17-Apr-2012  yamt sync with head
 1.1.6.1 11-Jan-2012  yamt file cv3dpbvar.h was added on branch yamt-pagecache on 2012-04-17 00:06:02 +0000
 1.1.4.2 18-Feb-2012  mrg merge to -current.
 1.1.4.1 11-Jan-2012  mrg file cv3dpbvar.h was added on branch jmcneill-usbmp on 2012-02-18 07:31:19 +0000
 1.9 20-Dec-2023  thorpej Remove unnecessary <sys/malloc.h> include.
 1.8 07-Aug-2021  thorpej Merge thorpej-cfargs2.
 1.7 24-Apr-2021  thorpej branches: 1.7.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.6 07-Jul-2020  thorpej branches: 1.6.4;
Overhaul the interface to pci_configure_bus():
- Don't expose how PCI bus configuration resource management is implemented.
Provide a new resource provider API:

==> pciconf_resource_init() -- Initialize a PCI configuration resources
container.
==> pciconf_resource_add() -- Add a PCI configuration resource to the
container (I/O, MEM, or prefetchable MEM). Multiple resources of
each type may be added.
==> pciconf_resource_fini() -- Tear down the PCI configurtation resources
container once the bus has been configured.

This is much easier to use than the previous method of providing an
extent map for each kind of resource, and works better for e.g. ACPI
platforms that provide potentially multiple PCI resources in tables
provided by firmware.

- Re-implement PCI configuration resource management using vmem arenas,
rather than extent maps.
 1.5 14-Jun-2020  chs replace EX_NOWAIT with EX_WAITOK in device attach methods.
remove checks for failures that can no longer occur.
 1.4 02-Oct-2015  msaitoh PCI Extended Configuration stuff written by nonaka@:
- Add PCI Extended Configuration Space support into x86.
- Check register offset of pci_conf_read() in MD part. It returns (pcireg_t)-1
if it isn't accessible.
- Decode Extended Capability in PCI Extended Configuration Space.
Currently the following extended capabilities are decoded:
- Advanced Error Reporting
- Virtual Channel
- Device Serial Number
- Power Budgeting
- Root Complex Link Declaration
- Root Complex Event Collector Association
- Access Control Services
- Alternative Routing-ID Interpretation
- Address Translation Services
- Single Root IO Virtualization
- Page Request
- TPH Requester
- Latency Tolerance Reporting
- Secondary PCI Express
- Process Address Space ID
- LN Requester
- L1 PM Substates
The following extended capabilities are not decoded yet:
- Root Complex Internal Link Control
- Multi-Function Virtual Channel
- RCRB Header
- Vendor Unique
- Configuration Access Correction
- Multiple Root IO Virtualization
- Multicast
- Resizable BAR
- Dynamic Power Allocation
- Protocol Multiplexing
- Downstream Port Containment
- Precision Time Management
- M-PCIe
- Function Reading Status Queueing
- Readiness Time Reporting
- Designated Vendor-Specific
 1.3 22-Mar-2014  christos branches: 1.3.4; 1.3.8;
kill sprintf
fix unused variables
 1.2 29-Jan-2013  rkujawa branches: 1.2.2; 1.2.4;
Support PCI_NETBSD_CONFIGURE for em4k. Mediator 4000 now works completely (minus
obvious lack of DMA).
 1.1 29-Jan-2013  rkujawa Add Mediator 4000 driver - em4k(4). Working, but PCI_NETBSD_CONFIGURE not
implemented yet. While here add some untested Mediator ZIV support to empb(4).
 1.2.4.4 03-Dec-2017  jdolecek update from HEAD
 1.2.4.3 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.2.4.2 25-Feb-2013  tls resync with head
 1.2.4.1 29-Jan-2013  tls file em4k.c was added on branch tls-maxphys on 2013-02-25 00:28:22 +0000
 1.2.2.1 18-May-2014  rmind sync with head
 1.3.8.1 27-Dec-2015  skrll Sync with HEAD (as of 26th Dec)
 1.3.4.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.3.4.1 22-Mar-2014  yamt file em4k.c was added on branch yamt-pagecache on 2014-05-22 11:39:29 +0000
 1.6.4.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.7.8.1 03-Aug-2021  thorpej Adapt to CFARGS().
 1.1 29-Jan-2013  rkujawa branches: 1.1.4; 1.1.14;
Add Mediator 4000 driver - em4k(4). Working, but PCI_NETBSD_CONFIGURE not
implemented yet. While here add some untested Mediator ZIV support to empb(4).
 1.1.14.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.1.14.1 29-Jan-2013  yamt file em4kvar.h was added on branch yamt-pagecache on 2014-05-22 11:39:29 +0000
 1.1.4.2 25-Feb-2013  tls resync with head
 1.1.4.1 29-Jan-2013  tls file em4kvar.h was added on branch tls-maxphys on 2013-02-25 00:28:22 +0000
 1.6 20-Dec-2023  thorpej Remove unnecessary <sys/malloc.h> include.
 1.5 17-Jun-2020  thorpej <sys/extent.h> not needed here.
 1.4 29-Jan-2013  rkujawa Add Mediator 4000 driver - em4k(4). Working, but PCI_NETBSD_CONFIGURE not
implemented yet. While here add some untested Mediator ZIV support to empb(4).
 1.3 27-Oct-2012  chs branches: 1.3.2;
split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.
 1.2 31-May-2012  rkujawa branches: 1.2.2; 1.2.4;
Add empb(4) functions to switch memory window position.
 1.1 30-May-2012  rkujawa Add a driver for Elbox Mediator 1200 PCI bridges. This is still a work in
progress, but now it is good enough to drive a NE2000 card. Support for
memory space accesses will be added soon(ish).
 1.2.4.2 25-Feb-2013  tls resync with head
 1.2.4.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.2.2.2 02-Jun-2012  mrg sync to latest -current.
 1.2.2.1 31-May-2012  mrg file emmem.c was added on branch jmcneill-usbmp on 2012-06-02 11:08:51 +0000
 1.3.2.3 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.3.2.2 30-Oct-2012  yamt sync with head
 1.3.2.1 27-Oct-2012  yamt file emmem.c was added on branch yamt-pagecache on 2012-10-30 17:18:51 +0000
 1.1 30-May-2012  rkujawa branches: 1.1.2; 1.1.6;
Add a driver for Elbox Mediator 1200 PCI bridges. This is still a work in
progress, but now it is good enough to drive a NE2000 card. Support for
memory space accesses will be added soon(ish).
 1.1.6.2 30-Oct-2012  yamt sync with head
 1.1.6.1 30-May-2012  yamt file emmemvar.h was added on branch yamt-pagecache on 2012-10-30 17:18:51 +0000
 1.1.2.2 02-Jun-2012  mrg sync to latest -current.
 1.1.2.1 30-May-2012  mrg file emmemvar.h was added on branch jmcneill-usbmp on 2012-06-02 11:08:51 +0000
 1.16 20-Dec-2023  thorpej Remove unnecessary <sys/malloc.h> include.
 1.15 07-Aug-2021  thorpej Merge thorpej-cfargs2.
 1.14 24-Apr-2021  thorpej branches: 1.14.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.13 07-Jul-2020  thorpej branches: 1.13.4;
Overhaul the interface to pci_configure_bus():
- Don't expose how PCI bus configuration resource management is implemented.
Provide a new resource provider API:

==> pciconf_resource_init() -- Initialize a PCI configuration resources
container.
==> pciconf_resource_add() -- Add a PCI configuration resource to the
container (I/O, MEM, or prefetchable MEM). Multiple resources of
each type may be added.
==> pciconf_resource_fini() -- Tear down the PCI configurtation resources
container once the bus has been configured.

This is much easier to use than the previous method of providing an
extent map for each kind of resource, and works better for e.g. ACPI
platforms that provide potentially multiple PCI resources in tables
provided by firmware.

- Re-implement PCI configuration resource management using vmem arenas,
rather than extent maps.
 1.12 14-Jun-2020  chs replace EX_NOWAIT with EX_WAITOK in device attach methods.
remove checks for failures that can no longer occur.
 1.11 02-Oct-2015  msaitoh PCI Extended Configuration stuff written by nonaka@:
- Add PCI Extended Configuration Space support into x86.
- Check register offset of pci_conf_read() in MD part. It returns (pcireg_t)-1
if it isn't accessible.
- Decode Extended Capability in PCI Extended Configuration Space.
Currently the following extended capabilities are decoded:
- Advanced Error Reporting
- Virtual Channel
- Device Serial Number
- Power Budgeting
- Root Complex Link Declaration
- Root Complex Event Collector Association
- Access Control Services
- Alternative Routing-ID Interpretation
- Address Translation Services
- Single Root IO Virtualization
- Page Request
- TPH Requester
- Latency Tolerance Reporting
- Secondary PCI Express
- Process Address Space ID
- LN Requester
- L1 PM Substates
The following extended capabilities are not decoded yet:
- Root Complex Internal Link Control
- Multi-Function Virtual Channel
- RCRB Header
- Vendor Unique
- Configuration Access Correction
- Multiple Root IO Virtualization
- Multicast
- Resizable BAR
- Dynamic Power Allocation
- Protocol Multiplexing
- Downstream Port Containment
- Precision Time Management
- M-PCIe
- Function Reading Status Queueing
- Readiness Time Reporting
- Designated Vendor-Specific
 1.10 29-Jan-2013  rkujawa branches: 1.10.14;
Add Mediator 4000 driver - em4k(4). Working, but PCI_NETBSD_CONFIGURE not
implemented yet. While here add some untested Mediator ZIV support to empb(4).
 1.9 28-Jan-2013  rkujawa Add support for power management on Mediator 1200 SX and TX models. Allows
software power-off. Feels so modern.
 1.8 27-Oct-2012  chs branches: 1.8.2;
split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.
 1.7 27-Jun-2012  rkujawa branches: 1.7.2;
Fix Mediator 1200 memory space support. Now it's good enough to drive a Voodoo 3.
 1.6 04-Jun-2012  rkujawa Finally add support for memory space access for empb(4). Buggy but better than nothing.
 1.5 04-Jun-2012  rkujawa Fix PCI interrupt handling on empb. Also, continue work on memory accesses. Now empb is good enough to handle satalink!
 1.4 01-Jun-2012  rkujawa branches: 1.4.2;
Add support for PCI_NETBSD_CONFIGURE in empb(4). Continue work on memory window.
 1.3 01-Jun-2012  rkujawa More work on PCI memory accesses on empb(4).
 1.2 31-May-2012  rkujawa Add empb(4) functions to switch memory window position.
 1.1 30-May-2012  rkujawa Add a driver for Elbox Mediator 1200 PCI bridges. This is still a work in
progress, but now it is good enough to drive a NE2000 card. Support for
memory space accesses will be added soon(ish).
 1.4.2.2 02-Jun-2012  mrg sync to latest -current.
 1.4.2.1 01-Jun-2012  mrg file empb.c was added on branch jmcneill-usbmp on 2012-06-02 11:08:51 +0000
 1.7.2.3 03-Dec-2017  jdolecek update from HEAD
 1.7.2.2 25-Feb-2013  tls resync with head
 1.7.2.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.8.2.3 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.8.2.2 30-Oct-2012  yamt sync with head
 1.8.2.1 27-Oct-2012  yamt file empb.c was added on branch yamt-pagecache on 2012-10-30 17:18:52 +0000
 1.10.14.1 27-Dec-2015  skrll Sync with HEAD (as of 26th Dec)
 1.13.4.1 02-Apr-2021  thorpej config_found_ia() -> config_found() w/ CFARG_IATTR.
 1.14.8.1 03-Aug-2021  thorpej Adapt to CFARGS().
 1.5 27-Jun-2012  rkujawa branches: 1.5.4;
Fix Mediator 1200 memory space support. Now it's good enough to drive a Voodoo 3.
 1.4 04-Jun-2012  rkujawa Finally add support for memory space access for empb(4). Buggy but better than nothing.
 1.3 04-Jun-2012  rkujawa Fix PCI interrupt handling on empb. Also, continue work on memory accesses. Now empb is good enough to handle satalink!
 1.2 01-Jun-2012  rkujawa branches: 1.2.2;
Add support for PCI_NETBSD_CONFIGURE in empb(4). Continue work on memory window.
 1.1 01-Jun-2012  rkujawa More work on PCI memory accesses on empb(4).
 1.2.2.2 02-Jun-2012  mrg sync to latest -current.
 1.2.2.1 01-Jun-2012  mrg file empb_bsm.c was added on branch jmcneill-usbmp on 2012-06-02 11:08:52 +0000
 1.5.4.2 30-Oct-2012  yamt sync with head
 1.5.4.1 27-Jun-2012  yamt file empb_bsm.c was added on branch yamt-pagecache on 2012-10-30 17:18:52 +0000
 1.7 07-Jul-2020  thorpej Overhaul the interface to pci_configure_bus():
- Don't expose how PCI bus configuration resource management is implemented.
Provide a new resource provider API:

==> pciconf_resource_init() -- Initialize a PCI configuration resources
container.
==> pciconf_resource_add() -- Add a PCI configuration resource to the
container (I/O, MEM, or prefetchable MEM). Multiple resources of
each type may be added.
==> pciconf_resource_fini() -- Tear down the PCI configurtation resources
container once the bus has been configured.

This is much easier to use than the previous method of providing an
extent map for each kind of resource, and works better for e.g. ACPI
platforms that provide potentially multiple PCI resources in tables
provided by firmware.

- Re-implement PCI configuration resource management using vmem arenas,
rather than extent maps.
 1.6 29-Jan-2013  rkujawa Add Mediator 4000 driver - em4k(4). Working, but PCI_NETBSD_CONFIGURE not
implemented yet. While here add some untested Mediator ZIV support to empb(4).
 1.5 28-Jan-2013  rkujawa Add support for power management on Mediator 1200 SX and TX models. Allows
software power-off. Feels so modern.
 1.4 04-Jun-2012  rkujawa branches: 1.4.2; 1.4.4;
Fix PCI interrupt handling on empb. Also, continue work on memory accesses. Now empb is good enough to handle satalink!
 1.3 01-Jun-2012  rkujawa branches: 1.3.2;
Add support for PCI_NETBSD_CONFIGURE in empb(4). Continue work on memory window.
 1.2 31-May-2012  rkujawa Add empb(4) functions to switch memory window position.
 1.1 30-May-2012  rkujawa Add a driver for Elbox Mediator 1200 PCI bridges. This is still a work in
progress, but now it is good enough to drive a NE2000 card. Support for
memory space accesses will be added soon(ish).
 1.3.2.2 02-Jun-2012  mrg sync to latest -current.
 1.3.2.1 01-Jun-2012  mrg file empbreg.h was added on branch jmcneill-usbmp on 2012-06-02 11:08:52 +0000
 1.4.4.3 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.4.4.2 30-Oct-2012  yamt sync with head
 1.4.4.1 04-Jun-2012  yamt file empbreg.h was added on branch yamt-pagecache on 2012-10-30 17:18:52 +0000
 1.4.2.1 25-Feb-2013  tls resync with head
 1.3 28-Jan-2013  rkujawa Add support for power management on Mediator 1200 SX and TX models. Allows
software power-off. Feels so modern.
 1.2 04-Jun-2012  rkujawa branches: 1.2.2; 1.2.4;
Fix PCI interrupt handling on empb. Also, continue work on memory accesses. Now empb is good enough to handle satalink!
 1.1 01-Jun-2012  rkujawa branches: 1.1.2;
More work on PCI memory accesses on empb(4).
 1.1.2.2 02-Jun-2012  mrg sync to latest -current.
 1.1.2.1 01-Jun-2012  mrg file empbvar.h was added on branch jmcneill-usbmp on 2012-06-02 11:08:52 +0000
 1.2.4.3 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.2.4.2 30-Oct-2012  yamt sync with head
 1.2.4.1 04-Jun-2012  yamt file empbvar.h was added on branch yamt-pagecache on 2012-10-30 17:18:52 +0000
 1.2.2.1 25-Feb-2013  tls resync with head
 1.1 28-Jan-2013  rkujawa branches: 1.1.4; 1.1.14;
Add support for power management on Mediator 1200 SX and TX models. Allows
software power-off. Feels so modern.
 1.1.14.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.1.14.1 28-Jan-2013  yamt file empm.c was added on branch yamt-pagecache on 2014-05-22 11:39:29 +0000
 1.1.4.2 25-Feb-2013  tls resync with head
 1.1.4.1 28-Jan-2013  tls file empm.c was added on branch tls-maxphys on 2013-02-25 00:28:22 +0000
 1.1 28-Jan-2013  rkujawa branches: 1.1.4; 1.1.14;
Add support for power management on Mediator 1200 SX and TX models. Allows
software power-off. Feels so modern.
 1.1.14.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.1.14.1 28-Jan-2013  yamt file empmvar.h was added on branch yamt-pagecache on 2014-05-22 11:39:29 +0000
 1.1.4.2 25-Feb-2013  tls resync with head
 1.1.4.1 28-Jan-2013  tls file empmvar.h was added on branch tls-maxphys on 2013-02-25 00:28:22 +0000
 1.13 20-Dec-2023  thorpej Remove unnecessary <sys/malloc.h> include.
 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 07-Jul-2020  thorpej branches: 1.10.4;
Overhaul the interface to pci_configure_bus():
- Don't expose how PCI bus configuration resource management is implemented.
Provide a new resource provider API:

==> pciconf_resource_init() -- Initialize a PCI configuration resources
container.
==> pciconf_resource_add() -- Add a PCI configuration resource to the
container (I/O, MEM, or prefetchable MEM). Multiple resources of
each type may be added.
==> pciconf_resource_fini() -- Tear down the PCI configurtation resources
container once the bus has been configured.

This is much easier to use than the previous method of providing an
extent map for each kind of resource, and works better for e.g. ACPI
platforms that provide potentially multiple PCI resources in tables
provided by firmware.

- Re-implement PCI configuration resource management using vmem arenas,
rather than extent maps.
 1.9 14-Jun-2020  chs replace EX_NOWAIT with EX_WAITOK in device attach methods.
remove checks for failures that can no longer occur.
 1.8 02-Oct-2015  msaitoh PCI Extended Configuration stuff written by nonaka@:
- Add PCI Extended Configuration Space support into x86.
- Check register offset of pci_conf_read() in MD part. It returns (pcireg_t)-1
if it isn't accessible.
- Decode Extended Capability in PCI Extended Configuration Space.
Currently the following extended capabilities are decoded:
- Advanced Error Reporting
- Virtual Channel
- Device Serial Number
- Power Budgeting
- Root Complex Link Declaration
- Root Complex Event Collector Association
- Access Control Services
- Alternative Routing-ID Interpretation
- Address Translation Services
- Single Root IO Virtualization
- Page Request
- TPH Requester
- Latency Tolerance Reporting
- Secondary PCI Express
- Process Address Space ID
- LN Requester
- L1 PM Substates
The following extended capabilities are not decoded yet:
- Root Complex Internal Link Control
- Multi-Function Virtual Channel
- RCRB Header
- Vendor Unique
- Configuration Access Correction
- Multiple Root IO Virtualization
- Multicast
- Resizable BAR
- Dynamic Power Allocation
- Protocol Multiplexing
- Downstream Port Containment
- Precision Time Management
- M-PCIe
- Function Reading Status Queueing
- Readiness Time Reporting
- Designated Vendor-Specific
 1.7 27-Oct-2012  chs branches: 1.7.14;
split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.
 1.6 29-Jan-2012  para branches: 1.6.6;
adapt to extent(9) changes
 1.5 19-Jan-2012  rkujawa Tons of enchancements to MD PCI code:
- The G-REX 4000 and G-REX 1200 are now really supported and working (still only 1st slot but the rest are a matter of time).
- Add bridge identification to p5pb, simplifies the driver and make it more user-friendly.
- Retire P5PB_GENFB and P5PB_OLD_FIRMWARE options, these are now handled automatically, depending on used hardware and firmware.
- Add PCI bus reconfiguration support to p5pb (PCI_NETBSD_CONFIGURE), allows using G-REX without boot to AmigaOS.
- Bring p5pb registers desription up to date with my knowledge.
- Add a lot of debugging code to p5pb (enabled by P5PB_DEBUG kernel option).
- Fix PCI_NETBSD_CONFIGURE in mppb (now it really works).
- Fix quirk handling in zbus.
- Update GENERIC.in and regen the kernel configs.
- Misc cleanup.
 1.4 13-Jan-2012  rkujawa Make it actually build without PCI_NETBSD_CONFIGURE too.
 1.3 13-Jan-2012  rkujawa Make it build without PCI_NETBSD_CONFIGURE too.
 1.2 19-Sep-2011  rkujawa branches: 1.2.2; 1.2.6;
Minor changes to Amiga PCI MD code:
- Add bus enumeration and resource assignment (PCI_NETBSD_CONFIGURE) to mppb(4) - no more need to run AmigaOS to configure the bus.
- Add PCI configuration address register to p5pb(4).
- Add PCI I/O space support to p5pb(4).
- Move common code from p5pb(4) and mppb(4) to new pci_machdep.c file.
- Fix style.
 1.1 17-Sep-2011  rkujawa Add driver for Prometheus PCI bridge.
Change approved by phx.
 1.2.6.1 18-Feb-2012  mrg merge to -current.
 1.2.2.2 30-Oct-2012  yamt sync with head
 1.2.2.1 17-Apr-2012  yamt sync with head
 1.6.6.2 03-Dec-2017  jdolecek update from HEAD
 1.6.6.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.7.14.1 27-Dec-2015  skrll Sync with HEAD (as of 26th Dec)
 1.10.4.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 03-Aug-2021  thorpej Adapt to CFARGS().
 1.1 17-Sep-2011  rkujawa Add driver for Prometheus PCI bridge.
Change approved by phx.
 1.5 20-Dec-2023  thorpej Remove unnecessary <sys/malloc.h> include.
 1.4 17-Jun-2020  thorpej <sys/extent.h> not needed here.
 1.3 27-Oct-2012  chs split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.
 1.2 19-Jan-2012  rkujawa branches: 1.2.4; 1.2.6; 1.2.10;
Tons of enchancements to MD PCI code:
- The G-REX 4000 and G-REX 1200 are now really supported and working (still only 1st slot but the rest are a matter of time).
- Add bridge identification to p5pb, simplifies the driver and make it more user-friendly.
- Retire P5PB_GENFB and P5PB_OLD_FIRMWARE options, these are now handled automatically, depending on used hardware and firmware.
- Add PCI bus reconfiguration support to p5pb (PCI_NETBSD_CONFIGURE), allows using G-REX without boot to AmigaOS.
- Bring p5pb registers desription up to date with my knowledge.
- Add a lot of debugging code to p5pb (enabled by P5PB_DEBUG kernel option).
- Fix PCI_NETBSD_CONFIGURE in mppb (now it really works).
- Fix quirk handling in zbus.
- Update GENERIC.in and regen the kernel configs.
- Misc cleanup.
 1.1 10-Jan-2012  rkujawa Changes to Phase5 hardware support:
- Rework p5pb driver - simplify, cleanup, make more flexible.
- Add p5membar driver, which handles PCI resources autoconfigured by the firmware.
- Introduce intermediate p5bus layer, between zbus and CSPPC/BPPC on-board devices (p5pb, cbiiisc, bppcsc).
- Add experimental G-REX support to p5pb (first slot support only).
- Split CV64/3D PCI bridge support into separate cv3dpb driver (to be committed later).

Approved by phx.
 1.2.10.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.2.6.3 30-Oct-2012  yamt sync with head
 1.2.6.2 17-Apr-2012  yamt sync with head
 1.2.6.1 19-Jan-2012  yamt file p5membar.c was added on branch yamt-pagecache on 2012-04-17 00:06:02 +0000
 1.2.4.2 18-Feb-2012  mrg merge to -current.
 1.2.4.1 19-Jan-2012  mrg file p5membar.c was added on branch jmcneill-usbmp on 2012-02-18 07:31:19 +0000
 1.1 10-Jan-2012  rkujawa branches: 1.1.4; 1.1.6;
Changes to Phase5 hardware support:
- Rework p5pb driver - simplify, cleanup, make more flexible.
- Add p5membar driver, which handles PCI resources autoconfigured by the firmware.
- Introduce intermediate p5bus layer, between zbus and CSPPC/BPPC on-board devices (p5pb, cbiiisc, bppcsc).
- Add experimental G-REX support to p5pb (first slot support only).
- Split CV64/3D PCI bridge support into separate cv3dpb driver (to be committed later).

Approved by phx.
 1.1.6.2 17-Apr-2012  yamt sync with head
 1.1.6.1 10-Jan-2012  yamt file p5membarvar.h was added on branch yamt-pagecache on 2012-04-17 00:06:02 +0000
 1.1.4.2 18-Feb-2012  mrg merge to -current.
 1.1.4.1 10-Jan-2012  mrg file p5membarvar.h was added on branch jmcneill-usbmp on 2012-02-18 07:31:19 +0000
 1.21 20-Dec-2023  thorpej Remove unnecessary <sys/malloc.h> include.
 1.20 26-Aug-2023  andvar amiga/p5pb(4): move parent_dict definition/assignment to #if NGENFB > 0 block,
where it is only used in P5PB_CONSOLE code.

fixes P5PB_CONSOLE enabled build, no functional changes intended.
 1.19 07-Aug-2021  thorpej Merge thorpej-cfargs2.
 1.18 24-Apr-2021  thorpej branches: 1.18.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.17 07-Jul-2020  thorpej branches: 1.17.4;
Overhaul the interface to pci_configure_bus():
- Don't expose how PCI bus configuration resource management is implemented.
Provide a new resource provider API:

==> pciconf_resource_init() -- Initialize a PCI configuration resources
container.
==> pciconf_resource_add() -- Add a PCI configuration resource to the
container (I/O, MEM, or prefetchable MEM). Multiple resources of
each type may be added.
==> pciconf_resource_fini() -- Tear down the PCI configurtation resources
container once the bus has been configured.

This is much easier to use than the previous method of providing an
extent map for each kind of resource, and works better for e.g. ACPI
platforms that provide potentially multiple PCI resources in tables
provided by firmware.

- Re-implement PCI configuration resource management using vmem arenas,
rather than extent maps.
 1.16 14-Jun-2020  chs replace EX_NOWAIT with EX_WAITOK in device attach methods.
remove checks for failures that can no longer occur.
 1.15 30-Oct-2015  phx Include genfb.h for NGENFB.
 1.14 02-Oct-2015  msaitoh PCI Extended Configuration stuff written by nonaka@:
- Add PCI Extended Configuration Space support into x86.
- Check register offset of pci_conf_read() in MD part. It returns (pcireg_t)-1
if it isn't accessible.
- Decode Extended Capability in PCI Extended Configuration Space.
Currently the following extended capabilities are decoded:
- Advanced Error Reporting
- Virtual Channel
- Device Serial Number
- Power Budgeting
- Root Complex Link Declaration
- Root Complex Event Collector Association
- Access Control Services
- Alternative Routing-ID Interpretation
- Address Translation Services
- Single Root IO Virtualization
- Page Request
- TPH Requester
- Latency Tolerance Reporting
- Secondary PCI Express
- Process Address Space ID
- LN Requester
- L1 PM Substates
The following extended capabilities are not decoded yet:
- Root Complex Internal Link Control
- Multi-Function Virtual Channel
- RCRB Header
- Vendor Unique
- Configuration Access Correction
- Multiple Root IO Virtualization
- Multicast
- Resizable BAR
- Dynamic Power Allocation
- Protocol Multiplexing
- Downstream Port Containment
- Precision Time Management
- M-PCIe
- Function Reading Status Queueing
- Readiness Time Reporting
- Designated Vendor-Specific
 1.13 22-Mar-2014  christos branches: 1.13.6;
kill sprintf
fix unused variables
 1.12 27-Oct-2012  chs branches: 1.12.2;
split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.
 1.11 13-Jul-2012  rkujawa branches: 1.11.2;
Clean up p5pb console glue a bit.
 1.10 11-Jul-2012  rkujawa Fix incomplete bus_dma tag.
 1.9 11-Jul-2012  rkujawa Add support for all 4 slots of G-REX 4000D and G-REX 1200. Also add
(untested yet) DMA support for G-REX bridges.
 1.8 29-Jan-2012  para adapt to extent(9) changes
 1.7 24-Jan-2012  rkujawa Add voodoofb support. Allows using 3Dfx Voodoo 3 in G-REX as a console.
 1.6 19-Jan-2012  rkujawa Tons of enchancements to MD PCI code:
- The G-REX 4000 and G-REX 1200 are now really supported and working (still only 1st slot but the rest are a matter of time).
- Add bridge identification to p5pb, simplifies the driver and make it more user-friendly.
- Retire P5PB_GENFB and P5PB_OLD_FIRMWARE options, these are now handled automatically, depending on used hardware and firmware.
- Add PCI bus reconfiguration support to p5pb (PCI_NETBSD_CONFIGURE), allows using G-REX without boot to AmigaOS.
- Bring p5pb registers desription up to date with my knowledge.
- Add a lot of debugging code to p5pb (enabled by P5PB_DEBUG kernel option).
- Fix PCI_NETBSD_CONFIGURE in mppb (now it really works).
- Fix quirk handling in zbus.
- Update GENERIC.in and regen the kernel configs.
- Misc cleanup.
 1.5 10-Jan-2012  rkujawa Changes to Phase5 hardware support:
- Rework p5pb driver - simplify, cleanup, make more flexible.
- Add p5membar driver, which handles PCI resources autoconfigured by the firmware.
- Introduce intermediate p5bus layer, between zbus and CSPPC/BPPC on-board devices (p5pb, cbiiisc, bppcsc).
- Add experimental G-REX support to p5pb (first slot support only).
- Split CV64/3D PCI bridge support into separate cv3dpb driver (to be committed later).

Approved by phx.
 1.4 07-Oct-2011  rkujawa branches: 1.4.2; 1.4.6;
P5PB_MATCH_CV643D is supposed to be disabled by default
 1.3 07-Oct-2011  rkujawa Added experimental support for CV64/3D PCI bridge to p5pb(4). Approved by phx.
 1.2 19-Sep-2011  rkujawa Minor changes to Amiga PCI MD code:
- Add bus enumeration and resource assignment (PCI_NETBSD_CONFIGURE) to mppb(4) - no more need to run AmigaOS to configure the bus.
- Add PCI configuration address register to p5pb(4).
- Add PCI I/O space support to p5pb(4).
- Move common code from p5pb(4) and mppb(4) to new pci_machdep.c file.
- Fix style.
 1.1 04-Aug-2011  rkujawa Add basic PCI support for amiga port.
Add missing bus_space(9) methods needed for MI PCI.
Add p5pb(4) - Phase5 PCI bridge driver (and the man page).
Add quirks table to zbus(4) - needed for p5pb.
Change approved by phx.
 1.4.6.1 18-Feb-2012  mrg merge to -current.
 1.4.2.3 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.4.2.2 30-Oct-2012  yamt sync with head
 1.4.2.1 17-Apr-2012  yamt sync with head
 1.11.2.3 03-Dec-2017  jdolecek update from HEAD
 1.11.2.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.11.2.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.12.2.1 18-May-2014  rmind sync with head
 1.13.6.1 27-Dec-2015  skrll Sync with HEAD (as of 26th Dec)
 1.17.4.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.18.8.1 03-Aug-2021  thorpej Adapt to CFARGS().
 1.7 11-Jul-2012  rkujawa Add support for all 4 slots of G-REX 4000D and G-REX 1200. Also add
(untested yet) DMA support for G-REX bridges.
 1.6 19-Jan-2012  rkujawa Tons of enchancements to MD PCI code:
- The G-REX 4000 and G-REX 1200 are now really supported and working (still only 1st slot but the rest are a matter of time).
- Add bridge identification to p5pb, simplifies the driver and make it more user-friendly.
- Retire P5PB_GENFB and P5PB_OLD_FIRMWARE options, these are now handled automatically, depending on used hardware and firmware.
- Add PCI bus reconfiguration support to p5pb (PCI_NETBSD_CONFIGURE), allows using G-REX without boot to AmigaOS.
- Bring p5pb registers desription up to date with my knowledge.
- Add a lot of debugging code to p5pb (enabled by P5PB_DEBUG kernel option).
- Fix PCI_NETBSD_CONFIGURE in mppb (now it really works).
- Fix quirk handling in zbus.
- Update GENERIC.in and regen the kernel configs.
- Misc cleanup.
 1.5 11-Jan-2012  rkujawa Add cv3dpb, a driver for CyberVision64/3D PCI bridge, which was split from p5pb.
 1.4 10-Jan-2012  rkujawa Changes to Phase5 hardware support:
- Rework p5pb driver - simplify, cleanup, make more flexible.
- Add p5membar driver, which handles PCI resources autoconfigured by the firmware.
- Introduce intermediate p5bus layer, between zbus and CSPPC/BPPC on-board devices (p5pb, cbiiisc, bppcsc).
- Add experimental G-REX support to p5pb (first slot support only).
- Split CV64/3D PCI bridge support into separate cv3dpb driver (to be committed later).

Approved by phx.
 1.3 07-Oct-2011  rkujawa branches: 1.3.2; 1.3.6;
Added experimental support for CV64/3D PCI bridge to p5pb(4). Approved by phx.
 1.2 19-Sep-2011  rkujawa Minor changes to Amiga PCI MD code:
- Add bus enumeration and resource assignment (PCI_NETBSD_CONFIGURE) to mppb(4) - no more need to run AmigaOS to configure the bus.
- Add PCI configuration address register to p5pb(4).
- Add PCI I/O space support to p5pb(4).
- Move common code from p5pb(4) and mppb(4) to new pci_machdep.c file.
- Fix style.
 1.1 04-Aug-2011  rkujawa Add basic PCI support for amiga port.
Add missing bus_space(9) methods needed for MI PCI.
Add p5pb(4) - Phase5 PCI bridge driver (and the man page).
Add quirks table to zbus(4) - needed for p5pb.
Change approved by phx.
 1.3.6.1 18-Feb-2012  mrg merge to -current.
 1.3.2.2 30-Oct-2012  yamt sync with head
 1.3.2.1 17-Apr-2012  yamt sync with head
 1.4 13-Jul-2012  rkujawa Clean up p5pb console glue a bit.
 1.3 19-Jan-2012  rkujawa Tons of enchancements to MD PCI code:
- The G-REX 4000 and G-REX 1200 are now really supported and working (still only 1st slot but the rest are a matter of time).
- Add bridge identification to p5pb, simplifies the driver and make it more user-friendly.
- Retire P5PB_GENFB and P5PB_OLD_FIRMWARE options, these are now handled automatically, depending on used hardware and firmware.
- Add PCI bus reconfiguration support to p5pb (PCI_NETBSD_CONFIGURE), allows using G-REX without boot to AmigaOS.
- Bring p5pb registers desription up to date with my knowledge.
- Add a lot of debugging code to p5pb (enabled by P5PB_DEBUG kernel option).
- Fix PCI_NETBSD_CONFIGURE in mppb (now it really works).
- Fix quirk handling in zbus.
- Update GENERIC.in and regen the kernel configs.
- Misc cleanup.
 1.2 10-Jan-2012  rkujawa Changes to Phase5 hardware support:
- Rework p5pb driver - simplify, cleanup, make more flexible.
- Add p5membar driver, which handles PCI resources autoconfigured by the firmware.
- Introduce intermediate p5bus layer, between zbus and CSPPC/BPPC on-board devices (p5pb, cbiiisc, bppcsc).
- Add experimental G-REX support to p5pb (first slot support only).
- Split CV64/3D PCI bridge support into separate cv3dpb driver (to be committed later).

Approved by phx.
 1.1 07-Oct-2011  rkujawa branches: 1.1.2; 1.1.6;
Added experimental support for CV64/3D PCI bridge to p5pb(4). Approved by phx.
 1.1.6.1 18-Feb-2012  mrg merge to -current.
 1.1.2.2 30-Oct-2012  yamt sync with head
 1.1.2.1 17-Apr-2012  yamt sync with head
 1.5 20-Dec-2023  thorpej Remove unnecessary <sys/malloc.h> include.
 1.4 17-Jun-2020  thorpej <sys/extent.h> not needed here.
 1.3 29-Mar-2014  christos make pci_intr_string and eisa_intr_string take a buffer and a length
instead of relying in local static storage.
 1.2 22-Mar-2014  christos kill sprintf
fix unused variables
 1.1 19-Sep-2011  rkujawa branches: 1.1.2; 1.1.12; 1.1.16;
Minor changes to Amiga PCI MD code:
- Add bus enumeration and resource assignment (PCI_NETBSD_CONFIGURE) to mppb(4) - no more need to run AmigaOS to configure the bus.
- Add PCI configuration address register to p5pb(4).
- Add PCI I/O space support to p5pb(4).
- Move common code from p5pb(4) and mppb(4) to new pci_machdep.c file.
- Fix style.
 1.1.16.1 18-May-2014  rmind sync with head
 1.1.12.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.1.2.1 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")

RSS XML Feed