summaryrefslogtreecommitdiff
path: root/sys/dev
AgeCommit message (Collapse)Author
2010-04-04configure conversion for the correct direction. I guess no one hasJacob Meuser
ever tried recording big endian samples with fms.
2010-04-04avoid rounding the blocksize to 0Jacob Meuser
2010-04-03instead of returning EINVAL if an unsupported sample rate wasJacob Meuser
requested, just use a supported sample rate. makes paramter negotiation much easier. problem noted and patch tested on several sb(4) devices by J.C Roberts, thanks.
2010-04-03Set the RL_FLAG_MACSLEEP flag for the RTL8103E chipset.Stuart Henderson
Currently a noop as the code for RL_FLAG_MACSLEEP hasn't been added yet. From FreeBSD via Brad.
2010-04-03You cannot save a pointer to your attach arguments and expect it to pointMark Kettenis
somewhere meaningful later on. Save the PCI device tag instead and use it instead. ok miod@, jakemsr@
2010-04-03Add support for Nokia Internet Stick CS-15.Marco Pfatschbacher
Device and initial diff from Patrick Wildt. Thanks. OK jsg@
2010-04-03syncMarco Pfatschbacher
2010-04-03Add Nokia Internet Stick CS-15.Marco Pfatschbacher
OK jsg@
2010-04-03byteswap the cmdset word properly so we enable the right features onDavid Gwynne
bigendian archs.
2010-04-03remove some debug outputDavid Gwynne
2010-04-03dont allocate with M_TEMP and then free with M_DEVBUF. made even worse thatDavid Gwynne
this was done for every sensor update, which really screwed up the memory stats. noticed by deraadt@
2010-04-03add support for emulating the disk characteristics and disk limits vpdDavid Gwynne
pages. this if the first step in figuring out if disks use a different physical block size compared to the logical block size they present to the operating system.
2010-04-02add $OpenBSD$Jonathan Gray
2010-04-02SiS 190 ethernet driver ported from FreeBSD by Christopher ZimmermannTheo de Raadt
<madroach@zakweb.de>. SiS 191 is not verified to work yet because he does not have the hardware; if anyone has it, please contact him.
2010-04-02Remove parent/slave mode of rbus as nothing uses it.Jonathan Gray
ok kettenis, sgi usage of rbus_new_body() pointed out by miod
2010-04-01Add PCI_PRODUCT_ATI_RADEON_HD4500_M to the listRobert Nagy
2010-04-01Add more dell subids found in the windows driver.Jonathan Gray
ok marco@
2010-04-01Add H700 now that we know the subid...Marco Peereboom
2010-03-31Bring /dev/apm support in line with apm(4). Make the suspend button sendMark Kettenis
a suspend request event to apmd(8) instead of suspending immediately. Also keep track of whether /dev/apm and /dev/apmctl are currently open, such that we can still suspend immediately if apmd(8) isn't running. ok deraadt@, marco@, pirofti@, jsing@, oga@
2010-03-31Radeon HD2400 XT works. Tested by Dennis den Brok; thanks!Owain Ainsworth
2010-03-31update the inteldrm GEM interface to the newer version.Owain Ainsworth
This adds a couple of new ioctls and remove the I915_GEM_EXECBUFFER ioctl in exchange for EXECBUFFER2 which supports better tiling parameters. the original interface is removed since our GEM support will not support it. This temporarily breaks the build of libdrm_intel, this will be fixed in the next commit. discussed with matthieu@
2010-03-30Prevent the apmd/x races for good.Owain Ainsworth
When we hit suspend time, go through all wsdisplays on the system. if they are in mode MAPPED, but not MODE_DUMBFB then if possible do a full vt switch to a !mapped vt, and prevent switching back until resume time. This has to be called from MD code because this involves userland running so that X can run the vt switch signal handler. This way, any case where we are using the "poke registers from userland" model, we will not be on the hardware when we go down, so the kernel can actually handle thing properly. Tested on several acpi laptops (by kettenis@ and ian@), x40 (me and beck@ at LEAST) and zaurus (me). Maybe others, but if so I forgot who at this time.. Idea from deraadt somewhere over the Faroe Islands (I thought of a similar thing myself a while ago). Much prompting from him. Ok and comments miod@
2010-03-30Support Radeon Mobility HD3670; James Thackray. Thanks!Owain Ainsworth
2010-03-30syncOwain Ainsworth
2010-03-30Mobility Radeon HD3670, from James Thackray (first.last@gmail.com)Owain Ainsworth
2010-03-30Have bge_start check if there are less than 16 free send BDs and if notChristian Weisgerber
set IFF_OACTIVE and try again later. Previously bge(4) reserved 16 send BDs after loading DMA maps but the hardware only requires one reserved send BD. From FreeBSD, via Brad
2010-03-30Do not print ac97 link rate message unless debug is enabled.David Coppa
Adapted from NetBSD OK jakemsr@
2010-03-29Initialize various uninitialized variables. Found by jsg@ via Clang.Kenneth R Westerback
Feedback from miod@ and kettenis@. ok beck@
2010-03-29Add Radeon HD360 Mobility.Owain Ainsworth
Info from Mitja.
2010-03-29Don't try and idle the engine via the ring if the cp is not running.Owain Ainsworth
It means we've cleaned up the ring and bad things will happen (like panics) on X closedown. tested by (and ok) beck@
2010-03-28put the iosize next to the register definitionsTheo de Raadt
2010-03-28Driver for microguru sensor microcontroller found on ABIT motherboards.Theo de Raadt
Driver written by Mikko Tolmunen <oskari@sefirosu.org>
2010-03-28Completely overhaul optional metadata handling, allowing for multipleJoel Sing
optional metadata per volume and discipline specific optional metadata processing. ok marco@
2010-03-28tweak spacing a bit. This has been annoying me.Owain Ainsworth
2010-03-28Don't assign the same value to gatt->ag_size twice, also use ag_size inOwain Ainsworth
a later calculation instead of doing it *again* pointed out by miod quite some time ago.
2010-03-28Four uses of uninitialized variables found by clang via jsg@. ar5416, ar9287Kenneth R Westerback
and athn are only theoretically interesting. i33380211_node fixes a real bug in occupied channel detection. ok damien@
2010-03-28Correctly initialise variables to prevent possible free without malloc inJoel Sing
error path. Found by jsg@ using the clang static analyser.
2010-03-28Avoid potential null dereferences in ioctl paths.Joel Sing
Found by jsg@ using the clang static analyser. ok marco@
2010-03-28Replace a scsi_done() call with sr_scsi_done() which fixes a missingJoel Sing
splx() call. Found by jsg@ using the clang static analyser. ok marco@
2010-03-27replace a bunch of BAR wrangling code with calls to the pciJonathan Gray
code it was originally copied from. ok kettenis@
2010-03-27Add support for NetMos 9865 6-port serial cards.Mark Kettenis
From Alexander Frolkin.
2010-03-27regenMark Kettenis
2010-03-27Add NetMos 9865.Mark Kettenis
2010-03-27Give cardbus the pci_chipset_tag_t from pccbb and push it out throughJonathan Gray
cardbus_attach_args so we can switch to using proper pci config space functions instead of callback based wrappers. ok oga@ krw@ kettenis@
2010-03-27Bring back cardbus_chipset_tag_t which is in practice aJonathan Gray
pointer to the pccbb softc, to distinguish it from a pci_chipset_tag_t which can be passed to the normal pci functions. Suggested by and ok kettenis@
2010-03-27Correctly initialise variable to prevent free without malloc in error path.Joel Sing
Found by clang static analyser.
2010-03-27Fix TX power per rate settings.Damien Bergamini
Found by Yao Zhao (dragonlinux at gmail dot com)
2010-03-27aria(4) is an audio driver, but hasn't been compatible with audio(9)Jacob Meuser
for a long time (if ever?), so send it to the Attic. "with prejudice" miod@; GENERIC reminder from kettenis@
2010-03-27add mode switch code for Huawei K3765; much help from & ok jsg@Otto Moerbeek
2010-03-27syncOtto Moerbeek