History log of /src/sys/dev/pci/pciconf.h |
Revision | | Date | Author | Comments |
1.16 |
| 20-Oct-2020 |
jmcneill | Instead of trying to prevent pciconf from reconfiguring the firmware's framebuffer, instead allow MD code to register callbacks. If a resource is changed, the driver can unmap the old resource and remap the new. Do this with simplefb so the console doesn't explode when the VGA device is (potentially) reconfigured at boot.
|
1.15 |
| 10-Oct-2020 |
jmcneill | Add pciconf_resource_reserve. This allows MD code to mark specific memory and I/O regions as in use. When pciconf finds a device already configured to use one of these regions, the device config is left as-is.
|
1.14 |
| 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.13 |
| 17-Jun-2020 |
thorpej | Explcitly include <sys/extent.h> here.
|
1.12 |
| 08-Sep-2012 |
matt | Fix comment
|
1.11 |
| 10-Feb-2006 |
gdamore | branches: 1.11.104; PCI_NETBSD_CONFIGURE should allocate (but not map) address space expansion ROMS by default. Full discussion at http://mail-index.netbsd.org/tech-kern/2005/12/16/0023.html Closes PR kern/32467 Reviewed by briggs@
|
1.10 |
| 11-Dec-2005 |
christos | branches: 1.10.2; 1.10.4; 1.10.6; merge ktrace-lwp.
|
1.9 |
| 25-Mar-2005 |
tsutsui | branches: 1.9.2; Allow MD PCI code to specify or disable PCI_COMMAND_PARITY_ENABLE and PCI_CMMAND_SERR_ENABLE in MI pci_configure_bus(9). Patch from PR kern/27423 by KIYOHARA Takashi with some changes by me, approved by Allen Briggs.
|
1.8 |
| 04-Feb-2005 |
perry | branches: 1.8.4; de-__P
|
1.7 |
| 28-Sep-2002 |
scw | branches: 1.7.6; 1.7.14; 1.7.16; Before declaring pci_conf_interrupt(), check to see if it's already defined as a CPP macro, which is the case for SH5 at least.
|
1.6 |
| 11-Feb-2002 |
kleink | Move the declaration of pci_conf_hook down to <machine/pci_machdep.h>; a port may choose to implement it not as a function but i.e. as a pci_chipset_tag_t function vector.
|
1.5 |
| 28-Nov-2001 |
thorpej | Add a "cacheline_size" argument to pci_configure_bus(). It is used to set the cacheline size in the BHLC register. This should be the size of the largest D-cache line on a system.
|
1.4 |
| 09-Nov-2001 |
thorpej | Add a "firstbus" argument to pci_configure_bus(), indicating the first bus number to use, rather than always assuming that we should start at bus #0.
|
1.3 |
| 30-Aug-2001 |
briggs | branches: 1.3.4; Respect __PCI_BUS_DEVORDER. If all devices can handle 66MHz, then use 66MHz. Triple the number of configured I/O ranges that we can handle on a bus (8 was insufficient--originally didn't consider multifunction devices) Allow one to specify which types of memory to configure, I/O, ROM, or MEM--for example, one could configure only ROM or only non-ROM. Ensure that the ROM is disabled if we're not configuring it. Only set PCI_COMMAND_IO_ENABLE/PCI_COMMAND_MEM_ENABLE if there are valid memory ranges configured.
|
1.2 |
| 13-Jun-2001 |
simonb | branches: 1.2.2; Add a port to IBM's PPC405GP Reference Board (the "walnut") by Eduardo Horvath and Simon Burge of Wasabi Systems.
IBM 4xx series CPU features: - New pmap and revised trap handler. - Support on-chip timers, PCI controller, UARTs - Framework for on-chip ethernet and watchdog timer. General PowerPC features: - Add in-kernel PPC floating point emulation - New in{,4}_cksum that is between 1.5 and 5 times faster than the old version depending on CPU type. General changes: - Kernel support for generic dbsym-style symbols.
|
1.1 |
| 09-Feb-2001 |
briggs | branches: 1.1.2; 1.1.4; Add an option (defopt) PCI_NETBSD_CONFIGURE that provides PCI bus configuration (assignment of bus numbers, BARs, timer values, interrupt lines, etc.). The interface must be called from m.d. code prior to probing the bus. It is meant to be called once for each primary (bus == 0) PCI bus in the system. It will configure any busses behind PCI-PCI bridges. Section 9 man page for pci_configure_bus() will come soon. In the meantime, sample usage is in arch/sandpoint/sandpoint/mainbus.c. [ Reviewed by thorpej ]
|
1.1.4.6 |
| 18-Oct-2002 |
nathanw | Catch up to -current.
|
1.1.4.5 |
| 28-Feb-2002 |
nathanw | Catch up to -current.
|
1.1.4.4 |
| 08-Jan-2002 |
nathanw | Catch up to -current.
|
1.1.4.3 |
| 14-Nov-2001 |
nathanw | Catch up to -current.
|
1.1.4.2 |
| 21-Sep-2001 |
nathanw | Catch up to -current.
|
1.1.4.1 |
| 21-Jun-2001 |
nathanw | Catch up to -current.
|
1.1.2.2 |
| 11-Feb-2001 |
bouyer | Sync with HEAD.
|
1.1.2.1 |
| 09-Feb-2001 |
bouyer | file pciconf.h was added on branch thorpej_scsipi on 2001-02-11 19:16:00 +0000
|
1.2.2.4 |
| 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.2.3 |
| 16-Mar-2002 |
jdolecek | Catch up with -current.
|
1.2.2.2 |
| 10-Jan-2002 |
thorpej | Sync kqueue branch with -current.
|
1.2.2.1 |
| 13-Sep-2001 |
thorpej | Update the kqueue branch to HEAD.
|
1.3.4.1 |
| 12-Nov-2001 |
thorpej | Sync the thorpej-mips-cache branch with -current.
|
1.7.16.2 |
| 26-Mar-2005 |
yamt | sync with head.
|
1.7.16.1 |
| 12-Feb-2005 |
yamt | sync with head.
|
1.7.14.1 |
| 29-Apr-2005 |
kent | sync with -current
|
1.7.6.2 |
| 01-Apr-2005 |
skrll | Sync with HEAD.
|
1.7.6.1 |
| 04-Feb-2005 |
skrll | Sync with HEAD.
|
1.8.4.1 |
| 27-Mar-2005 |
tron | Pull up revision 1.9 (requested by tsutsui in ticket #67): Allow MD PCI code to specify or disable PCI_COMMAND_PARITY_ENABLE and PCI_CMMAND_SERR_ENABLE in MI pci_configure_bus(9). Patch from PR kern/27423 by KIYOHARA Takashi with some changes by me, approved by Allen Briggs.
|
1.9.2.1 |
| 21-Jun-2006 |
yamt | sync with head.
|
1.10.6.1 |
| 22-Apr-2006 |
simonb | Sync with head.
|
1.10.4.1 |
| 09-Sep-2006 |
rpaulo | sync with head
|
1.10.2.1 |
| 18-Feb-2006 |
yamt | sync with head.
|
1.11.104.1 |
| 30-Oct-2012 |
yamt | sync with head
|