Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-03-23 | Avoid using DEV_BSHIFT, and use DEV_BSIZE instead. | Theo de Raadt | |
2013-03-23 | avoid machine/param.h use | Theo de Raadt | |
2013-03-22 | ARM Cortex A8 was defined twice, we don't need that. | Patrick Wildt | |
ok miod@ | |||
2013-03-22 | Use different setup functions for ARM9E and ARM10 to fix an undefined | Patrick Wildt | |
instruction fault on ARM9E caused by a coprocessor call. ok miod@ | |||
2013-03-21 | Use MAXBSIZE for block io limit (same value, but MAXPHYS is strictly a | Theo de Raadt | |
kernel concept) ok miod | |||
2013-03-21 | Already have sys/param.h, don't need machine/param.h | Theo de Raadt | |
2013-03-21 | NBPG -> PAGE_SIZE, PGSHIFT -> PAGE_SHIFT, PGOFSET -> PAGE_MASK | Theo de Raadt | |
2013-03-21 | style(9) | Kurt Miller | |
2013-03-21 | Detect on-die temp sensor for Atom E6xx on amd64. Adapted from | Kurt Miller | |
diff submitted by Matt Dainty. okay jsg@ | |||
2013-03-21 | move kernel after 16MB. needed for additional growth that might come in a | Theo de Raadt | |
little while... diff from martynas who is not around now | |||
2013-03-21 | - remove two now-unused macros. | Jasper Lievisse Adriaanse | |
ok yasuoka@ | |||
2013-03-21 | fix detection of the MAC address by reading it from the correct address, | Jasper Lievisse Adriaanse | |
instead of from a random location which resulted in 00:01:02:etc addresses. confirmed to match up with the MAC addresses linux detects on the ERL; no phy (atphy(4)) attaches still. ok bcallah@ chris@ yasuoka@ | |||
2013-03-21 | use boot_info->config_flags to determine if we're running on a host that has | Jasper Lievisse Adriaanse | |
PCI capabilities, instead of blindly trying to attach pci/pcibus. this fixes a hang on the EdgeRouter Lite (which lacks PCI) and causes no regressions on the CAM-0100 (which does have PCI, tested by bcallah@) ok bcallah@ chris@ | |||
2013-03-21 | - remove an unused variable (octeon_configuration) | Jasper Lievisse Adriaanse | |
- add some flags which will be used to determine the device capabilities which are advertised by uboot. ok bcallah@ chris@ | |||
2013-03-21 | no newlines at end | Theo de Raadt | |
2013-03-20 | Previous commit to acpi_machdep.c broke suspend because the IPI to save the | Mark Kettenis | |
FPU state needs a little bit more setup. Fix things properly this time by simplifying matters and saving the FPU state from the IPI that halts the CPU. With help from deraadt@ and mlarkin@. ok deraadt@, mlarkin@ | |||
2013-03-19 | use __func__ to print the function name, fixes a bunch of pastos along the way. | Jasper Lievisse Adriaanse | |
2013-03-19 | implement octeon_cpuspeed() | Jasper Lievisse Adriaanse | |
ok yasuoka@ | |||
2013-03-19 | instead of treating boot_info->cf_common_addr special, save the whole of ↵ | Jasper Lievisse Adriaanse | |
boot_info for future use. ok yasuoka@ | |||
2013-03-19 | in acpi_sleep_mp() properly flush fpu and halt the AP's | Theo de Raadt | |
found when i told mlarkin to look at it for re-use in a different place ok mlarkin | |||
2013-03-17 | Add an interface to rebind AGP DMA mappings. To be used by the upcoming KMS | Mark Kettenis | |
support to reload bindings after suspend/resume and to update cachability flags in the address translation table entries. | |||
2013-03-17 | We don't do mcontext, so remove this unused header. | Mark Kettenis | |
ok deraadt@ | |||
2013-03-17 | Avoid namespace pollution from <powerpc/cpu.h>. | Mark Kettenis | |
ok mpi@, deraadt@, miod@, millert@ | |||
2013-03-15 | print a dump of structs boot_info/boot_desc which contain useful information | Jasper Lievisse Adriaanse | |
to have in the dmesg, for the time being ok bcallah@ yasuoka@ | |||
2013-03-15 | add some board types which will be used later to identify particular boards | Jasper Lievisse Adriaanse | |
ok yasuoka@ | |||
2013-03-15 | save a copy of the address at which the CF bus can be found, and use this in ↵ | Jasper Lievisse Adriaanse | |
octcf(4) for 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@ | |||
2013-03-15 | Delete the sequencer(4) driver, since its not used any longer. Diff | Alexandre Ratchov | |
mostly from armani. ok miod, mpi, jsg and help from sthen | |||
2013-03-13 | Allow octeon to reboot by poking the right address for a soft cpu reset. | Jasper Lievisse Adriaanse | |
No more yanking the powercable when I hit ddb :) also tested by bcallah@ ok bcallah@ chris@ yasuoka@ | |||
2013-03-12 | Fake 'SMBIOS detection' for the Soekris boxes, by Matt Dainty | Theo de Raadt | |
This will make it easier to have device drivers for some oddities these machines have ok kettenis, assume jsg is ok with it too | |||
2013-03-12 | Fix kernel profiling on MP systems by using per-CPU buffers and teach | Martin Pieuchot | |
kgmon(8) to deal with them, this time without public header changes. Previously various CPUs were iterating over the same global buffer at the same time to modify it and never ended. This diff includes some ideas submited by Thor Simon to NetBSD via miod@. ok deraadt@, mikeb@, haesbaert@ | |||
2013-03-10 | this ramdisk is just for one machine | Theo de Raadt | |
2013-03-10 | Do not try to scan the ADB bus for devices if the device-tree does not | Martin Pieuchot | |
contain an adb node. This workaround is required by some PowerBooks without ADB bus to prevent their PMU from shutting down the machine. Tweaked from a submission by Daniel Dickman. | |||
2013-03-09 | RAMDISKC wil be needed for alphabook1 | Theo de Raadt | |
2013-03-09 | remove unneccessary needs-flag | Theo de Raadt | |
2013-03-09 | Drop 3rd and 4th clauses from Bradley A. Grantham's license, from NetBSD | Martin Pieuchot | |
via Daniel Dickman. ok deraadt@ | |||
2013-03-09 | turn off debug features we do not need | Theo de Raadt | |
2013-03-09 | First steps towards alphabook1 support; from netbsd | Theo de Raadt | |
miod did not disagree. | |||
2013-03-08 | Stop defining __NO_ISA_INTR_CHECK and add a real isa_intr_check() function. | Miod Vallat | |
Allows pcic to attach and correctly pick a suitable interrupt on Multia. | |||
2013-03-08 | Always initialize the direct DMA window, instead of relying upon SRM to do so; | Miod Vallat | |
many LCA-based systems apparently don't. From NetBSD. | |||
2013-03-07 | Use switch statement for determining when to configure the L2 cache. | Brad Smith | |
ok miod@ | |||
2013-03-07 | Reword some wrong comments and some improperly formatted comments and add | Mike Larkin | |
information about piglet memory layout. No functional changes. | |||
2013-03-02 | Replace magic numbers with more meaningful (1 << interrupt#) constructs. | Miod Vallat | |
No functional change. | |||
2013-03-02 | When stealing an ASID, pass sh_tlb_invalid_asid() the involved ASID | Philip Guenther | |
instead of -1. ok and prod from miod@ | |||
2013-03-02 | Prefer a pc-relative relocation to mcount(); gets rid of the last TEXTREL | Miod Vallat | |
relocation in libc.so. From NetBSD. | |||
2006-10-06 | Preliminary bits for SuperH-based ports, based on NetBSD/sh3 codebase with | Miod Vallat | |
minor changes. | |||
2013-03-02 | Properly conditionalize adding wscons to the list of consoles on | Mark Kettenis | |
NWSDISPLAY. | |||
2013-03-02 | The last use of the int $80 syscall entry was in 5.1, so we no longer | Philip Guenther | |
need to reserve it ok deraadt@ | |||
2013-02-20 | Increase maximum text and data size limits, and double the default data size | Miod Vallat | |
limit. This allows c++ memory hogs, such as pcre's pcrecpp_unittest.cc, to compile on m88k. | |||
2013-02-19 | Introduce a new cmmu method to return the preferred cache mode bits for the | Miod Vallat | |
kernel APR. Return write-back for every design but those involving 88410, where write through is returned. Apparently the use of writeback on single-processor kernels using 88410 (197SP, 197DP) has only been working by fat chance, and the last two years of uvm changes, as well as the switch to ELF (causing kernel rodata to move `up') exposes silent memory corruption on (88410-size) aliased addresses. (I am guilty of not using my 197DP board much after making 197LE write-back capable, as 197LE turned out to be faster and more stable, for I would have noticed this earlier). Further thought needs to happen about this. It might be possible to switch to writeback by default again as long as bus_dma maps things write-through on 88410 designs, and perhaps with a part of the kernel mapped with a write-through BATC, since BATC have precedence upon page tables. Right now I'm trying to get a stable release out of the door. | |||
2013-02-19 | Introduce `option M88410', to be added to 88110 system designs making use of the | Miod Vallat | |
#$%&#@! MC88410 chip. This will allow design-agonstic m88k-specific code to be able to tell pure 88110 kernels apart from possible 88110+88410 ones. |