Home | History | Annotate | Download | only in include
History log of /src/sys/arch/macppc/include/pci_machdep.h
RevisionDateAuthorComments
 1.22  18-Jun-2011  matt struct device * -> device_t
struct cfdata * -> cfdata_t
use device accessors, use device_private.
some softc/device_t splits (macppc needs a bunch more)
aprint*_dev used considerably more
 1.21  28-Feb-2008  macallan branches: 1.21.36;
move PCI_MAGIC_IO_RANGE to a header that's actually exported to userland
 1.20  27-Feb-2008  macallan add a #define to select at which offset display drivers' mmap() methods
return the resp. IO range so X can access stuff lie VGA registers
 1.19  17-Oct-2007  garbled branches: 1.19.12; 1.19.16;
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.18  11-Dec-2005  christos branches: 1.18.30; 1.18.38; 1.18.48; 1.18.50; 1.18.52; 1.18.54;
merge ktrace-lwp.
 1.17  29-Jul-2004  drochner branches: 1.17.12;
remove now unnecessary "pci_enumerate_bus" definitions
 1.16  15-May-2002  thorpej branches: 1.16.10;
Let machine-dependent code specify how to enumerate the bus.
Currently, everyone uses pci_enumerate_bus_generic().
 1.15  19-Jun-2001  simonb branches: 1.15.2; 1.15.8;
Add/change prototypes so that macpcc builds with -Wstrict-prototypes.
 1.14  08-Jun-2001  matt Make macppc compile by default with -Wall -Wmissing-prototype in addition
to its currently enabled warnings. For the lack of a better place, most
global function prototype wound up in <machine/autoconf.h> unless there
was a better place for them. ofb_* structs renamed to offb_* to avoid
conflict with ofb_softc in <dev/ofw/openfirm.h>
 1.13  28-Dec-2000  sommerfeld branches: 1.13.2;
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.12  04-Jun-2000  cgd Implement the more flexiable `evcnt' interface as discussed (briefly) on
tech-kern and now documented in evcnt(9).
 1.11  01-Jun-2000  cgd kill __P in these files. (I had to look at them anyway with an eye for
adding some protos... and adding them with __P seems wrong, but mixing
__P and not __P in the same file seems wrong too, so...)
 1.10  03-Feb-2000  tsubai branches: 1.10.2;
* Split bandit and grackle.
* Add UniNorth support.

Now pcibus is attached like:
bandit0 at mainbus0
pci0 at bandit0 bus 0
...
 1.9  01-Feb-2000  danw Use device_register to find the boot device more reliably. Should now work
on anything it's possible to boot from that we have a driver for.
 1.8  06-May-1999  thorpej branches: 1.8.2;
Allow pci_init() to be called twice, once just to find the PCI-Host
bridges and determine the "pci chipset" values (for making PCI tags),
and again to actually map the configuration space registers.
 1.7  05-May-1999  thorpej Add a bus space tag for PCI memory space to the pci_bridge structure.
 1.6  19-Mar-1999  cgd branches: 1.6.2;
Moved from arch/macppc/pci/pci_machdep.h,v
 1.5  15-Oct-1998  tsubai Set PCI bus number correctly.
 1.4  15-Aug-1998  mycroft Make copyright notices with my name consistent.
 1.3  17-Jul-1998  tsubai Add bus_dma support.
 1.2  13-Jul-1998  tsubai Add support for Motorola MPC106.
 1.1  15-May-1998  tsubai Initial import of macppc port.
 1.6.2.2  06-May-1999  perry branches: 1.6.2.2.2;
pullup 1.7->1.8 (thorpej)
 1.6.2.1  06-May-1999  perry pullup 1.6->1.7 (thorpej)
 1.6.2.2.2.1  21-Jun-1999  thorpej Sync w/ -current.
 1.8.2.2  05-Jan-2001  bouyer Sync with HEAD
 1.8.2.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.10.2.1  22-Jun-2000  minoura Sync w/ netbsd-1-5-base.
 1.13.2.1  21-Jun-2001  nathanw Catch up to -current.
 1.15.8.2  20-Jun-2002  nathanw Catch up to -current.
 1.15.8.1  19-Jun-2001  nathanw file pci_machdep.h was added on branch nathanw_sa on 2002-06-20 03:39:36 +0000
 1.15.2.1  23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.16.10.3  21-Sep-2004  skrll Fix the sync with head I botched.
 1.16.10.2  18-Sep-2004  skrll Sync with HEAD.
 1.16.10.1  03-Aug-2004  skrll Sync with HEAD
 1.17.12.2  17-Mar-2008  yamt sync with head.
 1.17.12.1  27-Oct-2007  yamt sync with head.
 1.18.54.1  25-Oct-2007  bouyer Sync with HEAD.
 1.18.52.1  18-Oct-2007  yamt sync with head.
 1.18.50.2  23-Mar-2008  matt sync with HEAD
 1.18.50.1  06-Nov-2007  matt sync with HEAD
 1.18.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.18.38.3  05-Jun-2007  matt Make macppc use the common powerpc bus_dma.c
 1.18.38.2  06-May-2007  macallan remove some now unused stuff
 1.18.38.1  06-May-2007  macallan switch macppc over to generic PCI code from arch/powerpc/pci
 1.18.30.1  23-Oct-2007  ad Sync with head.
 1.19.16.1  03-Apr-2008  mjf Sync with HEAD.
 1.19.12.1  24-Mar-2008  keiichi sync with head.
 1.21.36.1  23-Jun-2011  cherry Catchup with rmind-uvmplock merge.

RSS XML Feed