Home | History | Annotate | Download | only in pci
History log of /src/sys/arch/bebox/pci/pci_machdep.c
RevisionDateAuthorComments
 1.22  19-Oct-2016  nonaka Added MSI/MSI-X and interrupt_distribute(9) support for powerpc.
 1.21  01-Jul-2011  dyoung branches: 1.21.12; 1.21.30; 1.21.34;
#include <sys/bus.h> instead of <machine/bus.h>.
 1.20  30-Jun-2011  matt Modify mapiodev to take a third argument indicating whether the space
should be prefetchable (true) or not (false).
 1.19  22-Jun-2011  matt 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.18  03-Nov-2010  kiyohara Calculate IRQ from swiz, if bus != 0.
 1.17  30-May-2008  kiyohara branches: 1.17.18; 1.17.20;
Remove unused prototype for function.
 1.16  17-Feb-2008  kiyohara branches: 1.16.6; 1.16.8; 1.16.10; 1.16.12;
Interrupt setting of PCI from 3.1. In present interrupt, 32
BeInterruptController queues up following i8259(16).
 1.15  17-Oct-2007  garbled branches: 1.15.2;
Merge the ppcoea-renovation branch to HEAD.

This branch was a major cleanup and rototill of many of the various OEA
cpu based PPC ports that focused on sharing as much code as possible
between the various ports to eliminate near-identical copies of files in
every tree. Additionally there is a new PIC system that unifies the
interface to interrupt code for all different OEA ppc arches. The work
for this branch was done by a variety of people, too long to list here.

TODO:
bebox still needs work to complete the transition to -renovation.
ofppc still needs a bunch of work, which I will be looking at.
ev64260 still needs to be renovated
amigappc was not attempted.

NOTES:
pmppc was removed as an arch, and moved to a evbppc target.
 1.14  11-Dec-2005  christos branches: 1.14.30; 1.14.38; 1.14.48; 1.14.50; 1.14.52; 1.14.54;
merge ktrace-lwp.
 1.13  15-Jul-2003  lukem branches: 1.13.16;
__KERNEL_RCSID()
 1.12  27-Sep-2002  provos branches: 1.12.6;
remove trailing \n in panic(). approved perry.
 1.11  29-Oct-2001  thorpej branches: 1.11.2;
pci_conf_interrupt() takes bus/dev/pin, not bus/dev/func.
 1.10  06-Jun-2001  matt branches: 1.10.2; 1.10.6;
Change bebox port to use the include MPC6XX files and the new common bus.h
framework.
 1.9  12-Feb-2001  briggs branches: 1.9.2;
Supply a pci_bus_dma_tag.
Use intr_establish()/intr_distestablish() instead of calling through ISA
routines.
Supply a pci_conf_interrupt() function to assign interrupt lines for the
bus configuration.
 1.8  28-Dec-2000  sommerfeld Change pci_intr_map to get interrupt source information from a "struct
pci_attach_args *" instead of from four separate parameters which in
all cases were extracted from the same "struct pci_attach_args".

This both simplifies the driver api, and allows for alternate PCI
interrupt mapping schemes, such as one using the tables described in
the Intel Multiprocessor Spec which describe interrupt wirings for
devices behind pci-pci bridges based on the device's location rather
the bridge's location.

Tested on alpha and i386; welcome to 1.5Q
 1.7  29-Jun-2000  mrg remove include of <vm/vm.h>. <vm/vm.h> -> <uvm/uvm_extern.h>
 1.6  26-Jun-2000  mrg remove/move more mach vm header files:

<vm/pglist.h> -> <uvm/uvm_pglist.h>
<vm/vm_inherit.h> -> <uvm/uvm_inherit.h>
<vm/vm_kern.h> -> into <uvm/uvm_extern.h>
<vm/vm_object.h> -> nothing
<vm/vm_pager.h> -> into <uvm/uvm_pager.h>

also includes a bunch of <vm/vm_page.h> include removals (due to redudancy
with <vm/vm.h>), and a scattering of other similar headers.
 1.5  04-Jun-2000  cgd Implement the more flexiable `evcnt' interface as discussed (briefly) on
tech-kern and now documented in evcnt(9).
 1.4  15-Aug-1998  mycroft branches: 1.4.12; 1.4.20;
Make copyright notices with my name consistent.
 1.3  03-Feb-1998  sakamoto Change bebox_bus_{io,mem}.bus_base to BEBOX_BUS_SPACE_{IO,MEM}.
 1.2  27-Nov-1997  sakamoto remove/import software interrupt model and external interrupt handler
from OpenBSD/powerpc.
move bus_space_* from bus_machdep.c to bus.h.
 1.1  14-Oct-1997  sakamoto branches: 1.1.2;
Initial commit of NetBSD/bebox port.
 1.1.2.1  28-Nov-1997  mellon Pull rev 1.2 up from trunk (sakamoto)
 1.4.20.1  22-Jun-2000  minoura Sync w/ netbsd-1-5-base.
 1.4.12.3  12-Mar-2001  bouyer Sync with HEAD.
 1.4.12.2  05-Jan-2001  bouyer Sync with HEAD
 1.4.12.1  20-Nov-2000  bouyer Update thorpej_scsipi to -current as of a month ago
A i386 GENERIC kernel compiles without the siop, ahc and bha drivers
(will be updated later). i386 IDE/ATAPI and ncr work, as well as
sparc/esp_sbus. alpha should work as well (untested yet).
siop, ahc and bha will be updated once I've updated the branch to current
-current, as well as machine-dependant code.
 1.9.2.1  21-Jun-2001  nathanw Catch up to -current.
 1.10.6.1  12-Nov-2001  thorpej Sync the thorpej-mips-cache branch with -current.
 1.10.2.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.10.2.1  10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.11.2.2  18-Oct-2002  nathanw Catch up to -current.
 1.11.2.1  29-Oct-2001  nathanw file pci_machdep.c was added on branch nathanw_sa on 2002-10-18 02:36:05 +0000
 1.12.6.3  21-Sep-2004  skrll Fix the sync with head I botched.
 1.12.6.2  18-Sep-2004  skrll Sync with HEAD.
 1.12.6.1  03-Aug-2004  skrll Sync with HEAD
 1.13.16.2  27-Feb-2008  yamt sync with head.
 1.13.16.1  27-Oct-2007  yamt sync with head.
 1.14.54.1  25-Oct-2007  bouyer Sync with HEAD.
 1.14.52.1  18-Oct-2007  yamt sync with head.
 1.14.50.2  23-Mar-2008  matt sync with HEAD
 1.14.50.1  06-Nov-2007  matt sync with HEAD
 1.14.48.1  26-Oct-2007  joerg Sync with HEAD.

Follow the merge of pmap.c on i386 and amd64 and move
pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup
code to restore CR4 before jumping back into kernel space as the large
page option might cover that.
 1.14.38.2  08-Jul-2007  ober More cleanups of intr.h and headers.
 1.14.38.1  08-Jul-2007  ober Updates to make use of the common powerpc pci code base.
 1.14.30.1  23-Oct-2007  ad Sync with head.
 1.15.2.1  18-Feb-2008  mjf Sync with HEAD.
 1.16.12.1  23-Jun-2008  wrstuden Sync w/ -current. 34 merge conflicts to follow.
 1.16.10.1  04-May-2009  yamt sync with head.
 1.16.8.1  04-Jun-2008  yamt sync with head
 1.16.6.1  02-Jun-2008  mjf Sync with HEAD.
 1.17.20.1  05-Mar-2011  rmind sync with head
 1.17.18.1  06-Nov-2010  uebayasi Sync with HEAD.
 1.21.34.1  04-Nov-2016  pgoyette Sync with HEAD
 1.21.30.1  05-Dec-2016  skrll Sync with HEAD
 1.21.12.1  03-Dec-2017  jdolecek update from HEAD

RSS XML Feed