summaryrefslogtreecommitdiff
path: root/sys/arch
AgeCommit message (Collapse)Author
2014-05-10Schizo registers are all 64-bit, so use u_int64_t to store them and print themMark Kettenis
using %llx/%llb.
2014-05-10Format string fixes for printing interrupt vectors.Mark Kettenis
2014-05-10Some straightforward format string fixes. Also, print both the tx and rxMark Kettenis
interrupt vector numbers instead of printing rx; pointed out by florian@
2014-05-10Factor out the common ast bits into mi_ast()Philip Guenther
ok deraadt@
2014-05-09format string fixes and removal of -Wno-format for sparc kernels.Miod Vallat
2014-05-09Format string fixes and removal of -Wno-format for *ppc kernels.Miod Vallat
2014-05-08Format string fixes for m88k; remove -Wno-format from the m88k kernels.Miod Vallat
2014-05-08Format string fixes and removal of -Wno-format for landisk kernelsMiod Vallat
2014-05-08Format string fixes and removal of -Wno-format for hppa kernels.Miod Vallat
2014-05-08Update #include list after not-so-recent uvm includes cleanups.Miod Vallat
2014-05-08Format string fixes and removal of -Wno-format for arm kernels.Miod Vallat
2014-05-08Format string fixes for alpha kernels, and remove -Wno-formatMiod Vallat
2014-05-08No longer build vax kernels with -Wno-format.Miod Vallat
2014-05-08Format string fixes.Miod Vallat
2014-05-08Enable -Wno-format in the kernel on i386 & amd64Stefan Fritsch
ok jsg@ "go for it" kettenis@
2014-05-08The pcexmem(4) and pcexio(4) should be attached on LUNA-88K2 only.Kenji Aoyama
Actually, there seems to be no PC-9801 extension board slot on 'original' LUNA-88K. ok miod@
2014-05-07Fix whitespace mistakes.Paul Irofti
2014-05-06Enable brswphy(4) on the Octeon platform.Paul Irofti
Needed for proper networking on my DSR-500.
2014-05-06remove cpsw_{read,write}_4 wrapper functions and just use the realJasper Lievisse Adriaanse
bus_space_{read,write}_4 instead. tested by nick@, ok bmercer@
2014-05-06Include <sys/vmmeter.h> directly instead of relying on it beingMartin Pieuchot
pulled by <uvm/uvm_extern.h> and turn uvm_total() into a private function. The preferred way to get memory stats is through the VM_UVMEXP sysctl(3) since VM_METER is just a wrapper on top of it. In the kernel, use `uvmexp' directly instead of uvm_total(). This change does not remove <sys/vmmeter.h> from <uvm/uvm_extern.h> to give some more time to port maintainers to fix their ports. ok guenther@ as part of a larger diff.
2014-05-04format string fixes for bus_addr_t and bus_size_tStefan Fritsch
bus_addr_t and bus_size_t are u_long everywhere ok kettenis@
2014-04-30format string fixes for (u)int64 varsStefan Fritsch
ok kettenis@
2014-04-30Enforce proper alignment of stack variables which may get accessed withMiod Vallat
double-word load and store instructions. This used to work by chance, but recent compiler changes no longer put us in the lucky situation. tweaks kettenis@
2014-04-28Remove bogus semicolon.Brad Smith
Pointed out by LLVM. fd.c:1378:29: error: if statement has empty body [-Werror,-Wempty-body] ok miod@
2014-04-26Do not pass a NULL argument to OF_getprop(), even if it's fine for theMartin Pieuchot
moment since we use an intermediate buffer and we specify a length of 0, there's no need for an exception here. Noticied while playing with the virtual-mode client interface of firmware.
2014-04-26Allow to compile with DEBUG_PMAP defined.Martin Pieuchot
2014-04-26remove a duplicate break statementJonathan Gray
2014-04-25Defer the free of the hibernate structures until later, when it is safe toMike Larkin
do so. Freeing the hibernate structures too early leads to inadvertent calls into splx when we aren't ready for them yet. Found when trapping splx calls in the resume path. discussed with deraadt@ at m2k14
2014-04-25test dt_min for invalid minute values instead of testing dt_sec twiceJonathan Gray
ok bmercer@
2014-04-22Unify the model name to LUNA-88K{,2}, that is considered theKenji Aoyama
`official' name. ok jmc@ miod@
2014-04-22Remove RX checksum offloading support. The chip is too limited, andChristian Weisgerber
examining higher protocol layers to adjust the checksum and calculate the pseudo-header in the driver is too complex to be worthwhile. ok henning@
2014-04-21Fix off-by-one error in PG_LGFRAME maskPhilip Guenther
ok mlarkin@
2014-04-20emc on my cx500 works as well as rdac on all my rebadged engenio kit.David Gwynne
2014-04-19Don't panic if we're trying to disestablish an MSI but the hardware is gone.Mark Kettenis
tested by & ok mlarkin@
2014-04-18rename wd33c93 to wd33c93ctrl (but keep the filenames as is) so we canJasper Lievisse Adriaanse
add attributes to it later; as wd33c93 is not a valid device name. ok miod@
2014-04-18Have each thread keeps its own (counted!) reference to the process's ucredsPhilip Guenther
to avoid possible use-after-free references when swapping ids in threaded processes. "Do I have the right creds?" checks are always made with the threads creds. Inspired by FreeBSD and NetBSD "right time" deraadt@
2014-04-16Add generic driver for "NEC PC-9801(*) extension board slot" onKenji Aoyama
LUNA-88K. LUNA-88K{,2} has one or two slot(s) that can attach the extension board designed for PC-9801. This driver provides dedicated mmap(2) and capability for waiting specified interrupt on that slot so that we can use the extension board from userland program. (*)PC-9801 is a Japanese popular personal computer, mainly used in 1980-90's. (see http://en.wikipedia.org/wiki/NEC_PC-9801) ok miod@, and man pages jmc@
2014-04-14Fewer <uvm/uvm.h>Martin Pieuchot
2014-04-14move the hardware structures into ahcireg.h.David Gwynne
2014-04-13Clean up last bits of TCP_WRAPPERS and ELF_TOOLCHAIN.Brad Smith
ok miod@
2014-04-12Delete unused variable.Kenji Aoyama
2014-04-09Make trapDump() take the printf-like function as a 2nd parameter.Miod Vallat
No functional change; helps non-released kernels with extra debugging code (-:
2014-04-08Fewer <uvm/uvm.h>!Martin Pieuchot
2014-04-08Less <uvm/uvm.h>Martin Pieuchot
2014-04-08No need for <uvm/uvm_page.h>Martin Pieuchot
2014-04-08Add rgephy(4) for axe(4) and axen(4).Brad Smith
2014-04-07Enable upd(4) on archs where uhidev(4) is present, requested by mpi@.andre
2014-04-07increase MSGBUFSIZETheo de Raadt
2014-04-07Add axen(4) wherever axe(4) is.Brad Smith
ok mpi@ yuo@
2014-04-05enable hds, and give up on ispTheo de Raadt