Home | History | Annotate | Download | only in pci
History log of /src/sys/arch/powerpc/ibm4xx/pci/pci_machdep.c
RevisionDateAuthorComments
 1.13  15-Oct-2022  rin DHT Walnut: Fix failure to attach on-board pdcide(4) for cold boot.

U-Boot seems to initialize pdcide(4) to compatible mode. Therefore, we
need to reinitialize it to native-PCI mode in pci_conf_hook(). Otherwise,
we will fail to configure IO registers for native-PCI mode during
PCI_NETBSD_CONFIGURE.
 1.12  06-Jul-2020  rin Include missing opt_pci.h
 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  22-Jun-2011  matt branches: 1.10.12; 1.10.30;
Add support pci_intr_setattr.
Export non-inline version of pci api for modules (_MODULE is defined).
Fix definition of pc_conf_hook and pc_conf_interrupt.
Switch to using inlines instead of macros.
Switch ibm4xx to use <powerpc/pci_machdep.h>
 1.9  18-Jun-2011  matt Use <sys/foo.h> instead of <machine/foo.h> if such a file exists.
Don't assume <sys/cpu.h> includes <powerpc/subarch/cpu*.h>. Include it
explicitly.
 1.8  17-Jun-2011  matt struct device * -> device_t
struct cfdata * -> cfdata_t
split device/softc (CFATTACH_DECL_NEW)
use device_accessors and device_private
constify
 1.7  18-Mar-2010  kiyohara branches: 1.7.6;
Support PowerPC 405EX/EXr.
1. Add some new source and header files.
(MAL(split) and RGMII(new) relations for EMAC)
2. Create dcr4xx.h. Its moved from dcr405gp.h. Also remove dcr405xx.h.
3. intr.c supports MULTIUIC with virtual-irq. likes to oea.
support 32-virq/128-hwirq.
4. multiple emac support.
5. WALNUT and VIRTEX_* includes arch/powerpc/conf/files.ibm4xx.
6. WALNUT pci uses arch/powerpc/ibm4xx/pci/.
 1.6  30-May-2008  ad branches: 1.6.18; 1.6.20;
pci_intr_setattr(), allows PCI interrupts to be marked MPSAFE on x86, and
other platforms if the code is added.

pci_intr_map(...)
pci_intr_setattr(pc, ih, PCI_INTR_MPSAFE, 1);
pci_intr_establish(...)
 1.5  30-Jun-2006  freza branches: 1.5.58; 1.5.60; 1.5.62; 1.5.64;
Bring ibm4xx interrupt code up to date:

- generic soft interrupts (ie. use powerpc/softintr.c)
- interrupt event counters (using the ones from powerpc/cpu.h:cpu_info
where appropriate)
- cleanup ibm4xx_intr.h, move implementation details to intr.c

Convert all affected evbppc platforms.

OK by simonb@, some points discussed with matt@
 1.4  29-Mar-2006  shige branches: 1.4.4;
Move pci_intr_map and pci_conf_interrupt functions to MD codes.
Change Max PCI devices from 5 to 31.
 1.3  10-Feb-2006  gdamore branches: 1.3.2; 1.3.4; 1.3.6;
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.2  11-Dec-2005  christos branches: 1.2.2; 1.2.4; 1.2.6;
merge ktrace-lwp.
 1.1  23-Sep-2003  shige branches: 1.1.4; 1.1.18;
Copy PCI codes for IBM405GPx from evbppc/walnut/pci/{pchb.c,pci_machdep.c}.
 1.1.18.2  30-Dec-2006  yamt sync with head.
 1.1.18.1  21-Jun-2006  yamt sync with head.
 1.1.4.4  21-Sep-2004  skrll Fix the sync with head I botched.
 1.1.4.3  18-Sep-2004  skrll Sync with HEAD.
 1.1.4.2  03-Aug-2004  skrll Sync with HEAD
 1.1.4.1  23-Sep-2003  skrll file pci_machdep.c was added on branch ktrace-lwp on 2004-08-03 10:39:29 +0000
 1.2.6.1  22-Apr-2006  simonb Sync with head.
 1.2.4.1  09-Sep-2006  rpaulo sync with head
 1.2.2.1  18-Feb-2006  yamt sync with head.
 1.3.6.1  31-Mar-2006  tron Merge 2006-03-31 NetBSD-current into the "peter-altq" branch.
 1.3.4.1  19-Apr-2006  elad sync with head - hopefully this will work
 1.3.2.2  11-Aug-2006  yamt sync with head
 1.3.2.1  01-Apr-2006  yamt sync with head.
 1.4.4.1  13-Jul-2006  gdamore Merge from HEAD.
 1.5.64.1  23-Jun-2008  wrstuden Sync w/ -current. 34 merge conflicts to follow.
 1.5.62.2  11-Aug-2010  yamt sync with head.
 1.5.62.1  04-May-2009  yamt sync with head.
 1.5.60.1  04-Jun-2008  yamt sync with head
 1.5.58.1  02-Jun-2008  mjf Sync with HEAD.
 1.6.20.1  30-May-2010  rmind sync with head
 1.6.18.1  30-Apr-2010  uebayasi Sync with HEAD.
 1.7.6.1  23-Jun-2011  cherry Catchup with rmind-uvmplock merge.
 1.10.30.1  27-Dec-2015  skrll Sync with HEAD (as of 26th Dec)
 1.10.12.1  03-Dec-2017  jdolecek update from HEAD

RSS XML Feed