| History log of /src/sys/arch/evbmips/malta/pci |
| Revision | Date | Author | Comments |
| 1.11 | 27-Oct-2012 |
chs | split device_t/softc for all remaining drivers. replace "struct device *" with "device_t". use device_xname(), device_unit(), etc.
|
| 1.10 | 06-Jun-2011 |
matt | branches: 1.10.2; 1.10.12; CFATTACH_DECL(..., sizeof(struct device), -> CFATTACH_DECL_NEW(..., 0 struct device * -> device_t struct cfdata * -> cfdata_t use bool when appropriate some constification
|
| 1.9 | 22-Aug-2006 |
riz | branches: 1.9.82; 1.9.92; Vendor GALILEO is now MARVELL.
|
| 1.8 | 25-Nov-2005 |
simonb | branches: 1.8.4; 1.8.8; 1.8.18; Include <sys/systm.h> if we use printf(), instead of relying on some other random header pulling <sys/systm.h> in for us.
|
| 1.7 | 24-Apr-2004 |
kleink | branches: 1.7.12; 1.7.18; Update for new pci_devinfo(9) signature.
|
| 1.6 | 15-Jul-2003 |
lukem | branches: 1.6.4; __KERNEL_RCSID()
|
| 1.5 | 03-Oct-2002 |
thorpej | branches: 1.5.6; Include <sys/param.h> so that we get the defn of NULL.
|
| 1.4 | 02-Oct-2002 |
thorpej | Add trailing ; to CFATTACH_DECL
|
| 1.3 | 01-Oct-2002 |
thorpej | Use CFATTACH_DECL().
|
| 1.2 | 27-Sep-2002 |
thorpej | Declare all cfattach structures const.
|
| 1.1 | 07-Mar-2002 |
simonb | branches: 1.1.10; 1.1.12; A port to the MIPS Malta evaluation board. Currently supports the MIPS32 4Kc CPU board, with support for the MIPS64 5Kc and the QED RM5261 CPU boards to follow.
The cs4281 audio hasn't been tested, there are some interrupt problems with onboard the pciide, but all other on-board peripherals work.
The evbmips port will support more MIPS evaluation boards in the future.
|
| 1.1.12.2 | 18-Oct-2002 |
nathanw | Catch up to -current.
|
| 1.1.12.1 | 07-Mar-2002 |
nathanw | file pchb.c was added on branch nathanw_sa on 2002-10-18 02:36:39 +0000
|
| 1.1.10.3 | 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.1.10.2 | 23-Jun-2002 |
jdolecek | catch up with -current on kqueue branch
|
| 1.1.10.1 | 07-Mar-2002 |
jdolecek | file pchb.c was added on branch kqueue on 2002-06-23 17:36:00 +0000
|
| 1.5.6.4 | 11-Dec-2005 |
christos | Sync with head.
|
| 1.5.6.3 | 21-Sep-2004 |
skrll | Fix the sync with head I botched.
|
| 1.5.6.2 | 18-Sep-2004 |
skrll | Sync with HEAD.
|
| 1.5.6.1 | 03-Aug-2004 |
skrll | Sync with HEAD
|
| 1.6.4.1 | 11-Sep-2006 |
tron | Pull up following revision(s) (requested by riz in ticket #10693): sys/arch/cobalt/pci/pchb.c: revision 1.9 via patch sys/dev/pci/if_sk.c: revision 1.30 via patch sys/arch/evbmips/malta/pci/pchb.c: revision 1.9 via patch Vendor GALILEO is now MARVELL.
|
| 1.7.18.1 | 29-Nov-2005 |
yamt | sync with head.
|
| 1.7.12.2 | 30-Dec-2006 |
yamt | sync with head.
|
| 1.7.12.1 | 21-Jun-2006 |
yamt | sync with head.
|
| 1.8.18.1 | 08-Sep-2006 |
rpaulo | Pull up following revision(s) (requested by riz in ticket #139): sys/arch/cobalt/pci/pchb.c: revision 1.9 sys/dev/pci/if_sk.c: revision 1.30 sys/arch/cobalt/pci/pci_machdep.c: revision 1.24 sys/dev/pci/pcidevs: revision 1.820 sys/arch/evbmips/malta/pci/pchb.c: revision 1.9 Rename vendor GALILEO -> vendor MARVELL . Marvell bought Galileo years ago, we have little existing stuff in the tree, and this will make it easier to keep certain network drivers in sync with other OSes. OK matt@, uwe@ Vendor GALILEO is now MARVELL.
|
| 1.8.8.1 | 03-Sep-2006 |
yamt | sync with head.
|
| 1.8.4.1 | 09-Sep-2006 |
rpaulo | sync with head
|
| 1.9.92.1 | 23-Jun-2011 |
cherry | Catchup with rmind-uvmplock merge.
|
| 1.9.82.1 | 12-Jun-2011 |
rmind | sync with head
|
| 1.10.12.1 | 20-Nov-2012 |
tls | Resync to 2012-11-19 00:00:00 UTC
|
| 1.10.2.1 | 30-Oct-2012 |
yamt | sync with head
|
| 1.6 | 01-Jul-2011 |
dyoung | #include <sys/bus.h> instead of <machine/bus.h>.
|
| 1.5 | 20-Feb-2011 |
matt | Merge forward from matt-nb5-mips64.
|
| 1.4 | 11-Dec-2005 |
christos | branches: 1.4.96; 1.4.100; 1.4.106; 1.4.108; merge ktrace-lwp.
|
| 1.3 | 15-Jul-2003 |
lukem | __KERNEL_RCSID()
|
| 1.2 | 18-Mar-2002 |
simonb | branches: 1.2.8; 1.2.10; 1.2.16; Convert to use <mips/bus_*.h>.
|
| 1.1 | 07-Mar-2002 |
simonb | A port to the MIPS Malta evaluation board. Currently supports the MIPS32 4Kc CPU board, with support for the MIPS64 5Kc and the QED RM5261 CPU boards to follow.
The cs4281 audio hasn't been tested, there are some interrupt problems with onboard the pciide, but all other on-board peripherals work.
The evbmips port will support more MIPS evaluation boards in the future.
|
| 1.2.16.3 | 21-Sep-2004 |
skrll | Fix the sync with head I botched.
|
| 1.2.16.2 | 18-Sep-2004 |
skrll | Sync with HEAD.
|
| 1.2.16.1 | 03-Aug-2004 |
skrll | Sync with HEAD
|
| 1.2.10.2 | 18-Mar-2002 |
simonb | Convert to use <mips/bus_*.h>.
|
| 1.2.10.1 | 18-Mar-2002 |
simonb | file pci_machdep.c was added on branch nathanw_sa on 2002-03-18 01:21:14 +0000
|
| 1.2.8.2 | 23-Jun-2002 |
jdolecek | catch up with -current on kqueue branch
|
| 1.2.8.1 | 18-Mar-2002 |
jdolecek | file pci_machdep.c was added on branch kqueue on 2002-06-23 17:36:00 +0000
|
| 1.4.108.1 | 05-Mar-2011 |
bouyer | Sync with HEAD
|
| 1.4.106.1 | 06-Jun-2011 |
jruoho | Sync with HEAD.
|
| 1.4.100.1 | 05-Mar-2011 |
rmind | sync with head
|
| 1.4.96.1 | 10-Jan-2010 |
matt | Add generic support for DMA bounce buffers and real version of bus_dmatag_subregion. MALTA uses it for ISADMA. Make RMIXL use for creating 32bit and 29bit subregions.
|
| 1.26 | 19-Oct-2025 |
thorpej | Use {,e}isabus_attach().
|
| 1.25 | 08-Feb-2024 |
andvar | s/sharable/shareable in comments and documentation.
|
| 1.24 | 22-Jan-2022 |
skrll | Ensure bus_dmatag_subregion is called with an inclusive max_addr everywhere.
|
| 1.23 | 22-Jan-2022 |
skrll | Trailing whitespace
|
| 1.22 | 07-Aug-2021 |
thorpej | Merge thorpej-cfargs2.
|
| 1.21 | 24-Apr-2021 |
thorpej | branches: 1.21.8; Merge thorpej-cfargs branch:
Simplify and make extensible the config_search() / config_found() / config_attach() interfaces: rather than having different variants for which arguments you want pass along, just have a single call that takes a variadic list of tag-value arguments.
Adjust all call sites: - Simplify wherever possible; don't pass along arguments that aren't actually needed. - Don't be explicit about what interface attribute is attaching if the device only has one. (More simplification.) - Add a config_probe() function to be used in indirect configuiration situations, making is visibly easier to see when indirect config is in play, and allowing for future change in semantics. (As of now, this is just a wrapper around config_match(), but that is an implementation detail.)
Remove unnecessary or redundant interface attributes where they're not needed.
There are currently 5 "cfargs" defined: - CFARG_SUBMATCH (submatch function for direct config) - CFARG_SEARCH (search function for indirect config) - CFARG_IATTR (interface attribte) - CFARG_LOCATORS (locators array) - CFARG_DEVHANDLE (devhandle_t - wraps OFW, ACPI, etc. handles)
...and a sentinel value CFARG_EOL.
Add some extra sanity checking to ensure that interface attributes aren't ambiguous.
Use CFARG_DEVHANDLE in MI FDT, OFW, and ACPI code, and macppc and shark ports to associate those device handles with device_t instance. This will trickle trough to more places over time (need back-end for pre-OFW Sun OBP; any others?).
|
| 1.20 | 21-Nov-2020 |
thorpej | branches: 1.20.2; malloc(9) -> kmem(9)
|
| 1.19 | 10-Nov-2019 |
chs | branches: 1.19.8; in many device attach paths, allocate memory with M_WAITOK instead of M_NOWAIT and remove code to handle failures that can no longer happen.
|
| 1.18 | 29-Mar-2014 |
christos | branches: 1.18.30; make pci_intr_string and eisa_intr_string take a buffer and a length instead of relying in local static storage.
|
| 1.17 | 26-Mar-2014 |
christos | kill sprintf
|
| 1.16 | 27-Oct-2012 |
chs | branches: 1.16.2; split device_t/softc for all remaining drivers. replace "struct device *" with "device_t". use device_xname(), device_unit(), etc.
|
| 1.15 | 01-Jul-2011 |
dyoung | branches: 1.15.2; 1.15.12; #include <sys/bus.h> instead of <machine/bus.h>.
|
| 1.14 | 20-Feb-2011 |
matt | Merge forward from matt-nb5-mips64.
|
| 1.13 | 19-Aug-2009 |
dyoung | branches: 1.13.4; 1.13.6; 1.13.8; Define, and hook into the isa_chipset_tag_t, pcib_isa_detach_hook().
|
| 1.12 | 12-May-2006 |
tsutsui | branches: 1.12.66; 1.12.84; According to the i8259 manual, EOI, R, and SL bits belong to OCW2 register so rename them OCW3_* -> OCW2_*.
|
| 1.11 | 11-Dec-2005 |
christos | branches: 1.11.4; 1.11.6; 1.11.8; 1.11.12; merge ktrace-lwp.
|
| 1.10 | 30-Aug-2004 |
drochner | branches: 1.10.12; Phase out the use of a string as first "attach args" member to control which bustype should be attached with a specific call to config_found() (from a "mainbus" or a bus bridge). Do it for isa/eisa/mca and pci/agp for now. These buses all attach to an mi interface attribute "isabus", "eisabus" etc., and the autoconf framework now allows to specify an interface attribute on config_found() and config_search(), which limits the search of matching config data to these which attach to that specific attribute. So we basically have to call config_found_ia(..., "foobus", ...) where such a bus is attached. As a consequence, where a "mainbus" or alike also attaches other devices (eg CPUs) which do not attach to a specific attribute yet, we need at least pass an attribute name (different from "foobus") so that the foo bus is not found at these places. This made some minor changes necessary which are not obviously related to the mentioned buses.
|
| 1.9 | 24-Apr-2004 |
kleink | Update for new pci_devinfo(9) signature.
|
| 1.8 | 15-Jul-2003 |
lukem | __KERNEL_RCSID()
|
| 1.7 | 01-Jan-2003 |
thorpej | branches: 1.7.2; Use aprint_normal() for cfprint routines.
|
| 1.6 | 02-Oct-2002 |
thorpej | Add trailing ; to CFATTACH_DECL
|
| 1.5 | 01-Oct-2002 |
thorpej | Use CFATTACH_DECL().
|
| 1.4 | 27-Sep-2002 |
thorpej | Declare all cfattach structures const.
|
| 1.3 | 27-Sep-2002 |
provos | remove trailing \n in panic(). approved perry.
|
| 1.2 | 18-Mar-2002 |
simonb | branches: 1.2.8; 1.2.10; Use <mips/isa_machdep.h> and <mips/pci_machdep.h>.
|
| 1.1 | 07-Mar-2002 |
simonb | A port to the MIPS Malta evaluation board. Currently supports the MIPS32 4Kc CPU board, with support for the MIPS64 5Kc and the QED RM5261 CPU boards to follow.
The cs4281 audio hasn't been tested, there are some interrupt problems with onboard the pciide, but all other on-board peripherals work.
The evbmips port will support more MIPS evaluation boards in the future.
|
| 1.2.10.3 | 03-Jan-2003 |
thorpej | Sync with HEAD.
|
| 1.2.10.2 | 18-Oct-2002 |
nathanw | Catch up to -current.
|
| 1.2.10.1 | 18-Mar-2002 |
nathanw | file pcib.c was added on branch nathanw_sa on 2002-10-18 02:36:39 +0000
|
| 1.2.8.3 | 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.2.8.2 | 23-Jun-2002 |
jdolecek | catch up with -current on kqueue branch
|
| 1.2.8.1 | 18-Mar-2002 |
jdolecek | file pcib.c was added on branch kqueue on 2002-06-23 17:36:01 +0000
|
| 1.7.2.4 | 21-Sep-2004 |
skrll | Fix the sync with head I botched.
|
| 1.7.2.3 | 18-Sep-2004 |
skrll | Sync with HEAD.
|
| 1.7.2.2 | 03-Sep-2004 |
skrll | Sync with HEAD
|
| 1.7.2.1 | 03-Aug-2004 |
skrll | Sync with HEAD
|
| 1.10.12.1 | 21-Jun-2006 |
yamt | sync with head.
|
| 1.11.12.1 | 24-May-2006 |
tron | Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
|
| 1.11.8.1 | 24-May-2006 |
yamt | sync with head.
|
| 1.11.6.1 | 01-Jun-2006 |
kardel | Sync with head.
|
| 1.11.4.1 | 09-Sep-2006 |
rpaulo | sync with head
|
| 1.12.84.1 | 10-Jan-2010 |
matt | Add generic support for DMA bounce buffers and real version of bus_dmatag_subregion. MALTA uses it for ISADMA. Make RMIXL use for creating 32bit and 29bit subregions.
|
| 1.12.66.1 | 19-Aug-2009 |
yamt | sync with head.
|
| 1.13.8.1 | 05-Mar-2011 |
bouyer | Sync with HEAD
|
| 1.13.6.1 | 06-Jun-2011 |
jruoho | Sync with HEAD.
|
| 1.13.4.1 | 05-Mar-2011 |
rmind | sync with head
|
| 1.15.12.2 | 20-Aug-2014 |
tls | Rebase to HEAD as of a few days ago.
|
| 1.15.12.1 | 20-Nov-2012 |
tls | Resync to 2012-11-19 00:00:00 UTC
|
| 1.15.2.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.15.2.1 | 30-Oct-2012 |
yamt | sync with head
|
| 1.16.2.1 | 18-May-2014 |
rmind | sync with head
|
| 1.18.30.1 | 13-Apr-2020 |
martin | Mostly merge changes from HEAD upto 20200411
|
| 1.19.8.1 | 14-Dec-2020 |
thorpej | Sync w/ HEAD.
|
| 1.20.2.1 | 23-Mar-2021 |
thorpej | Convert config_found_ia() call sites where the device only carries a single interface attribute to bare config_found() calls.
|
| 1.21.8.1 | 04-Aug-2021 |
thorpej | Adapt to CFARGS().
|
| 1.2 | 18-Mar-2002 |
simonb | branches: 1.2.8; 1.2.10; Use <mips/isa_machdep.h> and <mips/pci_machdep.h>.
|
| 1.1 | 07-Mar-2002 |
simonb | A port to the MIPS Malta evaluation board. Currently supports the MIPS32 4Kc CPU board, with support for the MIPS64 5Kc and the QED RM5261 CPU boards to follow.
The cs4281 audio hasn't been tested, there are some interrupt problems with onboard the pciide, but all other on-board peripherals work.
The evbmips port will support more MIPS evaluation boards in the future.
|
| 1.2.10.2 | 18-Mar-2002 |
simonb | Use <mips/isa_machdep.h> and <mips/pci_machdep.h>.
|
| 1.2.10.1 | 18-Mar-2002 |
simonb | file pcibvar.h was added on branch nathanw_sa on 2002-03-18 10:10:18 +0000
|
| 1.2.8.2 | 23-Jun-2002 |
jdolecek | catch up with -current on kqueue branch
|
| 1.2.8.1 | 18-Mar-2002 |
jdolecek | file pcibvar.h was added on branch kqueue on 2002-06-23 17:36:01 +0000
|
| 1.6 | 09-Jul-2011 |
matt | Allow algor kernels to be built under either algor/algor64 or evbmips-el/evbmips64-el. Note that MAXMAPARITITONS and majors numbers differ between the two ports which is why two kernels are still needed.
|
| 1.5 | 04-Apr-2011 |
dyoung | Neither pci_dma64_available(), pci_probe_device(), pci_mapreg_map(9), pci_find_rom(), pci_intr_map(9), pci_enumerate_bus(), nor the match predicate passed to pciide_compat_intr_establish() should ever modify their pci_attach_args argument, so make their pci_attach_args arguments const and deal with the fallout throughout the kernel.
For the most part, these changes add a 'const' where there was no 'const' before, however, some drivers and MD code used to modify pci_attach_args. Now those drivers either copy their pci_attach_args and modify the copy, or refrain from modifying pci_attach_args:
Xen: according to Manuel Bouyer, writing to pci_attach_args in pci_intr_map() was a leftover from Xen 2. Probably a bug. I stopped writing it. I have not tested this change.
siside(4): sis_hostbr_match() needlessly wrote to pci_attach_args. Probably a bug. I use a temporary variable. I have not tested this change.
slide(4): sl82c105_chip_map() overwrote the caller's pci_attach_args. Probably a bug. Use a local pci_attach_args. I have not tested this change.
viaide(4): via_sata_chip_map() and via_sata_chip_map_new() overwrote the caller's pci_attach_args. Probably a bug. Make a local copy of the caller's pci_attach_args and modify the copy. I have not tested this change.
While I'm here, make pci_mapreg_submap() static.
With these changes in place, I have tested the compilation of these kernels:
alpha GENERIC amd64 GENERIC XEN3_DOM0 arc GENERIC atari HADES MILAN-PCIIDE bebox GENERIC cats GENERIC cobalt GENERIC evbarm-eb NSLU2 evbarm-el ADI_BRH ARMADILLO9 CP3100 GEMINI GEMINI_MASTER GEMINI_SLAVE GUMSTIX HDL_G IMX31LITE INTEGRATOR IQ31244 IQ80310 IQ80321 IXDP425 IXM1200 KUROBOX_PRO LUBBOCK MARVELL_NAS NAPPI SHEEVAPLUG SMDK2800 TEAMASA_NPWR TEAMASA_NPWR_FC TS7200 TWINTAIL ZAO425 evbmips-el AP30 DBAU1500 DBAU1550 MALTA MERAKI MTX-1 OMSAL400 RB153 WGT624V3 evbmips64-el XLSATX evbppc EV64260 MPC8536DS MPC8548CDS OPENBLOCKS200 OPENBLOCKS266 OPENBLOCKS266_OPT P2020RDB PMPPC RB800 WALNUT hp700 GENERIC i386 ALL XEN3_DOM0 XEN3_DOMU ibmnws GENERIC macppc GENERIC mvmeppc GENERIC netwinder GENERIC ofppc GENERIC prep GENERIC sandpoint GENERIC sgimips GENERIC32_IP2x sparc GENERIC_SUN4U KRUPS sparc64 GENERIC
As of Sun Apr 3 15:26:26 CDT 2011, I could not compile these kernels with or without my patches in place:
### evbmips-el GDIUM
nbmake: nbmake: don't know how to make /home/dyoung/pristine-nbsd/src/sys/arch/mips/mips/softintr.c. Stop
### evbarm-el MPCSA_GENERIC src/sys/arch/evbarm/conf/MPCSA_GENERIC:318: ds1672rtc*: unknown device `ds1672rtc'
### ia64 GENERIC
/tmp/genassym.28085/assym.c: In function 'f111': /tmp/genassym.28085/assym.c:67: error: invalid application of 'sizeof' to incomplete type 'struct pcb' /tmp/genassym.28085/assym.c:76: error: dereferencing pointer to incomplete type
### sgimips GENERIC32_IP3x
crmfb.o: In function `crmfb_attach': crmfb.c:(.text+0x2304): undefined reference to `ddc_read_edid' crmfb.c:(.text+0x2304): relocation truncated to fit: R_MIPS_26 against `ddc_read_edid' crmfb.c:(.text+0x234c): undefined reference to `edid_parse' crmfb.c:(.text+0x234c): relocation truncated to fit: R_MIPS_26 against `edid_parse' crmfb.c:(.text+0x2354): undefined reference to `edid_print' crmfb.c:(.text+0x2354): relocation truncated to fit: R_MIPS_26 against `edid_print'
|
| 1.4 | 11-Dec-2005 |
christos | branches: 1.4.100; 1.4.106; merge ktrace-lwp.
|
| 1.3 | 15-Jul-2003 |
lukem | __KERNEL_RCSID()
|
| 1.2 | 18-Mar-2002 |
simonb | branches: 1.2.8; 1.2.10; 1.2.16; Use <mips/isa_machdep.h> and <mips/pci_machdep.h>.
|
| 1.1 | 07-Mar-2002 |
simonb | A port to the MIPS Malta evaluation board. Currently supports the MIPS32 4Kc CPU board, with support for the MIPS64 5Kc and the QED RM5261 CPU boards to follow.
The cs4281 audio hasn't been tested, there are some interrupt problems with onboard the pciide, but all other on-board peripherals work.
The evbmips port will support more MIPS evaluation boards in the future.
|
| 1.2.16.3 | 21-Sep-2004 |
skrll | Fix the sync with head I botched.
|
| 1.2.16.2 | 18-Sep-2004 |
skrll | Sync with HEAD.
|
| 1.2.16.1 | 03-Aug-2004 |
skrll | Sync with HEAD
|
| 1.2.10.2 | 18-Mar-2002 |
simonb | Use <mips/isa_machdep.h> and <mips/pci_machdep.h>.
|
| 1.2.10.1 | 18-Mar-2002 |
simonb | file pciide_machdep.c was added on branch nathanw_sa on 2002-03-18 10:10:18 +0000
|
| 1.2.8.2 | 23-Jun-2002 |
jdolecek | catch up with -current on kqueue branch
|
| 1.2.8.1 | 18-Mar-2002 |
jdolecek | file pciide_machdep.c was added on branch kqueue on 2002-06-23 17:36:01 +0000
|
| 1.4.106.1 | 06-Jun-2011 |
jruoho | Sync with HEAD.
|
| 1.4.100.1 | 21-Apr-2011 |
rmind | sync with head
|