Home | History | Annotate | Download | only in include
History log of /src/sys/arch/sgimips/include/pci_machdep.h
RevisionDateAuthorComments
 1.15  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.14  18-Feb-2015  macallan switch sgimips to common bus_dma and bus_space in arch/mips/
Tested on O2 and Indy.
Things that are compile-tested only for lack of hardware:
- GIO ethernet cards with PCI bridges
- IP2x hardware not found on Indy
- IP1x
 1.13  01-Apr-2014  ozaki-r branches: 1.13.6;
Add a missing comma
 1.12  29-Mar-2014  christos make pci_intr_string and eisa_intr_string take a buffer and a length
instead of relying in local static storage.
 1.11  27-Oct-2012  chs branches: 1.11.2;
split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.
 1.10  11-May-2011  dyoung branches: 1.10.4; 1.10.14;
Now that GENERIC32_IPX3x builds again, fix some pci_attach_args
constification that I'd missed.
 1.9  30-Aug-2006  rumble branches: 1.9.82; 1.9.88;
Generalise pci/pci_machdep.c further and move all mace-specific code into
mace/pci_mace.c in preparation for pci devices on the gio(4) bus.
 1.8  17-Apr-2006  tsutsui branches: 1.8.6;
Switch macepci to use MI pci_configure_bus(9) rather than its own fixup code.
Tested on my O2 with several devices, and ok'ed by sekiya.
 1.7  11-Dec-2005  christos branches: 1.7.4; 1.7.6; 1.7.8; 1.7.10; 1.7.12;
merge ktrace-lwp.
 1.6  06-Sep-2004  sekiya branches: 1.6.12;
Use the mace interrupt handler for PCI interrupts.

From KIYOHARA Takashi
 1.5  29-Jul-2004  drochner remove now unnecessary "pci_enumerate_bus" definitions
 1.4  05-Oct-2003  tsutsui Apply a bunch of patches written by Christopher SEKIYA
(with several cosmetic changes by me) which fixes O2 (IP32) support.

Now my R5000 O2 works fine in multiuser with on-board AIC7880 SCSIs
and several PCI network cards (but only on serial console yet).
L2 cache on R5000/Rm5200 is still disabled for now, but it will be
fixed later, hopefully.

See recent discussion on port-sgimips for details.
 1.3  15-May-2002  thorpej branches: 1.3.10;
Let machine-dependent code specify how to enumerate the bus.
Currently, everyone uses pci_enumerate_bus_generic().
 1.2  28-Dec-2000  sommerfeld branches: 1.2.4; 1.2.8;
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.1  14-Jun-2000  soren branches: 1.1.4; 1.1.6;
Initial commit.
 1.1.6.3  05-Jan-2001  bouyer Sync with HEAD
 1.1.6.2  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.1.6.1  14-Jun-2000  bouyer file pci_machdep.h was added on branch thorpej_scsipi on 2000-11-20 20:23:46 +0000
 1.1.4.2  22-Jun-2000  minoura Sync w/ netbsd-1-5-base.
 1.1.4.1  14-Jun-2000  minoura file pci_machdep.h was added on branch minoura-xpg4dl on 2000-06-22 17:03:23 +0000
 1.2.8.1  20-Jun-2002  nathanw Catch up to -current.
 1.2.4.1  23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.3.10.3  21-Sep-2004  skrll Fix the sync with head I botched.
 1.3.10.2  18-Sep-2004  skrll Sync with HEAD.
 1.3.10.1  03-Aug-2004  skrll Sync with HEAD
 1.6.12.2  30-Dec-2006  yamt sync with head.
 1.6.12.1  21-Jun-2006  yamt sync with head.
 1.7.12.1  24-May-2006  tron Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
 1.7.10.1  19-Apr-2006  elad sync with head - hopefully this will work
 1.7.8.2  03-Sep-2006  yamt sync with head.
 1.7.8.1  24-May-2006  yamt sync with head.
 1.7.6.1  22-Apr-2006  simonb Sync with head.
 1.7.4.1  09-Sep-2006  rpaulo sync with head
 1.8.6.1  10-Sep-2006  tron Pull up following revision(s) (requested by rumble in ticket #137):
sys/arch/sgimips/include/pci_machdep.h: revision 1.9
sys/arch/sgimips/pci/pci_machdep.c: revision 1.19
sys/arch/sgimips/mace/pci_mace.c: revision 1.8
Generalise pci/pci_machdep.c further and move all mace-specific code into
mace/pci_mace.c in preparation for pci devices on the gio(4) bus.
 1.9.88.1  06-Jun-2011  jruoho Sync with HEAD.
 1.9.82.1  31-May-2011  rmind sync with head
 1.10.14.3  03-Dec-2017  jdolecek update from HEAD
 1.10.14.2  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.10.14.1  20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.10.4.2  22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.10.4.1  30-Oct-2012  yamt sync with head
 1.11.2.1  18-May-2014  rmind sync with head
 1.13.6.1  06-Apr-2015  skrll Sync with HEAD

RSS XML Feed