summaryrefslogtreecommitdiffstats
path: root/sys/arch/octeon/include (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* A few too many tabs snuck in there.bcallah2013-11-041-1/+1
|
* Add RCS ID.bcallah2013-11-041-0/+1
| | | | ok pirofti@ jasper@
* It seems an immediate read is necessary when doing a write to an RSLpirofti2013-10-301-0/+22
| | | | | | register in order to complete the write. Okay miod@
* Add support for the hardware random number generator on the octeons.pirofti2013-10-241-1/+2
| | | | | | | | | Works on my DSR-500 and on the edge router as reported on the mailing lists. Finished sometime in August/September, needs more testing/polishing. Similar diff from William Orr on tech@. Prodded by deraadt@, okay jasper@.
* fix guard; Franco Fichtnerderaadt2013-06-091-2/+2
|
* move octeonreg.h to a more generic location and add multiple inclusionjasper2013-06-021-0/+166
| | | | | | guards while here. ok uebayasi@
* remove unused octeon prefetch macros which won't work due to the fact itjasper2013-06-011-28/+0
| | | | | | | uses '.set arch=octeon' and as has only gotten support for that after the gplv3 switch. ok uebayasi@
* as discussed with uebayasi@ we should only use the "sync" instruction on octeon,jasper2013-06-011-14/+0
| | | | | | | instead of syncs/syncw etc. so remove the OCTEON_SYNC* macros and use mips_sync() directly. ok uebayasi@
* - whitespace cleanupjasper2013-06-011-3/+5
| | | | - add a comment explaining how OCTEON_MAXCPUS was derived
* - remove more backward compat code and switch the callers over to the new functionjasper2013-06-011-8/+0
| | | | ok uebayasi@
* - remove an __mips_o32 block which'll never be used on openbsdjasper2013-06-011-24/+0
| | | | | | - remove some defines intended for backward compat, but that are unused now. ok uebayasi@
* add missing license (PD) blockjasper2013-06-012-4/+4
| | | | ok guenther@
* corectly initialize the number of cores/cpus on the board. this fixes a NULLjasper2013-06-011-0/+1
| | | | | | | | | | deref in cpuattach() since we advertised only a single CPU, but tried to attach two. with this diff bsd.mp boots up on the ERL. discussed with pirofti@ ok miod@ pirofti@
* Add a dummy IPL_MPSAFE definition.kettenis2013-05-171-1/+4
| | | | ok miod@, mikeb@
* Remove a loongson reference.bcallah2013-04-231-4/+1
| | | | ok jasper@
* don't hardcode the size of u-boot's argv, but use a define instead.jasper2013-04-051-1/+3
| | | | to be re-used shortly elsewhere..
* Add __strong_alias macros for all architectures to be able to aliasmartynas2013-03-281-6/+1
| | | | | another symbol without weak attribute. To be used in libc and libm soon. Agreed by kettenis@, guenther@, matthew@.
* refactor sys/param.h and machine/param.h. A lot of #ifdef _KERNEL is addedderaadt2013-03-231-9/+9
| | | | | | | to keep definitions our of user space. The MD files now follow a consistant order -- all namespace intrusion is at the tail can be cleaned up independently. locore, bootblocks, and libkvm still see enough visibility to build. Checked on 90% of platforms...
* - remove an unused variable (octeon_configuration)jasper2013-03-211-1/+5
| | | | | | | - add some flags which will be used to determine the device capabilities which are advertised by uboot. ok bcallah@ chris@
* instead of treating boot_info->cf_common_addr special, save the whole of boot_infojasper2013-03-191-2/+2
| | | | | | for future use. ok yasuoka@
* add some board types which will be used later to identify particular boardsjasper2013-03-151-0/+11
| | | | ok yasuoka@
* save a copy of the address at which the CF bus can be found, and use this in octcf(4) forjasper2013-03-151-0/+69
| | | | | | | | a better probe function which doesn't unconditionally tries to attach octcf(4). this would cause endless faults on the EdgeRouter Lite as it lacks a CF bus. feedback and testing bcallah@ and chris@ ok yasuoka@
* Implement pci_min_powerstate().kettenis2012-08-291-1/+3
|
* create new machine/_float.h which is namespace clean. create a newderaadt2012-06-263-6/+3
| | | | | | | | | MI float.h which pulls in and defines the values that are needed from there, and repair sys/limits.h so that it defines the values it needs as well (depending on POSIX version, XPG version, etc). guenther has a more exact selection of that coming for limits.h. this also fixes a few mistakes for the vax. reviewed by kettenis and guenther.
* Rework the signature of the cache handling routines again. It makes more sensemiod2012-04-211-8/+8
| | | | | | | | | | | | to pass both the virtual and physical addresses of the page to clean to SyncDCachePage, which is the only routine using `Index' operations on the data cache, which might be virtually indexed at some levels but physically indexed at others. On the other hand, it does not make any sense to pass a physical address to routines using `Hit' operations (and they were discarding them anyway). In addition to making things cleaner, this fixes sporadic userland misbehaviour (read: SIGSGEV) on RM7000 O2 systems.
* Specify the TLS variant for each platform.guenther2011-10-271-0/+3
|
* Introduce pci_probe_device_hook(pci_chipset_tag_t, struct pci_attach_args *).miod2011-10-101-1/+2
| | | | | | | | | | | | | | | | | | This mandatory function will get invoked in pci_probe_device(), and allows a pci host driver to alter the pci_attach_args passed to a device when attaching. This function will also, if returning non-zero, cause the device to be skipped completely during all the phases of the PCI device discovery (i.e. ressource enumeration, ressource assignment, and actual attachment). This particular feature is experimental and might be reverted in the future (or the scope narrowed to device attachment only). A dummy #define pci_probe_device_hook() 0 is added to all platforms except sgi, where real functions (currently only returning 0) are added; real meat will be added shortly. Discussed at s2k11, no objection from the usual suspects.
* Remove irrelevant comments borrowed from loongson.miod2011-06-251-11/+1
|
* Ethernet driver merged from IIJ's contribution code.syuu2011-06-162-0/+488
|
* Add pci_intr_map_msi() stub.kettenis2011-05-211-1/+2
|
* obio renamed iobus, moved interrupt handler code to dev/octeon_intr.csyuu2011-05-081-1/+7
|
* - enable fenvmartynas2011-04-281-0/+3
| | | | - add nearbyint, nearbyintf and nearbyintl implemented using fenv
* Normalize sentinel. Use _MACHINE_*_H_ and _<ARCH>_*_H_ properly and consitently.pirofti2011-03-231-4/+4
| | | | Discussed and okay drahn@. Okay deraadt@.
* Introduce a new pci routine, pci_conf_size(), which returns the size of amiod2010-12-041-1/+4
| | | | | | | 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@
* Define BUS_SPACE_MAP_LINEAR and BUS_SPACE_MAP_PREFETCHABLE, and providemiod2010-12-041-3/+9
| | | | | a simple bus_space_barrier implementation. ok syuu@
* Correct interrupt handlingsyuu2010-11-231-1/+2
|
* remove unused header filesyuu2010-11-141-904/+0
|
* Inital commit of PCI and SATA support for OCTEONsyuu2010-10-282-1/+152
|
* correct MACHINE, MACHINE_ARCHsyuu2010-10-111-5/+5
|
* Compact Flash support for OCTEONsyuu2010-10-101-3/+2
|
* Follow recent changes on mip64 FPU handling. ok deraadt@ miod@syuu2010-10-031-0/+3
|
* Remove bootinfo.c which has license issue. ok deraadt@syuu2010-09-211-33/+0
|
* Initial revisionsyuu2010-09-2047-0/+2077