summaryrefslogtreecommitdiffstats
path: root/sys/arch/octeon/dev/octeon_pcibus.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Tweak whitespace and adjust prototypes.visa2021-03-041-23/+21
|
* Combine octeon_pcibusvar.h into octeon_pcibus.c to reduce scatter.visa2021-03-041-2/+9
|
* Fix disestablishing of PCI interrupt handlers.visa2021-02-201-9/+2
|
* Make octeon kernels compile with DEBUG.visa2018-06-131-2/+2
| | | | Based on a diff from jj@. Thank you!
* Revert previous commit.pirofti2016-10-211-112/+5
| | | | I was building in the wrong tree and got confused. Sorry!
* Fix build: declare the pcie read/write routines before using them.pirofti2016-10-211-5/+112
|
* correct a memory leak in error code path.semarie2015-10-031-22/+15
| | | | | noticed by miod@ ok visa@
* Do not extern octeon_boot_info, <machine/octeonvar.h> declares it for you.miod2014-08-111-2/+1
|
* add a size argument to free. will be used soon, but for now default to 0.tedu2014-07-121-2/+2
| | | | after discussions with beck deraadt kettenis.
* hide two printfs behind an ifdef DEBUG; spotted by miod@jasper2014-05-111-3/+3
|
* various format string fixes and remove -Wno-format from octeonjasper2014-05-101-4/+4
| | | | feedback/ok miod@
* Ditch useless variable during attach.pirofti2013-08-291-4/+2
| | | | Okay miod@
* Fix attach messages format for the pcibus.pirofti2013-08-291-1/+3
| | | | | | | | | | | Before: pcibus0 at iobus0 irq 0pci0 at pcibus0 bus 0 After: pcibus0 at iobus0 irq 0 pci0 at pcibus0 bus 0 Found on my DSR-500. Okay miod@
* - remove double rcs idsjasper2013-06-021-2/+1
|
* remove bogus XXX comment, 32 is just the way it is.jasper2013-06-011-4/+4
|
* make the way of doing debug printfs genericjasper2013-06-011-13/+7
|
* use boot_info->config_flags to determine if we're running on a host that hasjasper2013-03-211-2/+10
| | | | | | | | | PCI capabilities, instead of blindly trying to attach pci/pcibus. this fixes a hang on the EdgeRouter Lite (which lacks PCI) and causes no regressions on the CAM-0100 (which does have PCI, tested by bcallah@) ok bcallah@ chris@
* obio renamed iobus, moved interrupt handler code to dev/octeon_intr.csyuu2011-05-081-12/+12
|
* correct constant namesyuu2010-12-041-3/+3
|
* Introduce a new pci routine, pci_conf_size(), which returns the size of amiod2010-12-041-4/+12
| | | | | | | given pcitag_t configuration address space. Currently, all pci controllers will return the usual 0x100 bytes of PCI configuration space, but this will eventually change on PCIe-capable controlers. ok kettenis@
* Remove pci configuration space acces hook infrastructure, which got copiedmiod2010-12-041-55/+2
| | | | | from loongson but isn't necessary on octeon. ok syuu@
* Correct interrupt handlingsyuu2010-11-231-9/+3
|
* Inital commit of PCI and SATA support for OCTEONsyuu2010-10-281-0/+570