summaryrefslogtreecommitdiff
path: root/sys/dev/usb
AgeCommit message (Collapse)Author
2008-09-21Add missing splnet to the ioctl handler.Brad Smith
ok jsg@
2008-09-15I forgot to sync the NetBSD Copyright 2004-2008 update. Fix it.Marcus Glocker
Spotted by stu@ and miod@
2008-09-15Sync ehci-isoc part a bit up with NetBSD:Marcus Glocker
- Sign over Jeremy Morse's copyright (who contributed ehci-isoc support) to NetBSD copyright but still mention him as contributor. OK'd by Jeremy Morse. - Update TODO list. - Clarify the error message in case when a low/full speed isoc device has been attached to ehci. - Add a missing break so that the isoc setup code doesn't access uninitialized microframe content which has been request by the driver but not been used. OK kevlo@
2008-09-10Convert timeout_add() calls using multiples of hz to timeout_add_sec()Bret Lambert
Really just the low-hanging fruit of (hopefully) forthcoming timeout conversions. ok art@, krw@
2008-09-08- don't leave nodes unconfigured, when setting alternate settingMartynas Venckus
fails. fixes my ups looked over by fgs@. ok sthen@
2008-09-08prevent mustek from attaching as uhid. ok theo, sthen@Martynas Venckus
2008-09-08syncTheo de Raadt
2008-09-08holtek; bigionews@snb.itTheo de Raadt
2008-09-08syncMartynas Venckus
2008-09-08add mustek powermust 800 ups; ok theo, sthen@Martynas Venckus
2008-09-08expand switch cases so they're not so ugly and easier to read.Brad Smith
ok deraadt@
2008-09-03regenStuart Henderson
2008-09-03housekeeping:Stuart Henderson
- remove extraneous spaces - better column alignment - sort vendors by vendor-id - sort products by vendor-id,device-id - group products by vendor-id rather than vendor-name - fix vendor-id for Motorola SB4100 (checked with vendor driver) ok brad@
2008-08-27syncTheo de Raadt
2008-08-27another upsTheo de Raadt
2008-08-27Some __packed cleanup; Remove another obsolete pack from a none-hardwareMarcus Glocker
struct and pack all other hardware structs which have been forgotten.
2008-08-27pass FCS to radiotap.Damien Bergamini
2008-08-27hardware may pass us ACK or CTS frames in some cases, so useDamien Bergamini
IEEE80211_ACK_LEN instead of IEEE80211_MIN_LEN for ZYD_MIN_RXBUFSZ and ZYD_MIN_FRAGSZ. silence some warnings while i'm there. change ZYD_FILTER_BSS to use the same value as the vendor's driver that contains some magic (undocumented) bits.
2008-08-27introduce new IEEE80211_STA_ONLY kernel option that can be set toDamien Bergamini
remove IBSS and HostAP support from net80211 and 802.11 drivers. it can be used to shrink RAMDISK kernels for instance (like what was done for wi(4)). it also has the benefit of highlighting what is specific to IBSS and HostAP modes in the code. the cost is that we now have two code paths to maintain.
2008-08-26another ups to knock out of being a uhidTheo de Raadt
2008-08-26syncTheo de Raadt
2008-08-26new devsTheo de Raadt
2008-08-26Fix alignment panic on sparc64 by removing a wrong __packed. WhileMarcus Glocker
there reorder fields in the struct to make it shorter on 64 bit archs. panic reported by jasper@ thanks to miod@ for helping me debug this down
2008-08-24Get VIDIOC_G_FMT working (makes ekiga happy).Marcus Glocker
2008-08-24Use consistent variable names; curr -> cur, err -> error.Marcus Glocker
2008-08-24Add support for processing unit (e.g. brightness) controls. New V4L2Marcus Glocker
ioctls therefore are VIDIOC_QUERYCTRL, VIDIOC_G_CTRL, and VIDIOC_S_CTRL.
2008-08-19syncTheo de Raadt
2008-08-19another rum; Jonathan LeeTheo de Raadt
2008-08-18use M_NOWAIT instead of M_WAITOK to cause malloc() to return NULLKevin Lo
ok mglocker
2008-08-16If dwMaxPayloadTransferSize doesn't exactly match to an existingMarcus Glocker
endpoint, pick the next higher endpoint bandwidth.
2008-08-16Spacing.Marcus Glocker
2008-08-16Sync ehci isochronous part with NetBSD:Marcus Glocker
- Fix check for maximum bInterval value. - Calculate frames/microframes values slightly different (but with mostly same result finally).
2008-08-14in ieee80211_input(), call if_start() after enqueuing frames in if_sndDamien Bergamini
when acting as an access point instead of having each driver doing the job. tested by krw@ (ral AP) and me with several drivers.
2008-08-13Add VIDIOC_ENUM_FRAMESIZES ioctl. This permits applications to query theMarcus Glocker
available formats and resolutions of a device (e.g. "luvcview -L").
2008-08-12Don't process xfers which have the stream error bit set in the streamMarcus Glocker
header.
2008-08-11Since we have ehci(4) isoc support now, don't demote USB2 uvideo(4)Marcus Glocker
devices to USB1, instead let them attach to ehci(4). This may break a couple of the devices for the moment, but it's the way we have to go finally.
2008-08-10Prepare for ehci:Marcus Glocker
- Remove GET_DEF request for negotation. It doesn't help, instead keep breaking devices. - On device close first switch back to default interface 0 before abort/close the isoc pipe. This fixes IOERRORs on device re-open.
2008-08-09Add isochronous xfer support for ehci(4). From NetBSD.Marcus Glocker
OK brad@
2008-08-09RegenMiod Vallat
2008-08-09Add the fr-dvorak-be'po layout as fr.dvorak for ps/2 and usb keyboards.Miod Vallat
This is only the simplified layout, which is final; the complete layout with extra symbols is still being discussed.
2008-08-09Revert last commit, it doesn't always help, we need to find anotherMarcus Glocker
solution.
2008-08-09Prepare for ehci: If GET_DEF request has failed, wait a moment beforeMarcus Glocker
issuing GET_CUR. Makes my NX6000 attach on ehci.
2008-08-08if we fail to extract the mbuf in the Rx routine, incrementThordur I. Bjornsson
the if_ierrors before bailing out; Turn a printf() that fires in this case too a DPRINTF since we the interface error counters now reflect this. OK mglocker@
2008-08-08syncReyk Floeter
2008-08-08add eMPIA Technology EeePC 701 camera (currently unsupported uvideo(4)Reyk Floeter
device)
2008-08-03revert part of rev. 1.65 where we set the address earlier. this seemsFederico G. Schwindt
to cause issues as per netbsd pr/39023. deraadt@ yuo@ ok.
2008-08-02Use correct terms as in the specs;Marcus Glocker
"fragment" gets replaced by "sample". "sample" gets replaced by "frame". A sample is a peace of a frame (final image). No functional changes. OK deraadt@
2008-08-02Better wording for a comment.Marcus Glocker
2008-08-02Spacing, sorting, and remove an unused prototype.Marcus Glocker
2008-08-02Woops, remove #undef which was committed by mistake.Marcus Glocker