Home | History | Annotate | Download | only in isa
History log of /src/sys/arch/ofppc/isa/isa_machdep.c
RevisionDateAuthorComments
 1.6  01-Jul-2011  dyoung #include <sys/bus.h> instead of <machine/bus.h>.
 1.5  28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.4  17-Jan-2008  garbled branches: 1.4.6; 1.4.8; 1.4.10;
Add support to ofppc for the IBM 7044-270 machine. This is a POWER3-II
based machine. Currently the kernel to run on this machine is
incompatible with the standard GENERIC kernel, so for now, we have a
separate GENERIC_B64. Eventually, I hope to combine the two.

Please note, this is a port of 32bit ofppc, not a powerpc64 port.

Thanks to Matt Thomas and Kevin Bowling for helping to make this port
possible.

Summary of changes:

Change ofwpci to use the ofmethod config for configuring the PCI bus,
rather than indirect configuration.
Move the wiring of the interrupt controllers from at the start of the
boot, into the configuration of the first PCI bus.
Rewrite the map_isa_ioregs() hack to work on a machine without BATs
Fix a ton of bugs in the genofw_find_pics routine, and in the map_space code.
Split the pic_openpic into openpic_common and pic_openpic.
Create a new pic_distopenpic driver, for the distributed openpic found on
some newer IBM machines.
Fix a bad panic in pmap_extract on 64bit bridge mode
 1.3  05-Nov-2007  garbled branches: 1.3.2; 1.3.4; 1.3.10;
Lots of small changes for ofppc:

Remove the ofb driver. I'm not interested in trying to make this work.
It should be replaced with the genfb driver, which I have added,
commented out because that driver needs work before it will function on
ofppc. (it's too panic-happy, and ofppc needs a working autoconf.c)

Change the way we do isa_inb/outb. The new way is a slightly nastier
hack, but won't run afoul of the other isa drivers as much.

Fix ofw_consinit.c to remove the dependency on ofb.
 1.2  17-Oct-2007  garbled branches: 1.2.2; 1.2.4;
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.1  21-Jun-2007  garbled branches: 1.1.2; 1.1.6; 1.1.8;
file isa_machdep.c was initially added on branch ppcoea-renovation.
 1.1.8.1  18-Oct-2007  yamt sync with head.
 1.1.6.2  06-Nov-2007  joerg Sync with HEAD.
 1.1.6.1  02-Nov-2007  joerg More diff reduce to HEAD due to botched up merging.
 1.1.2.1  21-Jun-2007  garbled Completely rewrite ofppc from scratch.

1) Change it to be like the other ppc ports, and directly interface with
hardware, rather than trying to be slick and access everything through
the OFW. Instead, we gather configuration information from OFW, and use
that to discover hardware.

2) Change it over to powerpc bus_space and bus_dma.

3) Timecounters, generic soft interrupts.

4) Make use of the shared code in powerpc. (pic code, oea, bat code, etc)

5) Probably other stuff.. almost nothing remains of the original port.

It is assumed that in it's present state this will not run on any
machines. However, it should be pretty close, and will just need some
massaging and care from someone with access to hardware to make it work.
The code is written to target a CHRP compatible machine, but there is no
reason it cannot be ported to other machines like the Pegasos or Efika.
I simply don't have the knowledge of those machines to structure the code
for them, but I have attempted to keep it generic enough that such work
could still be done.

If anyone with access to hardware would like to take this on, I will
gladly assist as much as possible.
 1.2.4.4  21-Jan-2008  yamt sync with head
 1.2.4.3  15-Nov-2007  yamt sync with head.
 1.2.4.2  27-Oct-2007  yamt sync with head.
 1.2.4.1  17-Oct-2007  yamt file isa_machdep.c was added on branch yamt-lazymbuf on 2007-10-27 11:27:28 +0000
 1.2.2.3  03-Dec-2007  ad Sync with HEAD.
 1.2.2.2  23-Oct-2007  ad Sync with head.
 1.2.2.1  17-Oct-2007  ad file isa_machdep.c was added on branch vmlocking on 2007-10-23 20:36:01 +0000
 1.3.10.1  19-Jan-2008  bouyer Sync with HEAD
 1.3.4.3  23-Mar-2008  matt sync with HEAD
 1.3.4.2  06-Nov-2007  matt sync with HEAD
 1.3.4.1  05-Nov-2007  matt file isa_machdep.c was added on branch matt-armv6 on 2007-11-06 23:20:01 +0000
 1.3.2.1  18-Feb-2008  mjf Sync with HEAD.
 1.4.10.1  16-May-2008  yamt sync with head.
 1.4.8.1  18-May-2008  yamt sync with head.
 1.4.6.1  02-Jun-2008  mjf Sync with HEAD.

RSS XML Feed