summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-03-11Simpler RM7000 L2 cache initialization code (no longer matches what pmon2000Miod Vallat
did, but less awkward). Also make sure that the code changing the K0SEG CCA value has enough nops, before returning to cached space, to match the recommended procedure in the RM52xx and RM7000 erratas.
2014-03-11lint is gone, and the 'lint' conditional was never in the implementationPhilip Guenther
namespace, so stop changing behavior when it's #defined ok beck@ krw@
2014-03-11For CA generation, go back to using a two-step procedure to create a CSR andStuart Henderson
then self-sign it rather than using the "openssl req" shortcut. This allows us to specify -extfile and thus set the correct certificate extensions so that stricter SSL implementations will trust this as a CA cert, and matches how things are done in ssl(8). This is basically a partial revert of r1.77. Researched by chrisz@, tweak/ok jmc@ ok beck@
2014-03-11bugfix update to 1.4.6Robert Nagy
2014-03-11Don't bitch about binding into stolen memory on older hardware either.Mark Kettenis
2014-03-11Remove gratuitous differences between arp and nd6 rtrequests,Martin Pieuchot
no functional change. ok jca@
2014-03-11In case imcp_reflect() is called without a given source addressMartin Pieuchot
do not try to find a matching address by iterating over a global list and always use the routing table. Idea from claudio@, moral support from henning@, ok mikeb@
2014-03-11Kill dead links.Martin Pieuchot
2014-03-11Match bwrite()'s prototype with write()'s, zapping a lint commentPhilip Guenther
Delete casts to char* of arguments to bwrite() and free()
2014-03-11Welcome to 1989: we can ask for signed chars when we want themPhilip Guenther
2014-03-11remove #if(n)def __LP64__ from the mips64 codebase, as mips32 never really ↵Jasper Lievisse Adriaanse
went anywhere. ok miod@
2014-03-11lint is dead (long live the lint!)Philip Guenther
Declare play() and pl_main() as __dead, to solve the original problem
2014-03-11lint is dead (long live the lint!)Philip Guenther
2014-03-11Synchronize the i386 and amd64 ddb disassemblers and add supportPhilip Guenther
for many newer instructions. With feedback from jsg@
2014-03-10No need to pass the name of the command to the function that isKenneth R Westerback
implementing that command, a pointer to the command arguments is the only thing needed. No need to have a pointer to the command table in every command, since there is only one table. No need for shiney new stack space for every command name and arguments parsed, since we don't recurse we can just use static memory. No intentional functional change.
2014-03-10Support BUS_DMA_NOCACHE in bus_dma(9). Memory allocations done withMiod Vallat
BUS_DMA_NOCACHE (or BUS_DMA_COHERENT if the platform does not have coherent caches) will use PMAP_NOCACHE when invoking pmap_enter(), to avoid creating cached mappings, and then evicting them from the cache.
2014-03-10Support PMAP_NOCACHE in pmap_enter() flags. If set when mapping a managedMiod Vallat
page, the pte is created uncached. Make sure pmap_enter_pv() honours the cache bits of the pte, instead of assuming it will only get called for cached pages. Have it set PV_UNCACHED in the pv flags for the page, if this is the first use of this page and the mapping is not cached. Only check for a virtual aliasing cache condition if the new mapping is cached.
2014-03-10n64 is the default, drop the o32/o64 register assignment conditionals.Miod Vallat
2014-03-10- zap some "this option applies to this util" lines that i consider unneccessaryJason McIntyre
- standard EXIT STATUS (hand holding from schwarze) - restructure STANDARDS to our normal format - as noted by schwarze, blank separated -t patterns are accepted. the work on making the man page read correctly to reflect this is his ok millert in an earlier incantation ok schwarze
2014-03-1013_datalen.msgFlorian Obser
2014-03-1012_malloc_memset_to_calloc.msgFlorian Obser
2014-03-1011_w_flag.msgFlorian Obser
2014-03-1010_setvbuf.msgFlorian Obser
2014-03-10When translating packets from one address family to another, pass theJeremie Courreges-Anglas
TOS/Traffic Class field of the original packet. Discussed with mikeb@
2014-03-10When setting up the packet description, also retrieve the Traffic ClassJeremie Courreges-Anglas
field of IPv6 packets. Issue reported by Christophe Heurtaux on frnog. ok mikeb@
2014-03-10if_lladdr -> if_sadl, no functional change.Martin Pieuchot
ok mikeb@
2014-03-10Mention rate-matching hub since newer EHCI controllers come withoutMartin Pieuchot
companion controller.
2014-03-10Manpage for xhci(4).Martin Pieuchot
2014-03-10pedantic word change;Jason McIntyre
2014-03-10- fix the mediastatus when the interface is not configured.Jasper Lievisse Adriaanse
- remove unneeded comment, kern.netlivelock doesn't get set here. - rework octeon_eth_mediainit() to be more like other drivers and remove a bunch of XXXs in the process. testing and ok yasuoka@
2014-03-10Optimization, no functional change:Ingo Schwarze
Save a cookie pointing to the very first entry in the DIR.dd_buf cache buffer and use that to speed up seekdir(3) when rewinding to that first entry. No libc bump because DIR is an opaque struct. When the optimization applies, which in particular it always does for rewinddir(3) after reading less than about 500 entries, seekdir(3) execution time drops from 100 to 0.05 milliseconds on my i386 notebook. Other cases are not slowed down. Based on an idea from and ok by guenther@.
2014-03-10In ip6_mrouter_set() and ip6_mrouter_get(), change the error numberLawrence Teo
EACCES to EPERM. EACCES is meant for file access permissions (as documented on the errno(2) man page), so EPERM seems more appropriate. Based on a similar change from FreeBSD via Loganaden Velvindron. ok bluhm@
2014-03-10acpi_saved_rsp was defined twice. The asm resume code was using the firstMike Larkin
definition and the C part of the resume code was using the second. This manifested itself as mysterious reboot and stack corruption problems on resume. ok deraadt@
2014-03-10match on 82580 quad fiber and add untested support forJonathan Gray
DH89XX/Cave Creek PCH which seem to function like a 82580 with some external Marvell PHYs.
2014-03-10match on more i217/i218 variantsJonathan Gray
2014-03-10match on C600 IDF controllers and DH8900Jonathan Gray
2014-03-10regenJonathan Gray
2014-03-10add Xeon E5 v2, DH8900, and a few other devicesJonathan Gray
2014-03-10replace set size calculation with a fixed valueRobert Peichaer
- reduce complexity - don't abuse index.txt OK halex@ krw@
2014-03-09Instead of passing around 'char buf[DEV_BSIZE]' buffers, pass aroundKenneth R Westerback
'struct dos_mbr' variables, since that is what the buffers were used for. Removes need to know about DEV_BSIZE and thus include param.h from all files but one so move the param.h #include to that file (mbr.c). Nuke a bunch of local MBR #defines in favour of the disklabel.h ones. Remove a bunch of unneeded #includes, replace the odd malloc/bzero with calloc, replace equally odd bcopy's with memcpy, remove a stray duplicate MBR parsing in MBR_pcopy(). No intentional functional change.
2014-03-09Print interrupt string *after* establishing it.Mark Kettenis
Requested by miod@ (since xbow(4) on sgi secretly modifies the string behind out back when interrupts get established).
2014-03-09regenJonathan Gray
2014-03-09add some more Xeon E5 devicesJonathan Gray
2014-03-09drm/radeon: set the full cache bit for fences on r7xx+Jonathan Gray
From Alex Deucher 93e2a4108f7d2665136d6051727471731889ea5f in ubuntu 3.8 d45b964a22cad962d3ede1eba8d24f5cee7b2a92 in mainline linux
2014-03-09use linux style memory allocations in shared drm codeJonathan Gray
2014-03-09Rework the per-cpu cache information. Use a common struct to store the lineMiod Vallat
size, the number of sets, and the total size (and the set size, for convenience) per cache (I$, D$, L2, L3). This allows cpu.c to print the number of ways (sets) of L2 and L3 caches from the cache information, rather than hardcoding this from the processor type.
2014-03-09Replace more magic numbers with OPENGL_xxx constants. No functional change.Miod Vallat
2014-03-09record errors, and only crash at the end. much less painful to synchMarc Espie
sets this way...
2014-03-09remove dri1 interfacesJonathan Gray
discussed with kettenis some time last year
2014-03-09regenBrad Smith