summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2014-05-11hide two printfs behind an ifdef DEBUG; spotted by miod@Jasper Lievisse Adriaanse
2014-05-11Move the increment of uvmexp.softs back to the caller of mi_ast():Philip Guenther
it needs to be done atomicly on some MP archs and we don't have atomic_add_int() everywhere yet. Also, mi_ast() was meant to be inline. noted by miod@
2014-05-11Pull in <sys/user.h> before <sys/syscall*.h>Philip Guenther
2014-05-10spello in comment and tweak DUMP_BOOT_DESC a tadJasper Lievisse Adriaanse
2014-05-10various format string fixes and remove -Wno-format from octeonJasper Lievisse Adriaanse
feedback/ok miod@
2014-05-10sigh, another case of user.h before syscall_mi.hTheo de Raadt
2014-05-10Remove -Wno-format.Mark Kettenis
2014-05-10Disable speedstep instead of panicing if the high and low speeds are the same.Philip Guenther
Problem noted by Benjamin Baier (programmer (at) netzbasis.de) improvements and ok kettenis@
2014-05-10We print time_t by casting to "long long" even in the kernel.Mark Kettenis
ok deraadt@
2014-05-10Sidestep format string issue by sanitizing a bit of debug code.Mark Kettenis
ok deraadt@
2014-05-10bring things syscall_mi.h needs into scope earlierTheo de Raadt
2014-05-10bring things syscall_mi.h needs into scope earlierTheo de Raadt
ok guenther
2014-05-10Fix formwat string. Cast pointer to long and print it using %lx since %pMark Kettenis
prefixes the address with 0x which we want to avoid here.
2014-05-10Fix a few bad indentsClaudio Jeker
2014-05-10A few more straightforward format string fixes.Mark Kettenis
2014-05-10Format string fixes for bus_addr_t and bus_size_t, which are u_long everywhere.Mark Kettenis
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-09Plug an xfer leak when detaching root hubs.Martin Pieuchot
This leak is similar to the public xfer leak #1 that was affecting device interrupt pipes except that root hubs are rarely detached. Note that this xfer is never associated to any TD and is just used to indicate that some of the HC ports has changed status, so there is no need to flag it as "done" before completing it.
2014-05-09We should use the highest possible priority for routes to local addresses.Martin Pieuchot
Requested by claudio@
2014-05-09stop using B_AGE, it was effectively retired some time ago.Ted Unangst
2014-05-09disable IO_NOCACHE B_NOCACHE conversion until it works.Ted Unangst
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-08Fix some potential integer overflows caused by converting a page number intoMark Kettenis
an offset/size/address by shifting by PAGE_SHIFT. Make uvm_objwrire/unwire use voff_t instead of off_t. The former is the right type here even if it is equivalent to the latter. Inspired by a somewhat similar changes in Bitrig. ok deraadt@, guenther@
2014-05-08No longer build vax kernels with -Wno-format.Miod Vallat
2014-05-08Format string fixes.Miod Vallat
2014-05-08Format string fix in disabled code. Format bus_space_handle_t with %xl,Stefan Fritsch
cast bus_space_tag_t to (u_long)
2014-05-08Enable -Wno-format in the kernel on i386 & amd64Stefan Fritsch
ok jsg@ "go for it" kettenis@
2014-05-08Plug one more xfer leak.Martin Pieuchot
Now that aborting interrupt pipes does not prevent us from freeing the associated xfer, make sure to flag this xfer as "done" even if there's no need to abort it in hardware.
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-08Introduce two new route flags: RTF_LOCAL and RTF_BROADCAST.Martin Pieuchot
Nothing use them for the moment, but here is the plan: Since a route lookup is always necessary to output a packet it makes sense to store all the information regarding how the packet should be sent in the routing entry. This will save us some expensive lookups on address lists. But once we have all the information about our addresses in the routing table, we can even use it in the input path with the hope that the number of lookups in the forwarding case can be reduce to one. ok henning@, chris@
2014-05-07Fix whitespace mistakes.Paul Irofti
2014-05-07Remove the last hacks concerning the global list of IPv4 addresses in theMartin Pieuchot
source address selection logic. These hacks were only relevant for the NFS diskless boot code in order to pick the local broadcast address of the only configured interface. So, be explicit and set this address directly. Tested by florian@, ok henning@, beck@, chrisz@
2014-05-07Make sure to call uhidev_close() upon detach for every HID driver callingMartin Pieuchot
uhidev_open() at attach time. This plugs up to 3 xfer leaks and a buffer one. ok yuo@
2014-05-07Kill the {nd6_,}useloopback buttons, using the loopback interface forMartin Pieuchot
local traffic is not optional. ok mikeb@, stsp@, jca@
2014-05-07Remove some m->m_pkthdr.rcvif dereference to help for upcomingMartin Pieuchot
receiving pointer -> index conversion. No functional change. ok chrisz@, jca@, mikeb@, lteo@
2014-05-07Fix ext2fs atime and mtime handling that I broke from an airportPhilip Guenther
lounge after n2k14. Prototype patch from zhuk@ ok zhuk@ krw@ tedu@
2014-05-06Enable brswphy(4) on the Octeon platform.Paul Irofti
Needed for proper networking on my DSR-500.
2014-05-06Add support for the Broadcom PHY found on the Octeon-based DSR-500.Paul Irofti
This is an MI driver currently targeting only the BCM53115 model, but other Broadcom devices (specially from the 53XX family) can make use of it as well. The driver currently accounts just for the CPU port. The switch is left in dumb-mode. Further advanced switch control is in the works. Parts of this was inspired by looking at the b53 driver from the OpenWrt project. Thanks! Okay miod@
2014-05-06Regen after Broadcom 53115 addition.Paul Irofti
2014-05-06Add an entry for the Broadcom 53115 model found on the DSR-500.Paul Irofti
Okay miod@