summaryrefslogtreecommitdiff
path: root/sys/dev
AgeCommit message (Collapse)Author
2008-07-23regenBrad Smith
2008-07-23Attansic L1E PCI id.Brad Smith
2008-07-23Correct cases of mishandling of pending reads and writes to preventBob Beck
them going negative - this consists of identifying a number of cases of IO not going through the buffer cache and marking those buffers with B_RAW - as well as fixing nfs_bio to show pending writes and reads through the buffer cache via NFS still has a problem with mishandling the counters I believe in the async/sync fallback case where counters stay positive which will be addressed seperately. ok tedu@ deraadt@
2008-07-23- Fix potential uvm_fault crash inMarcus Glocker
uvideo_vs_parse_desc_frame_uncompressed(). - If a VS alternate interface isn't valid (e.g. doesn't contain a UE_ISOCHRONOUS endpoint), abort attachment with a corresponding error message instead crashing the kernel. Tested and OK maja@
2008-07-23syncMarcus Glocker
2008-07-23Unbreak the tree.Marcus Glocker
2008-07-23syncTheo de Raadt
2008-07-23new ati goo; giovanniTheo de Raadt
2008-07-23move the aml_register_notify() call below for better debugging output.Federico G. Schwindt
marco@ ok.
2008-07-22There are devices out there which are UVC compatible, but do not showMarcus Glocker
up as this (we love standards). To make those devices attach anyway we add an explicit quirk device list. Of course this list still needs to be extended. Thanks to Jerome Pinot for reporting about this issue and testing this diff with his cam, which is such a device. OK yuo@
2008-07-22more negotation -> negotiation; ok sthen@Martynas Venckus
2008-07-22Spelling, negotation -> negotiation.Marcus Glocker
2008-07-22Fix uvm_fault crash in uvideo_vs_negotation() which was reported by someMarcus Glocker
users. Thanks to mpf@ for his help to debug this bug down.
2008-07-21syncDamien Bergamini
2008-07-21rename rt2860 pci ids to match with reality.Damien Bergamini
import some fixes for 1T2R adapters from the linux vendor driver.
2008-07-21instead of passing rx tstamp and rssi to the ieee80211_input function,Damien Bergamini
pass a pointer to an ieee80211_rxinfo structure containing those two fields plus an extra flags field that indicates whether the frame was decrypted by hardware or not. required for a future fix.
2008-07-21Add curproc to ioctl call.Marco Peereboom
Noticed by todd, proded by miod.
2008-07-21cleanup - we don't have resource structureKevin Lo
ok jsg@
2008-07-20fill in variant and version components of the UUIDDamien Miller
pretty-print the UUID in RFC4122 form
2008-07-20On TI cardbus bridges, enable PCI interrupt routing if the device has notMark Kettenis
been initialized by the firmware. This was probably the intention of the origional code, however, it used the wrong default value for the register in question. Add TI PCI1510 to the list of 12XX-compatible bridges. "be brave" deraadt@
2008-07-20Huawei E618 and E620 is not compatible with ubsa(4).Yojiro Uo
This patch moves these device to umsm(4). reported by Aleksander Piotrowski, ok jsg@
2008-07-20Add DIOCGPDINFO support. 'disklabel -d svnd0' now works.Kenneth R Westerback
2008-07-19Full rewrite of metadata handling. This fixes power failures and crashesMarco Peereboom
that caused illegal checksums. The new metadata code is more or less ready to deal with other vendor's metadata formats. While here clean up the name space. Fix thib's pool mess by adding removing bad flags in interrupt context. tested on macppc, amd64, i386, sparc64 & hppa sparc64 has issues with crypto however those do not seem to be softraid specific. help from okan@ ckuethe@ Will Backman and others
2008-07-19If a resolution which has been requested over VIDEO_TRY_FMT orMarcus Glocker
VIDEO_S_FMT doesn't exactly match the devices available resolutions, return the next best matching resolution which we have. Makes some V4L2 apps happy when running them with the default resolution (no options).
2008-07-19In interrupt handler change printf -> DRPINTF.Marcus Glocker
2008-07-18For negotation first get the devices default values (GET_DEF) insteadMarcus Glocker
asking for (GET_CUR) directly. This gets us better negotation values.
2008-07-18Implement VIDIOC_S_FMT and VIDIOC_TRY_FMT. Now V4L2 applications canMarcus Glocker
set their desired image size, and therefore users can manipulate the image size, too via the application. Also tested by brad@
2008-07-18o Use mbufs, for the RX ring, instead of malloc()'ing an MCLBYTES sized buffer.Thordur I. Bjornsson
o On non-strict alignment archs, dont copy the mbuf, every time, unload it, and send it up the stack and just get a new one for the rx ring. We still do the copy on strict alignment archs though... o create a function to handle mbuf allocation for the rx ring, vr_mbuf_alloc(), use it to allocate the mbufs and shuffle the bus dma setup around. ideas/code from vic(4) and sis(4); ok reyk@, brad@, dlg@ tested by many, been in snapshots for a while.
2008-07-18the Belkin F5D7010 version # is a RTL8185 cardbus device. thisReyk Floeter
chipset revision is not supported yet, so add it commented out.
2008-07-18syncReyk Floeter
2008-07-18Add Belkin Wireless G Notebook Card F5D7010 (rtw(4) RTL8185-based)Reyk Floeter
2008-07-18POLL causes concurrency issues with event driven batteries. Remove for nowMarco Peereboom
until I have time to implement proper fix. Noted by several folks.
2008-07-17Zero mbreg_t structure *before* initializing any members, not when we'reMark Kettenis
halfway through. Makes the ISP12160 correctly load its firmware again on sparc64. ok krw@
2008-07-17Add a flag and allow the driver to identify the BCM5788 chipsets. They'reBrad Smith
slightly different from the other chipsets using the BCM5705 ASIC. ok jsg@
2008-07-17Remove clause 3 from NetBSD license.Joel Sing
ok deraadt@
2008-07-17Increase the size of the diskinfo struct, which has grownJonathan Gray
4 bytes in the new firmware. To allow this to work on older firmwares add a "short read allowed" flag to arc_msgbuf(), which will allow short reads by getting the read length from the header of the response the firmware sends. Only set the flag on the arc_msgbuf() call that deals with the diskinfo struct for now. Discussed with and ok dlg@
2008-07-16Add a new parameter to pckbc_cnattach(): flags to put in the pckbc bowels.Miod Vallat
For now, only one such flag is defined, PCKBC_CANT_TRANSLATE. It hints pckbc that the device does not behave correctly to the ``set translation'' commands. Set this flag if we are running on a Tadpole Ultrabook machine, which needs it. This makes the built-in keyboard work correctly on this laptop (with the help of the software translation pckbd diff). tested & ok kettenis@
2008-07-16If pckbc_xt_translation() fails, do not try to force the keyboard in tableMiod Vallat
1; instead, try table 2 first, then 1: some older keyboards, connected to a castrated 8042, do not know how to talk in table 1 (or worse, will report they do while they don't). If automatic translation is not possible, remember which table the keyboard ended configured in, and convert the scancodes from table 2 to table 1 if necessary. ok kettenis@
2008-07-16It is no longer necessary to regen gsckbdmap after changing this file.Miod Vallat
2008-07-16Enable the read DMA engine's PCI read request burst length long burstBrad Smith
mode (4KB) for PCIe chips. This resolves the poor TX performance for the PCIe chips. The result being a bit under double the TX performance on a Gig connection (roughly 495 Mb/s -> 940 Mb/s). Tested by reyk@, sthen@, brad@ and a few end users.
2008-07-15Backout rev 1.162. This change made us muck with with pci config space atMark Kettenis
address 0x1a and 0x1e, and that's not where the PCIe capability stuff lives. Potentially it was mucking with an IO BAR (super dangerous). But probably it was achieving nothing at all. ok dlg@, marco@, brad@
2008-07-15Remove some debug code that i forgot to remove in a previous commit.Owain Ainsworth
Pointed out by Chris Cappuccio, thanks!
2008-07-15Adapt some code from the FreeBSD driver required to makeJonathan Gray
newer PCI Express adapters (ie 8168C*/8102*) work. V2 Checksum offload format in RTL8102 devices not yet supported. No objections from brad@. Thanks to everyone who tested.
2008-07-15theres no need too m_adj() the mbuf by 8bytes (u_int64_t) inThordur I. Bjornsson
sis_newbuf(), so remove the call. ok and lots of prodding dlg@, brad@
2008-07-14Make VIDIOC_ENUM_FMT list all available formats for the attached device.Marcus Glocker
2008-07-14Finish support for uncompressed payloads (UDESCSUB_VS_FORMAT_UNCOMPRESSED).Marcus Glocker
2008-07-13Spacing.Marcus Glocker
2008-07-13Save format and frame descriptors to a format group structure so weMarcus Glocker
can use them later for stuff like VIDIOC_S_FMT (e.g. set custom resolution).
2008-07-13Add some additional hardware revisions from FreeBSD needed forJonathan Gray
upcoming changes and sort list.
2008-07-12reference vmt (openbsd) rather than vmware (xorg)Chris Kuethe
ok dlg