summaryrefslogtreecommitdiff
path: root/sys/dev
AgeCommit message (Collapse)Author
2013-05-17Make it clear that the code related to a transfer submission doesn'tMartin Pieuchot
leak anything to userland because it doesn't set the USBD_SHORT_XFER_OK flag. Also prevent a bad copy/paste from introducing a similar issue by using the actual transferred length instead of the requested one in uiomove(). ok miod@
2013-05-17Don't leak information to userland in case the actual transfer length isMartin Pieuchot
smaller than the requested one. From ws@NetBSD via miod@. This problem can only occur when the USBD_SHORT_XFER_OK flag is set, otherwise completed transfers with a length smaller than the one submitted are treated as errors. ok miod@
2013-05-16burner supportMark Kettenis
2013-05-16attach to new RTL8188RU id, from Sigi RudzioStuart Henderson
2013-05-16syncStuart Henderson
2013-05-16add another RTL8188 id, from Sigi RudzioStuart Henderson
2013-05-15remove unused variableAlexandre Ratchov
2013-05-15sync the list of pre haswell intel video devices with linuxJonathan Gray
ok kettenis@
2013-05-15regenJonathan Gray
2013-05-15add some more Intel video devicesJonathan Gray
ok kettenis@
2013-05-15Introduce a global interrupt-aware mutex protecting dataAlexandre Ratchov
structures (including sound-card registers) from concurent access by syscall and interrupt code-paths. Since critical sections remain the same, calls to splraise/spllower can be safely replaced by calls to mtx_enter/mtx_leave with two exceptions: (1) mutexes are not reentrant (the inner splraise is thus removed), and (2) we're not allowed to sleep with a mutex (either msleep is used or the mutex is released before sleeping). ok and help from kettenis, a lot of work from armani
2013-05-15Add support for Intel E7221 integrated graphics.Mark Kettenis
ok jsg@
2013-05-12In wsdisplay_switchtoconsole(), make sure we really are the console beforeMark Kettenis
attempting to switch screens. On amd64/i386 the glass console gets initialised early even if a serial console has been set up by the bootloader. To add insult to injury, the glass console isn't properly "detached" and the MI wsdisplay(4) driver continues to believe it is the console. This should really be fixed, but is a nasty can of worms. ok miod@
2013-05-12Handle big (a.k.a. >2TB) disks by adding logic to handle the 12 and 16Kenneth R Westerback
byte scsi read/write commands. Issue pointed out by John Morrissey via bugs@. Problem reproduced and fix tested by sf@ on vioblk. ok sf@ kettenis@
2013-05-12fix use after free in case the mbuf needs defragmentationStefan Fritsch
This fixes a panic found by Matthieu Herrb. OK mikeb@
2013-05-11Another small tweak to get things close to Linux.Mark Kettenis
2013-05-11whitespaceMark Kettenis
2013-05-11Remove some #ifdef 0'd code that we're never going to use again.Mark Kettenis
2013-05-10bail if device_lookup doesn't find anything; brings vscsi(4)Mike Belopuhov
in line with other drivers. ok matthew
2013-05-09- use NETGEAR vendor ID for NETGEAR products, not LINKSYS.Miod Vallat
- add NETGEAR FA410TXC with 00:13:46 manufacturer part of the Ethernet address; tested by Riccardo Mottola, thanks!
2013-05-09A few more changes to reduce the diffs to the Linux code.Mark Kettenis
2013-05-09Add a #define such that we can say "struct drm_i915_private" to reduce theMark Kettenis
diffs with Linux.
2013-05-08The "locking" in i915_gem_object_move_to_inactive() makes no sense. Get ridMark Kettenis
of it. It's implemented using "simple" locks anyway, which are no-ops.
2013-05-08Move reset commands from that attach path to an own function.Marcus Glocker
Reset device on detach (required for planed usb device claiming). Tested with my uthum(4) device "TEMPer sensor(0x660c), Ten X Technology, Inc.(0x1130)". ok yuo@, mpi@
2013-05-08Maxime Villard reported an uninitialised variable access inJonathan Gray
intel_ddi_prepare_link_retrain(), turns out this is already fixed upstream by Syam Sidhardhan so take their patch. ok dcoppa@
2013-05-08fix some leaks in error pathsJonathan Gray
ok fgsch@ krw@ kettenis@
2013-05-08re-commit uthum_activate() removal, now that uhidev(4) can handle it.Stuart Henderson
testing by myself and mglocker@, ok mpi@
2013-05-07When deactivating child devices do not panic if their driver doesMartin Pieuchot
not implement an *activate() function. This could receive more love but is good enough for the moment to start cleaning useless *activate() functions. While here remove unused sc_dying argument. Tested by and ok mglocker@
2013-05-07fix a double free in an error pathJonathan Gray
reminded of this diff by a report from Arto Jonsson ok krw@ fgsch@
2013-05-06syncBrian Callahan
2013-05-06Revert Cavium Networks back to Cavium - it was right in the first place.Brian Callahan
Drop "Network Processor" off of OCTEON Plus CN50XX Network Processor, we don't need the extra characters. noticed by brad@ and jsg@
2013-05-06syncBrian Callahan
2013-05-06Add OCTEON Plus CN50XX Network Processor id.Brian Callahan
Rename Cavium to Cavium Networks. ok jasper@
2013-05-05Add nonblocking argument to i915_gem_object_pin() andMark Kettenis
i915_gem_object_bind_to_gtt().
2013-05-05Remove a supefluous check.Mark Kettenis
2013-05-05With KMS, the inteldrm_quiesce dance isn't needed anymore. Zap the code.Mark Kettenis
2013-05-05Remove some #ifdef'ed out code that's never going to get used again.Mark Kettenis
2013-05-04revert uthum_activate removal, it is needed in the detach path as found theStuart Henderson
hard way by mglocker@
2013-05-04In i915_alloc_ifp() and i965_alloc_ifp() use extent_alloc_subregion() to makeMark Kettenis
sure we allocate outside the Legacy Address Range. Gets rid of the "no ifp" warning on the x41.
2013-05-04- remove unused DPRINTFN, simple DPRINTF is enoughStuart Henderson
- sc_dying is unused, remove it and the uthum_activate() function suggested by mpi (for ugold, but applicable here too), ok mpi
2013-05-03break out the battery status into excruciating detail. makes it harder forDavid Gwynne
$VENDOR to complain about a lack of diagnostic material from their crappy mgmt tools if you're not running an operating system they support.
2013-05-02always attach the battery sensor if the adapter lets us query it.David Gwynne
newly replaced batteries dont show up immediately.
2013-05-01provide a sensor for the battery backup unit (bbu) on mfi boards thatDavid Gwynne
support it. now i can tell (a bit better) why io might be slow on some of my boxes.
2013-05-01there's some extra bits for the bbu status that freebsd dont have. provideDavid Gwynne
a %b thing for them too. now i just have to figure out how to represent this nicely: mfi0: fw_status 0xc00<REPLACE_PACK,CAPACITY_LOW> :(
2013-05-01provide a couple of %b things for mfi_hw_present and mfi_adapter_ops cosDavid Gwynne
im somehow too lazy to read a %x and look for a couple of bits set, but not lazy enough to not write a %b thing.
2013-05-01dont need to walk alldevs during sensor creation looking for the logicalDavid Gwynne
disk scsibus when we record that in mfi_attach. also happens to get rid of a logic error that let it come out of the loop on alldevs with a reference to something that wasnt the logical disk scsibus and use that.
2013-04-30Clear the right pixels when scrolling backwards.Mark Kettenis
Fixes issue reported by tedu@
2013-04-30white space tweakDavid Gwynne
2013-04-30white space fixesDavid Gwynne
2013-04-30use MR_DCMD consistently. some MD_DCMD was in there somehow.David Gwynne