summaryrefslogtreecommitdiff
path: root/sys/arch/octeon
AgeCommit message (Collapse)Author
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.
2014-07-14whitespaceJasper Lievisse Adriaanse
2014-07-13boot(9): Cosmetic changes to improve diff'ability.Masao Uebayashi
2014-07-13Cosmetic changes to reduce diffs.Masao Uebayashi
2014-07-13consistency with upcoming bootloader device parsing of the uboot arguments,Jasper Lievisse Adriaanse
root= becomes rootdev=
2014-07-13Keep track of port connections and port resets.Paul Irofti
Also notify upstream when a port finished reseting and when the connection status changes. Gets things further along to the point where pipe device transfer and control methods are required.
2014-07-13print leading '0x' for addresses and masks with DUMP_BOOT_{DESC,INFO}Jasper Lievisse Adriaanse
ok pirofti@
2014-07-13- fix off-by-one in getting the number of cores in the systemJasper Lievisse Adriaanse
- unbreak GENERIC.MP build
2014-07-13Start handling host channel interrupts.Paul Irofti
For now just acknowledge and clear the event to avoid interrupt storms.
2014-07-13move putchar() into libsaJasper Lievisse Adriaanse
"sure" miod@
2014-07-12- remove CONSPEED from libsa.hJasper Lievisse Adriaanse
- remove unused define
2014-07-12unify cnspeed()Jasper Lievisse Adriaanse
2014-07-12Add in missing brswphy(4) and the commented out USB entries.Brad Smith
ok pirofti@
2014-07-12move getchar() into libsa where applicableJasper Lievisse Adriaanse
ok miod@
2014-07-12Fix the last commit by proper dereferencing the disklabel partition.Paul Irofti
Found by me, fixed by krw@. Thanks!
2014-07-12Fix USB connect freeze by clearing the host port interrupt.Paul Irofti
Connects and disconnects have no affect on the machine, just like before this driver came into existence. While at it check for a few more interrupt types.
2014-07-12Oops. Correct variable name more likely to compile.Kenneth R Westerback
2014-07-12- replace main() with mips_init() so we can save the arguments from uboot toJasper Lievisse Adriaanse
pass it to the kernel later on. also use it to get the clock frequency. - implement getsecs() so the bootprompt timeout works input/ok miod@ pirofti@
2014-07-12Calculate i/o starts and sizes in 'proper' sectors rather assumingKenneth R Westerback
512-byte sectors. Unlikely to affect CF's in the near future. ok pirofti@