summaryrefslogtreecommitdiff
path: root/sys/arch/octeon
AgeCommit message (Collapse)Author
2013-09-28In boot(), do not iterate over alldevs if it's empty (i.e. halting from ddbMiod Vallat
with ddb entered early with boot -d or from UKC).
2013-09-19get ethernet working on the edgerouter liteJonathan Matthew
- add atphy(4) to configs - allow separate rx and tx clock settings - add phy mapping for the erl - add tx/rx clock settings for erl ok miod@ bcallah@
2013-09-16work out phy addresses before attaching cnmac and pass them to mii_attachJonathan Matthew
rather than hiding them in the mii read/write functions. ok dlg@ jasper@ bcallah@
2013-08-29Ditch useless variable during attach.Paul Irofti
Okay miod@
2013-08-29Fix attach messages format for the pcibus.Paul Irofti
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@
2013-08-23Fix memory initialization for octeon's with less than 256MB.Paul Irofti
Don't substract the 256MB upperbound from realmem_bytes if the current available memory is less than that. Makes my DSR-500 kernel reach userland. Okay miod@
2013-08-21Missed a spot in my last commit.Paul Irofti
2013-08-20Have some style(9).Paul Irofti
2013-08-20Remove uscanner(4). It was disabled in GENERIC more than 2.5 years ago.Antoine Jacoutot
No regression has been reported since libusb became the prefered solution to work with USB scanners. req. by mpi@ ok ian@ mpi@ miod@
2013-08-17Most network drivers include netinet/in_var.h, but apparently theyAlexander Bluhm
don't have to. Remove these include lines from octeon drivers. test and OK bcallah@
2013-08-15Include files.agp and files.drm from files.pci. Makes sure "drm.h" getsMark Kettenis
generated on all architectures that support pci, making alpha and loongson compile again. ok todd@, miod@ seemed to agree with the idea
2013-06-23Stop using -traditional-cpp on gcc3/4 platforms.Miod Vallat
Add CWARNFLAGS to the command line when using -xassembler-with-cpp. We are mostly interested in -Werror here.
2013-06-13- fix devboot() to properly retrieve octcf0a and add a comment for laterJasper Lievisse Adriaanse
- call boot() so we get to play with the prompt; turns out there's an issue where the first 2-3 readline reads from the uart result in no data...to be investigated.
2013-06-11final removal of daddr64_t. daddr_t has been 64 bit for a long enoughTheo de Raadt
test period; i think 3 years ago the last bugs fell out. ok otto beck others
2013-06-09fix guard; Franco FichtnerTheo de Raadt
2013-06-05remove unused functionJasper Lievisse Adriaanse
2013-06-05add XXX comment for delay_changed, untill we figure out what it actually does.Jasper Lievisse Adriaanse
ok uebayasi@
2013-06-05remove ugly hack we couldn't figure out what it was used for, only that itJasper Lievisse Adriaanse
broke printing characters to the early console. discussed with pirofti@ and uebayasi@ ok uebayasi@
2013-06-05whitespaceJasper Lievisse Adriaanse
2013-06-05- add missing SUBDIRJasper Lievisse Adriaanse
- remove commented and unneeded SRCS
2013-06-05ditch local ld.script and use conf/ld.script instead, and adjust entryJasper Lievisse Adriaanse
point accordingly.
2013-06-05add WIP second stage bootloader for octeon; far from working and contains ↵Jasper Lievisse Adriaanse
many stubs still. committing it now so I can work on this in tree.
2013-06-03more fuse in more places. credit: miodTed Unangst
2013-06-02move octeonreg.h to a more generic location and add multiple inclusionJasper Lievisse Adriaanse
guards while here. ok uebayasi@
2013-06-02remove unneeded octeonreg.h includeJasper Lievisse Adriaanse
2013-06-02- remove double rcs idsJasper Lievisse Adriaanse
2013-06-01remove unused octeon prefetch macros which won't work due to the fact itJasper Lievisse Adriaanse
uses '.set arch=octeon' and as has only gotten support for that after the gplv3 switch. ok uebayasi@
2013-06-01as discussed with uebayasi@ we should only use the "sync" instruction on octeon,Jasper Lievisse Adriaanse
instead of syncs/syncw etc. so remove the OCTEON_SYNC* macros and use mips_sync() directly. ok uebayasi@
2013-06-01as discussed with uebayasi@ we should only use the "sync" instruction on octeon,Jasper Lievisse Adriaanse
instead of syncs/syncw etc. so remove the OCTEON_SYNC* macros and use mips_sync() directly. ok uebayasi@
2013-06-01- whitespace cleanupJasper Lievisse Adriaanse
- add a comment explaining how OCTEON_MAXCPUS was derived
2013-06-01- remove more backward compat code and switch the callers over to the new ↵Jasper Lievisse Adriaanse
function ok uebayasi@
2013-06-01- remove an __mips_o32 block which'll never be used on openbsdJasper Lievisse Adriaanse
- remove some defines intended for backward compat, but that are unused now. ok uebayasi@
2013-06-01add missing license (PD) blockJasper Lievisse Adriaanse
ok guenther@
2013-06-01add GENERIC.MPJasper Lievisse Adriaanse
ok miod@ pirofti@
2013-06-01corectly initialize the number of cores/cpus on the board. this fixes a NULLJasper Lievisse Adriaanse
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@
2013-06-01remove bogus XXX comment, 32 is just the way it is.Jasper Lievisse Adriaanse
2013-06-01make the way of doing debug printfs genericJasper Lievisse Adriaanse
2013-05-17Add a dummy IPL_MPSAFE definition.Mark Kettenis
ok miod@, mikeb@
2013-04-23Remove a loongson reference.Brian Callahan
ok jasper@
2013-04-12Fix the log messages displayed to the user.Brian Callahan
ok jasper@
2013-04-08allow octeon to find it's root device, based on the flags passed by U-Boot. ↵Jasper Lievisse Adriaanse
The ${bootcmd} needs to be something like 'bootoctlinux root=/dev/octcf0'. This will be temporary untill we have proper bootblocks, but for now, this (in combination) with an upcoming installer diff allows my CAM-0100 to autoboot straight of the disk, without having to load the kernel via TFTP. ok bcallah@ yasuoka@
2013-04-06allow GENERIC.MP to compile again...just for shits and giggles.Jasper Lievisse Adriaanse
2013-04-05don't hardcode the size of u-boot's argv, but use a define instead.Jasper Lievisse Adriaanse
to be re-used shortly elsewhere..
2013-04-03fix comment detailing the memory mapJasper Lievisse Adriaanse
from syuu@
2013-04-01Build mips kernels with -G 0, to disable use of so-called `small' data andMiod Vallat
bss sections. The current kernel linker script is not gp-friendly enough for that; and while gas 2.15 was not attempting to output gp-relative relocations for variables which might have ended up in .sdata or .sbss, gas 2.17 will, and the kernel will fail to link. To be improved eventually with a better kernel ld script putting the gp-addressable sections close enough to gp... and making sure kernel gp is reloaded in all the userland->kernel code paths which might need gp in the kernel.
2013-03-30reorder include search directories. cuts lookups by quite a bit.Ted Unangst
ok deraadt miod
2013-03-28Add __strong_alias macros for all architectures to be able to aliasMartynas Venckus
another symbol without weak attribute. To be used in libc and libm soon. Agreed by kettenis@, guenther@, matthew@.
2013-03-27fill in cpu_model.Jasper Lievisse Adriaanse
2013-03-26sync TDIRS with realityJasper Lievisse Adriaanse
"looks good" deraadt@
2013-03-26move octcf bits togetherJasper Lievisse Adriaanse