summaryrefslogtreecommitdiff
path: root/sys/dev/usb
AgeCommit message (Collapse)Author
2008-10-14Change m_devget()'s outdated and unused "offset" argument: It isChristian Weisgerber
now the offset into the first mbuf of the target chain before copying the source data over. From FreeBSD. Convert drivers' use of m_devget(). Mostly from thib@. Update mbuf(9) man page. ok claudio@, thib@
2008-10-11For none interrupt endpoints call the xfer done function beforeMarcus Glocker
calling the xfer callback function to allow a device driver to immediately reschedule the same xfer. This e.g. improves performance for isoc high- fullspeed xfers (ehci). From NetBSD. OK phessler@
2008-10-09stop waiting for the printer to become ready, see PR 5427 for moreTheo de Raadt
information. Also explains PR 4124 and 5318
2008-10-08As the Option N.V. Globetrotter HSDPA Modem is not compatibleYojiro Uo
with ubsa(4), it is moved to umsm(4). ok jsg@, reported by Daniele Pilenga
2008-10-07In ehci_free_itd() replace LIST_INSERT_AFTER(LIST_FIRST(..), ..) withMarcus Glocker
LIST_INSERT_HEAD(..) to prevent a crash when the freelist is empty. From NetBSD.
2008-10-06Don't force multi transaction endpoints (>1024 bytes) down to singleMarcus Glocker
transactions. From NetBSD.
2008-10-04When closing the video stream switch back to default interface as lastMarcus Glocker
action. Shuts down the device gracefully.
2008-10-03Use ether_ioctl().Brad Smith
2008-10-03and.. another option device..Theo de Raadt
2008-10-03syncTheo de Raadt
2008-10-03another option hdspaTheo de Raadt
2008-10-03syncTheo de Raadt
2008-10-03Return ENOTTY for unknown ioctl's.Brad Smith
2008-10-02First step towards cleaning up the Ethernet driver ioctl handling.Brad Smith
Move calling ether_ioctl() from the top of the ioctl function, which at the moment does absolutely nothing, to the default switch case. Thus allowing drivers to define their own ioctl handlers and then falling back on ether_ioctl(). The only functional change this results in at the moment is having all Ethernet drivers returning the proper errno of ENOTTY instead of EINVAL/ENXIO when encountering unknown ioctl's. Shrinks the i386 kernels by.. RAMDISK - 1024 bytes RAMDISKB - 1120 bytes RAMDISKC - 832 bytes Tested by martin@/jsing@/todd@/brad@ Build tested on almost all archs by todd@/brad@ ok jsing@
2008-09-25Add 'default:' stanza to switch() to make clear that 'status' is alwaysKenneth R Westerback
initialized. From NetBSD. "won't hurt" miod@.
2008-09-23syncCan Erkin Acar
2008-09-23Add IDs for Philips SNU6500 to uath(4) ok damien@Can Erkin Acar
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.