summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2016-01-20remove an unused ifp variableJonathan Gray
2016-01-20add hidmt, a HID-layer driver for multitouch touchpads that conformJoshua Stein
to the "Windows Precision Touchpad" standard. when a compatible device is found, hidmt claims all report ids and switches the device into multitouch packet mode. add imt, an i2c-HID driver that sits between ihidev and hidmt
2016-01-20add the ability to set and get reportsJoshua Stein
establish interrupt before probing for devices to handle each report id sign an int, found by jsg
2016-01-20add hid_get_udataJoshua Stein
code from FreeBSD, name from NetBSD
2016-01-19Convert min() and uiomovei() to ulmin() and uiomove(),Stefan Kempf
preventing integer truncation. Diff from Martin Natano ok kettenis@
2016-01-19Convert min() and uiomovei() to ulmin() and uiomove().Stefan Kempf
Diff from Martin Natano ok kettenis@
2016-01-19Fix a race causing hardclock() to be sometimes invoked between the endAntoine Jacoutot
of cpu_configure() and initclocks(). from Miod no objection deraadt@
2016-01-19Mask interrupts on boot, masking/unmasking is handled by stop/initMike Belopuhov
2016-01-19Fix a few issues in the xnf transmit pathMike Belopuhov
A crash reported by Jonathon Sisson is caused by incorrect calculation of available descriptors on the tx ring. While here, split the mbuf chain so that we won't unload the whole thing in the txeof before removing grant table references from transmit descriptors.
2016-01-19Cast evtchn_mask to a char pointer for an isset operationMike Belopuhov
When testing evtchn_mask bits we need to treat the array as a bit matrix for an isset macro to test correct bits. Reported by reyk@ some time ago, Wei Liu <wei ! liu2 at citrix !com> figured out how to reproduce the problem. Thanks!
2016-01-19Check if the vnode type is VBAD (corresponds to disconnectedAlexandre Ratchov
usb devices) and return ENOTTY rather than terminating the caller program. Found by Michael Reed <m.reed at mykolab.com> ok semarie, deraadt
2016-01-19Correct the definitions of currently unused protocol guids so they willJonathan Gray
work as EFI_GUID initialisers. ok yasuoka@ krw@
2016-01-18Log unhandled interruptsMike Belopuhov
2016-01-18Provide a Xen v3 API compatible fallback for event channel hypercallsMike Belopuhov
2016-01-18Fixup a hang while performing a read operation on XenStoreMike Belopuhov
Reyk has reported an issue that turned out to be an incorrect calculation of bytes available for reading. This diff also places missed semaphore releases in the xs_start and makes 'left' a size_t in xs_ring_{get,put}.
2016-01-18Pass the address length to art_alloc() and remove the hack abusing theMartin Pieuchot
offset of the address in the sockaddr to initialize the stride lengths.
2016-01-18Add SYS_truncate as a "wpath" operation. Omission noticed by tb and sthen.Theo de Raadt
2016-01-18Stop storing a backpointer to the corresponding ART node in each routeMartin Pieuchot
entry. This pointer hasn't been used for some time and without it no external reference count is needed to turn art_lookup() mpsafe.
2016-01-17fix an off-by-one that could result in read operations not readingJoshua Stein
the last byte, depending on the timing
2016-01-17dwiic_i2c_{read,write} -> dwiic_{read,write}Joshua Stein
2016-01-17enable ikbd(4)Jonathan Gray
2016-01-17Take acpi_foundhid() outside of #ifndef SMALL_KERNEL so the ramdiskJonathan Gray
kernel can find and attach dwiic(4) and sdhc(4).
2016-01-17remove an unused global variableJonathan Gray
2016-01-16Attach secondary CPUs by coremask. This fixes a crash that happened ifVisa Hankala
the MP kernel was booted with coremask=1.
2016-01-16Panic if someone boots the kernel by force without CPU 0. The systemVisa Hankala
will not work without that core.
2016-01-15enable sdhc@acpi so emmc will be available at install timeJonathan Gray
ok kettenis@
2016-01-15In dwiic_acpi_foundhid() treat _STA missing as if all the bitsJonathan Gray
were set as per the acpi spec. ok kettenis@
2016-01-15Check _STA method to see whether te device is actually present. If not, makeMark Kettenis
the match function return 0 to prevent the driver from attaching.
2016-01-15Moxa CP-168U support; from Olaf SchreckTheo de Raadt
2016-01-15syncTheo de Raadt
2016-01-15Moxa CP-168U, from Olaf SchreckTheo de Raadt
2016-01-15intr_barrier for sh/landisk; tobiasu noticed the need as wellTheo de Raadt
2016-01-15Cleanup dmesg output, disable debugging; prodding and suggestions from reyk@Mike Belopuhov
2016-01-15Convert to uiomove(); from Martin NatanoStefan Kempf
ok millert@
2016-01-15Detach emulated network devices if Netfront driver is enabledMike Belopuhov
Xen doesn't provide a way for a guest to decide which model of the interface is selected in the VM configuration and therefore there's no simple way for Netfront and emulated devices to co- exist on the same system. Emulated em(4) or re(4) drivers will take over if xnf(4) driver is disabled or not compiled in. Idea and OK reyk
2016-01-15Move files.hid above files.i2c to fix armish buildTobias Ulmer
2016-01-15Improve the socket panic messages further. claudio@ wants to seeAlexander Bluhm
the socket type and dlg@ is interested in the pointers for ddb show socket. OK deraadt@ dlg@
2016-01-15KASSERT on refcnt underflow.David Gwynne
ok mpi@ bluhm@
2016-01-15print TAILQ_NEXT(so, so_qe) tooDavid Gwynne
2016-01-15add a "show socket" command to ddbDavid Gwynne
should help inspecting socket issues in the future. enthusiasm from mpi@ bluhm@ deraadt@
2016-01-15when enabling the controller, wait till CSTS.RDY lights up.David Gwynne
2016-01-15feng shui.David Gwynne
dont need a billion tabs for the function prototypes. just some akward line wrappings.
2016-01-15fix calculation of the max queue entries supported valueDavid Gwynne
2016-01-15handle the version register like ahci.David Gwynne
2016-01-15wrap up dma syncs for the whole mapping.David Gwynne
2016-01-15rs_malloc() does not need to be castmmcc
2016-01-14Attach dwiic(4) on the Intel Bay Trail i2c controllers as well.Mark Kettenis
2016-01-14Several fixes for dwiic(4).Mark Kettenis
* Properly map bus space; using BUS_SPACE_MAP_PREFATCHABLE is not agood idea as it may lead to reordering or merging of register writes in the store buffer. * Properly implement the iic(4) operations in dwiic_i2c_exec(). * Keep timings set up by the firmware if the SSCN and FMCN methods aren't available. ok jcs@
2016-01-14Use I2C_F_POLL flag when acquiring and releasing the i2c bus in theMark Kettenis
interrupt handler. ok jcs@
2016-01-14When iterating over the report IDs to calculate the maximum size, takeMark Kettenis
into account the 2 bytes needed to store the length. Also make sure that we have at least wMaxInputLength bytes available for reading input reports. ok jcs@