summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2013-12-15Overhaul the pread and pwrite code to match what Linux does. Should fix a fewMark Kettenis
more cache coherency issues, hopefully reducing the number of artifacts showing up the screen.
2013-12-15Abuse phys_map to reliably wait for kva.Mark Kettenis
2013-12-14enable tmpfs so it gets tested some more.Marc Espie
okay kettenis@, martin@, beck@, krw@, tedu@, millert@
2013-12-14bring in a few improvements from pedro, guenther, me...Marc Espie
thanks to krw@ for the original cherry-picking, millert@ for useful comment. so: - no longer expose internal kernel addresses, uses seq numbers instead - make sure the numbers don't overflow (millert@ UINT64_MAX)... a conservative estimate is that tmpfs will run out of seqs in >600 years... - don't malloc dents, put them on the stack and zero them - gc whiteout code - gc getpage/putpage code (shrink uvm instead) okay krw@, millert@
2013-12-14remove a duplicated includ file.Yojiro Uo
2013-12-14regenBrad Smith
2013-12-14new Realtek PHY.Brad Smith
2013-12-14Zero out dirent structures that will be copied out to avoid leaking garbagePhilip Guenther
in the padding or trailing name bytes. ok beck@ millert@ espie@
2013-12-13Remove struct ttysize which was introduced for compatibility withChristian Weisgerber
SunOS < 3.2 (1986). ok millert@, guenther@
2013-12-13Remove the 4.3BSD tty(4) compatibility shims. RIP. ok millert@Christian Weisgerber
2013-12-13Zap some getdirentries() leftovers.Vadim Zhukov
okay guenther@
2013-12-13add an entry for "IIJmobile 510FU"Yojiro Uo
2013-12-13regenYojiro Uo
2013-12-13add IIJmobile 510FUYojiro Uo
2013-12-13regenYojiro Uo
2013-12-13add FUJITSU component FX-5251WBYojiro Uo
2013-12-13add SACOM USB485BLYojiro Uo
2013-12-13regenYojiro Uo
2013-12-13add vendor SACOM (0ba0h)Yojiro Uo
2013-12-13Rewrite receive filter handling and ioctl bits.Brad Smith
Tested by ISIHARA Takanori
2013-12-12Remove the scatter/gather dma implementation as it is no longer used.Mark Kettenis
ok krw@, deraadt@
2013-12-12Add db_vprintf(), and then use it in ACPI's db_disprint() instead ofPhilip Guenther
formatting into a local buffer. ok miod@
2013-12-12printf(variable) --> printf("%s", variable)Philip Guenther
ok deraadt@
2013-12-12bcmp -> memcmpTed Unangst
2013-12-12replace old bcopy/bzero with standard functions. ok kettenisTed Unangst
2013-12-12Fix invalid size to memcmp() in rn_lexobetter() introduced when theTodd C. Miller
hand-rolled loop was converted to memcmp(). From Kieran Devlin. OK markus@
2013-12-12Set the d_off member as getdents() expects in ntfs_readdir()Philip Guenther
ok and nudge jsing@
2013-12-11Fix typo; that teaches me to steal other people's diffs!Mark Kettenis
2013-12-11Make obj->pages a simple array instead of an array of bus_dma_segment_t's.Mark Kettenis
Simplifies things a bit and reduces the diffs with Linux a bit too.
2013-12-11Better bus error diagnostics (this really only affects IP28). Also, do whatMiod Vallat
the comments say and really only ignore speculative accesses causing bus errors when coming from the kernel.
2013-12-11Revert change to sha256: ramdisks don't build with this and the obviousPhilip Guenther
conf/files change isn't enough due to size limits
2013-12-11Use an u_int32_t instead of an unsigned long to store the magic numberJeremie Courreges-Anglas
we're about to send. Should a bug on big-endian LP64 archs reported by James MacMahon (jwm at operand dot ca). ok millert@
2013-12-11update a few RC4 references to ChaCha. thanks sthenTed Unangst
2013-12-11do not include empty (and already removed) files; ok syl@Christian Weisgerber
2013-12-11remove empty files; ok syl@Christian Weisgerber
2013-12-11md5 smells bad. switch to sha256. ok deraadt matthew mikebTed Unangst
2013-12-11Clean up the ioctl handler to be in line with most of the otherBrad Smith
Ethernet drivers. ok sasano@
2013-12-10dead assignment; from david hill, ok claudioMike Belopuhov
2013-12-10Add infrastructure to create un-biglocked task queues. Stolen from blambert@Mark Kettenis
who is slacking to much. ok dlg@
2013-12-10Unset fuse_mnt in fusefs_unmount after vflushing and freeing fbufs in use.pelikan
This way, if fuse unmounts a FS without FBT_DESTROY, the fuse_mnt pointer is already invalidated. Also, on weird unmount situations with vnodes in use, vflush() them before doing fuse_device_cleanup(). Tested with ntfs-3g, ok syl@.
2013-12-09Bring i915_gem_mmap_ioctl a bit closer to the Linux code.Mark Kettenis
2013-12-09At resume, do not spin flushing characters in from the chip. There shouldn'tTheo de Raadt
be any characters. If the chip is not actually there for some reason, we'd be spinning so early in the resume sequence, we'd probably go mad trying to find the reason.. ok kettenis request: people with serial ports on their laptops, try to run a "cu" over a suspend/resume cycle, and see if you see "input noise"
2013-12-09Remove MD intagp(4) code that is unused now that inteldrm(4) manages the GTTMark Kettenis
all by itself.
2013-12-09use new com.c bus-independent suspend/resume code, rather than trying toTheo de Raadt
craft broken local code here ok kettenis
2013-12-09initialize staterr, no functional change; from david hillMike Belopuhov
2013-12-09At suspend/resume time cope with timeouts, DTR on resume in a busTheo de Raadt
bus-independent fashion. ok kettenis
2013-12-09use a separate task queue for sensors;Mike Belopuhov
with input from and ok kettenis, deraadt
2013-12-09Don't keep removed files (B_INVAL bufs) in the buffer cache. Free buffersBob Beck
once brelse() is called and the buffer is B_INVAL. ok jsing@ krw@
2013-12-09Fix crash on urndis(4) detachPaul Irofti
When detaching my nokia c2-01 dohooks in if_detach would panic. This was due to a failure to setup a pipe in urndis_ctrl_init() which results in a TIMEOUT on receive with side-effects later on during detach due to assumptions regarding the existence of interface hooks during dohooks on if_detach tear-down. That resulted on dereferencing a NULL function pointer which triggered a panic. Discussed with mpi@, tested and okay giovanni@.
2013-12-09replace workq_task_add with a task. stash teh struct in the ata xfer thingDavid Gwynne
so its now reliable.