summaryrefslogtreecommitdiff
path: root/sys/arch/octeon
AgeCommit message (Collapse)Author
2015-05-04fix device numbering comments, no binary changeJonathan Matthew
2015-05-01Do not grab the kernel lock for clock interrupts. Help and ok kettenis@Miod Vallat
2015-04-30Convert to if_input().Martin Pieuchot
Tested by jmatthew@
2015-04-26Get dwc2 working on octeon.Jonathan Matthew
- transplant the clock setup code from octhci - add a bus space tag to deal with dwc2 using little endian addressing - bump up the rx fifo size, necessary for umass/sd to work tested on an edgerouter lite, which can almost boot by itself now ok uebayasi@ (various parts), miod@ (bus space bits)
2015-03-19Let it compile!Martin Pieuchot
2015-02-14Don't defer initialization. config_defer(9) doesn't defer things asMasao Uebayashi
deferred as interrupt starts working.
2015-02-12Set external DMA address configuration interface.Masao Uebayashi
2015-02-12- Use config_defer() to call actual attachment.Masao Uebayashi
- Set parameters passed to dwc2.
2015-02-11no md code wants lockmgr locks, so no md code needs to include sys/lock.hDavid Gwynne
with and ok miod@
2015-02-11Direct config glue for octdwctwo(4).Masao Uebayashi
2015-02-11Fix DIAGNOSTIC build. Trim blank lines.Masao Uebayashi
2015-02-11Minimal attachment to build-test dwc2(4).Masao Uebayashi
2015-02-05Whitespace.Masao Uebayashi
2015-02-05Use octeon_xkphys_*_8().Masao Uebayashi
2015-01-20Missing $OpenBSD$'s.Kenneth R Westerback
ok deraadt@
2015-01-13for the install: target, use cmp as a rough attempt for avoiding repeatedTheo de Raadt
make install from Simon Nicolussi ok jsing tedu
2015-01-12include NFSCLIENT. ok deraadtTed Unangst
2015-01-11switch prototype warnings to implicit-declaration warnings.Ted Unangst
This should catch all the same bad cases, but be a little less aggravating in circumstances where a prototype isn't necessary ok deraadt
2014-12-22unifdef INETTed Unangst
2014-12-19Use <sys/endian.h> instead of <machine/endian.h>Philip Guenther
ok dlg@ mpi@ bcook@ millert@ miod@
2014-12-11dragonflybsd has added a urio driver. conservation of urios requiresTed Unangst
that we delete ours, which isn't actually useful. ok mpi sthen
2014-12-10retire shutdown hooks; ok deraadt, krwMike Belopuhov
2014-12-09Replace some malloc(n*size,...) calls with mallocarray().Doug Hogan
ok tedu@ deraadt@
2014-12-05Explicitly include <net/if_var.h> instead of pulling it in <net/if.h>.Martin Pieuchot
ok mikeb@, krw@, bluhm@, tedu@
2014-11-18(except for the arm architectures...) unify the way the ld.script isTheo de Raadt
used and depended, mimicking new changes by guenther to amd64.
2014-11-16Replace a plethora of historical protection options with justTheo de Raadt
PROT_NONE, PROT_READ, PROT_WRITE, and PROT_EXEC from mman.h. PROT_MASK is introduced as the one true way of extracting those bits. Remove UVM_ADV_* wrapper, using the standard names. ok doug guenther kettenis
2014-10-26- add board type of edgerouter proJasper Lievisse Adriaanse
- don't attach octrtc on the edgerouter pro either openbsd boots fine on this system, but as there's no ethernet support yet there's no storage at all right now. ok pirofti@
2014-10-26define octeon model cn61xx pass 1.1Jasper Lievisse Adriaanse
ok pirofti@
2014-10-10Significant unification of RAMDISK* config files, making them diffable.Theo de Raadt
This makes it easier to remove components not required to do an install, and subsequently add other desireable components ... In snapshots (in various forks) for about a week. Do some upgrades and installs, please.
2014-10-04Switch the kernel configs over to using -Wframe-larger-than= instead ofBrad Smith
-Wstack-larger-than-. This is what modern GCC supports as well as LLVM. ok miod@
2014-09-30implement atomic operations using ll/sc, and convert rw_cas and callers of theJonathan Matthew
pre-existing atomics to match. tested on sgi (octane) and octeon (erl) ok miod@ dlg@
2014-09-20Use config_suspend_all(9).Mark Kettenis
ok mpi@, uebayasi@, dlg@
2014-09-13Replace all queue *_END macro calls except CIRCLEQ_END with NULL.Doug Hogan
CIRCLEQ_* is deprecated and not called in the tree. The other queue types have *_END macros which were added for symmetry with CIRCLEQ_END. They are defined as NULL. There's no reason to keep the other *_END macro calls. ok millert@
2014-08-20unlink crypto(4) pseudo device from the architecture dependant characterMike Belopuhov
device tables and kernel config files. ok deraadt
2014-08-12Lower VM_PHYSSEG_MAX from the mips64 default to a generous 4, and changeMiod Vallat
allocation strategy to VM_PSTRAT_BIGFIRST.
2014-08-11Do not extern octeon_boot_info, <machine/octeonvar.h> declares it for you.Miod Vallat
2014-08-11Do not use CKSEG0 to quickly map physical addresses, but XKPHYS, for we areMiod Vallat
not limited to 512MB physmem.
2014-08-11Get rid of the `quirks' member, which is never initialized (but by zero atMiod Vallat
softc creation) anyway. Sorry, we are not trying to support SEIL-specific hardware at this point.
2014-08-11Remove evcnt and %b format strings relying upon SEIL extensions. This givesMiod Vallat
OCTEON_ETH_DEBUG kernels a chance to build. No functional change for regular kernels.
2014-08-11De-static so that my ddb backtrace get closer to reality.Miod Vallat
2014-08-11Add option USER_PCICONF for pcidump(8) to be able to do its magic.Miod Vallat
2014-07-23correctly drain and destroy the bufq upon detachJasper Lievisse Adriaanse
ok dlg@
2014-07-22- remove unneeded headerJasper Lievisse Adriaanse
- move a declaration before code - sync with wd.c -r1.101 from may 2011 and pass dk_openmask to setdisklabel
2014-07-22better warning for 8bit cardsJasper Lievisse Adriaanse
2014-07-22- use DL_SECTOBLK() instead of handrolling the same functionalityJasper Lievisse Adriaanse
- octcfsize() returns daddr_t, so calculate the return value in a daddr_t
2014-07-22Switch to MI functions disk_{gone,openpart,closepart} instead of handrollingJasper Lievisse Adriaanse
the same functionality.
2014-07-22<netinet/in_systm.h> is no longer needed.Martin Pieuchot
2014-07-21- whitespace cleanups (trailing whitespace, indentation)Jasper Lievisse Adriaanse
- minor code shuffling and rename a variable to reduce diff with wd.c no binary change
2014-07-21boot(9): Reduce annoying style diffsMasao Uebayashi
- Always use either: ((x & RB_XXX) != 0) or ((x & RB_XXX) == 0) in boolean context (mostly if (x), or x ? y : z) - prom_halt() in alpha is confirmed to take int as boolean Converted by coccinelle. No functional change intended.
2014-07-18implement 'rootdev' parsing similar to what's already done in the kernel,Jasper Lievisse Adriaanse
but this time for bootdev(). defaults to octcf0a if all else fails.