summaryrefslogtreecommitdiff
path: root/sys/arch/octeon
AgeCommit message (Collapse)Author
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@
2014-07-12add guards to just make available to the bootblocks what they need.Jasper Lievisse Adriaanse
prompted by miod@
2014-07-12WhitespacePaul Irofti
2014-07-12rename variable to better indicate it's meaningJasper Lievisse Adriaanse
2014-07-12add a size argument to free. will be used soon, but for now default to 0.Ted Unangst
after discussions with beck deraadt kettenis.
2014-07-12Fix root hub descriptors by matching ehci(4)'s descriptors.Paul Irofti
Reminded by mpi@, thanks! On a side note usb sticks don't get fried anymore, they "just" freeze the system.
2014-07-12Implement Set Port Feature request support.Paul Irofti
Port reset doesn't need the spl dance, as discussed with mpi@
2014-07-12Add support for Get Port Status requests.Paul Irofti
2014-07-12Add support for Get Hub Descriptor requests.Paul Irofti
2014-07-12I don't need to treat the (half-)empty Tx and Rx FIFO cases.Paul Irofti
Only the DMA-challenged host controllers need to, so don't panic! While at it add some more debug messages when the interrupt returns 0.
2014-07-12Add support for the CLEAR FEATURE requests.Paul Irofti
2014-07-12fix annoying bug where the first character would be eaten, cnischar() wasJasper Lievisse Adriaanse
wreaking havoc. from miod@