summaryrefslogtreecommitdiffstats
path: root/sys/dev
AgeCommit message (Collapse)AuthorFilesLines
2014-03-20*** empty log message ***andre2-25/+29
2014-03-19When BatteryPresent flag is not set, invalidate battery-dependent sensors.andre1-20/+32
suggested by deraadt@ ok mpi@
2014-03-19spacingderaadt1-2/+2
2014-03-19Removing devices supported by upd(4) from quirks.andre1-4/+1
ok mpi@
2014-03-19Stop abusing the rcvif pointer to pass wireless nodes down to thempi23-83/+50
driver start routines. Instead add & use a pointer in the pkthdr since we don't want the overhead of using a mbuf_tags(9). claudio@ pointed out that other subsystems might want to use this pointer too, so here's a new cookie! ok claudio@, mikeb@, deraadt@
2014-03-19Add a temporary hack to let a subdriver claim all the reportIDs ofmpi11-42/+72
a device. This should be removed once all the drivers attaching to uhidev(4) are converted. ok andre@, sthen@
2014-03-18Remove timeout logic from the polling loop. It causes more problems than itkettenis1-12/+2
solves, and hopefully timeouts won't happen anymore now that we clear interrupts before checking the response in pointer. Fixes problems on my alpha where spinning up one of the disks takes longer than the timeout value.
2014-03-18Retire hp300, mvme68k and mvme88k ports. These ports have no users, keepingmiod2-47/+2
this hardware alive is becoming increasingly difficult, and I should heed the message sent by the three disks which have died on me over the last few days. Noone sane will mourn these ports anyway. So long, and thanks for the fish.
2014-03-18Properly clear and free the endpoint associated to a pipe. Do notmpi1-27/+40
forget to update the Endpoint Context with the last valid endpoint and free the device resources, including its slot, when the default pipe is closed. Device addresses can now be reused and I should be done with descriptor leaks.
2014-03-18<sys/agpio.h> is gonempi1-3/+1
2014-03-17Use the ci_inatomic flag here as well to "disable" page faults and providekettenis1-41/+31
the same implementations of kmap_atomic() and kunmap_atomic() as we have in i915_gem.c. These will be unified later.
2014-03-17The AGP ioctl interface is gone; remove the header file as well.kettenis10-21/+35
ok matthieu@
2014-03-17Add upd(4) to the tree, disabled. Please do not enable it yet.andre2-1/+323
At this moment upd(4) exposes data from usb-based uninterruptable power systems (or just USB Power Devices), sysctl(8) sensors (read snmpd(8) friendly), it is also an "in-base" alternative to other 3rdparty UPS-monitoring software, we have plans to bring more features. This is my first "something" into the tree. Lots of thanks: sthen@ and blambert@ are the ones to blame for the idea/challenge. mpi@ is the one whom pushed me to get it correct (from uhub -> uhidev). reyk@ mentored me on OpenBSD-way with previous iked/relayd experiences. ok mpi@, deraadt@ "get it in".
2014-03-17regenjasper2-2/+19
2014-03-17add vendor Red Hat and two devicesjasper1-1/+6
ok jsg@
2014-03-17fix memory leaks in error paths when setting up the gattjsg1-2/+5
ok kettenis@
2014-03-16Remove unused prototypes.kettenis1-6/+1
2014-03-16Move the logic to deal with devices with broken descriptors into itsmpi1-69/+69
own function and don't leave the driver half-configured if a children doesn't set the interrupt function. tested by jeremy@, ok andre@
2014-03-16Convert LED page defines to the common usage names patern, nompi2-16/+16
functionnal change. ok andre@
2014-03-16Patch up the firmware revision for the ISP1000 firmware since it doesn'tkettenis1-1/+8
return the proper version numbers. From isp(4).
2014-03-16Don't use volume keys when in raw-mode (this doesn't work), and letmpi1-17/+1
Xorg driver do the translation and handle them as regular keys. Fixes confusion caused by the volume being changed twice in contradictory ways: once by X programs and once by the ukbd(4) driver. ok ratchov@
2014-03-16drm/i915: Do not clobber config status after a forced restore of hw statejsg2-4/+4
From Chris Wilson 790dddadff219165a4666def708c16e8db2c5a7d in ubuntu 3.8 edd5b13313551d6b04acfb90d3db58ed3cf3c814 in mainline linux
2014-03-16regenjsg2-4/+24
2014-03-16Add Sitecom LN-032 from/tested by Fabian Raetz.jsg2-3/+11
While here add a few other AX88179 devices as well.
2014-03-15ISP1000 SBus support for qlw(4).kettenis4-89/+297
2014-03-15More ISP1000 (SBus) bits.kettenis4-18/+54
2014-03-15The ISP1000 firmware doesn't support the _A64 mailbox command variants. Sincekettenis2-4/+6
we don't actually need these as we always make sure our bus addresses fit into 32 bits, simply use the non-_A64 variants.
2014-03-15Only issue SET_FIRMWARE_FEATURES command if we actually have any firmwarekettenis1-2/+2
features to set. Needed for upcoming ISP1000 SBus support. Might help with running on older firmwares on PCI variants as well.
2014-03-15Fix pasto in error message.kettenis1-2/+2
2014-03-15Starting the spring cleanup.mpi1-25/+23
2014-03-15Remove debug leftover.mpi2-9/+3
2014-03-15Unify the *hci_timeout() functions, there should be no functional change.mpi3-36/+21
2014-03-15Add usage pages from usb HID Power Devices spec.andre1-3/+175
ok mpi@
2014-03-14Remove the userland AGP interface. Now that we have KMS, it is no longerkettenis1-193/+1
used by any of the remaining xenocara drivers. Except perhaps for the legacy i810 support in the xf86-video-intel driver. But i810 support has almost certainly been broken for more than a year now, and any remaining users are probably better off using the xf86-video-vesa driver ever since XAA support was removed from the X server. ok deraadt@, jsg@, mpi@
2014-03-14regenmpi2-2/+7
2014-03-14Add the ISY IWL 4000 a new urtwn(4) device, from Fabian Raetz andmpi2-2/+4
Peter J. Philipp.
2014-03-14Have some style.pirofti1-27/+27
Okay mpi@
2014-03-14use lemtoh64 and htolem64 for reading and writing entries in the rings.dlg2-15/+16
tested on sparc64 and powerpc with and without the MI backends for the lem ops enabled.
2014-03-13When polling for command completion, clear the interrupt before reading thekettenis1-3/+3
response queue in pointer register. Interrupts seem to be edge-triggered so if we don't do this we might miss command completions. Seems to fix the remaining issues on the 1040B as found on the Origin 200.
2014-03-13Update the _OSI list to include newer Redmond products which may be requestedbrynet1-1/+3
by newer firmware. May cause problems with brightness control on some systems. "lets see what happens" kettenis@, and.. deraadt@ agrees (..hopefully).
2014-03-13We no longer provide the dri1 agp interfaces, so remove the associated gluekettenis1-240/+2
as well. ok jsg@
2014-03-13Missed removing some bits with rev 1.147.brad2-21/+4
ok sthen@
2014-03-13Block userland from entering drm code (and make sure it is no longer in there)kettenis4-21/+126
before we truly start quiescing the device and don't unblock until we've finished waking the device up. Fixes issues with suspend/resume on inteldrm(4) and perhaps radeondrm(4) as well. i"it is the right place to stall" deraadt@
2014-03-13Decouple the sizes of the request and response queues, and reduce the size ofkettenis2-18/+27
the response queue to half the size of the request queue (with a minimum of 64 entries). This matches what isp(4) is doing and seems to be necessary for the onboard 1040B found on the Origin 200 (sgi).
2014-03-13Don't use volume keys when in raw-mode (this doesn't work), and letratchov1-7/+2
Xorg driver do the translation and handle them as regular keys. Fixes confusion caused by the volume being changed twice in contradictory ways: once by X programs and once by the pckbd(4) driver. ok deraadt, kettenis
2014-03-13get rid of the assumption that the head of the alldevs list is thedlg1-5/+6
"mainbus" device. this breaks when mpath is enabled because it attaches before mainbus and therefore takes the head position. have autoconf provide device_mainbus() which looks up mainbus_cd, and use that instead. discussed with deraadt who just wants mpath stuff to move forward despite there being many ways to shine this particular turd.
2014-03-12If a device is babbling do a full reset of the associated endpointmpi1-46/+102
before telling the stack/driver that the responsible transfer is done. Since the request sequence requires, in the present form, to submit two commands from the interrupt handler, modify the command routine to be able to submit asynchronous commands. I can now use my crappy urtwn(4) over xhci(4). While here convert some #if -> #ifdef, pointed out by brad@.
2014-03-11lint is gone, and the 'lint' conditional was never in the implementationguenther1-2/+2
namespace, so stop changing behavior when it's #defined ok beck@ krw@
2014-03-11Don't bitch about binding into stolen memory on older hardware either.kettenis1-1/+4
2014-03-11Kill dead links.mpi5-42/+5