summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb
Commit message (Collapse)AuthorAgeFilesLines
* Fix some bugs in the ohci driver with respect to irq setup failure.joe2002-02-111-3/+4
| | | | Submitted by: nyan
* Merge from NetBSD: revs 1.89 and 1.90.joe2002-02-111-0/+16
| | | | | | | | | | | | | | | | Also, add some 'const's to supress warnings. (Submitted back to NetBSD). The original logs from NetBSD: ---------------------------- revision 1.90 date: 2001/12/03 01:47:12; author: augustss; lines: +4 -4 Handle vendor/product lookup with a common routine. ---------------------------- revision 1.89 date: 2001/12/02 23:25:25; author: augustss; lines: +18 -2 Add a subroutine to search for a vendor/product pair. ----------------------------
* Regenerate.joe2002-02-112-2/+30
|
* Merge from NetBSD.joe2002-02-112-1/+29
| | | | | | | | | | | | | | | | | | | | | | | | Add lots of new scanner devices: AGFA SNAPSCAN1236U AGFA SNAPSCANE40 AGFA SNAPSCANE50 AGFA SNAPSCANE20 AGFA SNAPSCANE25 AGFA SNAPSCANE26 AGFA SNAPSCANE52 CANON N656U HP 3400CSE SCANLOGIC 336CX MUSTEK BEARPAW1200F MUSTEK 600USB MUSTEK 1200USBPLUS NATIONAL BEARPAW2400 EPSON 640U EPSON 1650 EPSON GT9700F UMAX ASTRA3400 ULTIMA 1200UBPLUS
* Quiet a qualifier warning.joe2002-02-111-1/+1
|
* Merge from NetBSD: revs 1.55 and 1.56joe2002-02-111-0/+9
| | | | | | | | | | | | | | Original NetBSD logs: ---------------------------- revision 1.56 date: 2001/12/03 01:47:12; author: augustss; lines: +5 -3 Handle vendor/product lookup with a common routine. ---------------------------- revision 1.55 date: 2001/12/02 23:25:25; author: augustss; lines: +8 -1 Add a subroutine to search for a vendor/product pair. ----------------------------
* Merge from NetBSD: revs 1.12 and 1.21 - 1.23joe2002-02-111-125/+143
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Original NetBSD log messages are: ---------------------------- revision 1.23 date: 2001/12/12 15:48:18; author: augustss; lines: +132 -114 Add a scanner quirk for keeping the pipes open between device opening. Idea from Enami. ---------------------------- revision 1.22 date: 2001/12/03 01:47:13; author: augustss; lines: +8 -16 Handle vendor/product lookup with a common routine. ---------------------------- revision 1.21 date: 2001/12/01 09:42:39; author: enami; lines: +4 -4 Shorten wmesg so that they can be distinguished in ps/top output. ---------------------------- revision 1.12 date: 2001/01/23 14:04:14; author: augustss; lines: +7 -1 Make sure driver attach/detach events are generated in a consistent manner. ---------------------------- PR: Submitted by: Reviewed by: Approved by: Obtained from: MFC after:
* ANSIfy the function declarations, in line with NetBSD.joe2002-02-111-33/+8
|
* Merge from NetBSD: revs 1.43 + 1.45joe2002-02-111-5/+25
| | | | | | | | | | | | | From the NetBSD logs: revision 1.45 date: 2001/11/29 11:07:12; author: augustss; state: Exp; lines: +12 -2 Plug a memory leak in an error case. ---------------------------- revision 1.43 date: 2001/10/19 15:30:25; author: nathanw; state: Exp; lines: +5 -3 Match printers that report their interface as IEEE 1284 in addition to bidirectional.
* Fill in the uhci_dump_ii function (from NetBSD).joe2002-02-101-6/+49
|
* Make LINT compile after fruitless attempts to get the authorsjulian2002-02-061-0/+6
| | | | | | | | | to fix their code. ata stuff: Change name of ar_attach to not colide with existing ar_attach in if_ar.c. usb stuff: Create a dummy function to satisfy a call to it when in DEBUG mode.
* Follow NetBSD and ANSIfy the function definitions.joe2002-02-033-343/+232
| | | | Remove trailing whitespaces (submitted to NetBSD).
* Regenerate.joe2002-02-022-503/+615
|
* Update comments and product identifiers so that they're the samejoe2002-02-021-12/+12
| | | | as NetBSD's definitions.
* Add some missing usb vendors (from NetBSD).joe2002-02-021-0/+16
|
* Sync with NetBSD's version, dropping all the 'ltd', 'corp', etc.joe2002-02-021-140/+140
| | | | | | It's more important to keep this file easily syncable across the BSDs, and NetBSD have stated a preference for not adding them to theirs.
* Add support of PhotoClip USB Camera (http://www.myphotoclip.com):sobomax2002-01-313-0/+20
| | | | | | | | | - Vendor&Device IDs for USB product, - quirk for SCSI CAM. PR: 34481 Submitted by: Olexander Kunytsa <kunia@x-telecom.net> MFC in: 3 days
* Merge from NetBSD.joe2002-01-286-21/+55
| | | | | | | | | | | | | | | | | | | | uhub.c: revision 1.37 usb.4: revision 1.30 usb.c: revision 1.38 usb.h: revision 1.40 usb_port.h: revision 1.21 usb_subr.c: revision 1.65 usbdi.h: revision 1.40 Split the attach/detach events up into device, driver and controller attach and detach events. The commit message from NetBSD was: date: 2000/02/02 07:34:00; author: augustss; state: Exp; Change the USB event mechanism to include more information about devices and drivers. Partly from FreeBSD. Also rework usbd to take these new event types into account.
* Rearrange the code in USB_DETACH, so that it's like NetBSD's. Nojoe2002-01-261-6/+6
| | | | functional change.
* Back out the last commit. I committed the wrong file by accident.joe2002-01-261-39/+14
| | | | | The commit message wasn't relevant to that change. This code will be committed later.
* Rearrange the code in USB_DETACH, so that it's like NetBSD's.joe2002-01-261-14/+39
| | | | No functional change.
* Update the $NetBSD$ ident.joe2002-01-261-1/+1
|
* Reduce the diffs between NetBSD and our version where appropriatejoe2002-01-261-5/+6
| | | | (comments, etc.)
* Merge from NetBSD:joe2002-01-261-0/+6
| | | | | | | | | | usb.c: revision 1.39 revision 1.39 date: 2000/02/22 11:30:56; author: augustss; lines: +7 -1 Prepare a little for having USB interrupt processing done outside the hard interrupt level (in a thread or a softintr). No real soft processing done yet.
* Merge from NetBSD:joe2002-01-261-1/+1
| | | | | | | | | | usb.c: revision 1.41 revision 1.41 date: 2000/03/16 00:46:38; author: augustss; lines: +2 -2 Make the USB event queue longer. Mine overflows before the (user-land) event handler has started. But then I have about 25 devices connected. :)
* Update the $NetBSD$ ident to show that some patches have been appliedjoe2002-01-262-2/+2
| | | | in the past.
* Merge from NetBSD:joe2002-01-265-25/+78
| | | | | | | | | | | | | | | | | | ohci.c: revision 1.72 and 1.73 ohcivar.h: revision 1.19 and 1.20 uhci.c: revision 1.85 usbdi.h: a small part of revision 1.40 usbdivar.h: revision 1.47 Relevant commit messages from NetBSD are: date: 2000/02/22 11:30:54; author: augustss; state: Exp; Prepare a little for having USB interrupt processing done outside the hard interrupt level (in a thread or a softintr). No real soft processing done yet. ---------------------------- date: 2000/02/01 05:42:53; author: augustss; state: Exp; Put some #ifdefs around power and shutdown hooks.
* Merge from NetBSD:joe2002-01-242-5/+24
| | | | | | | | | | | | | | | | | | usb.c: -r1.35 - 1.37 usb_port.h: tiny bit of -r1.26 + an extra bit in the FreeBSD config section. revision 1.37 date: 2000/01/24 18:35:51; author: thorpej; state: Exp; lines: +7 -1 Use config_pending. ---------------------------- revision 1.36 date: 1999/12/22 23:54:09; author: augustss; state: Exp; lines: +2 -2 Use the flags `locator' to govern if devices are detected early or late during cold boot. ---------------------------- revision 1.35 date: 1999/12/20 02:12:23; author: augustss; state: Exp; lines: +8 -5 Make sure tsleep() is not called during cold boot.
* 1) Fix a debug statement by filling in its data before the printf inguido2002-01-241-3/+72
| | | | | | | | | | stead of after 2) Honour NO_TEST_UNIT_READY quirk for atapi devices as well 3) Actually support FujiFilm FinePix 6800 camera's. Will very likely also work for other FinePix models. Based on a debug session about half a year ago with Nik Hibma. MFC after: 2 weeks
* Merge from NetBSD:joe2002-01-212-18/+17
| | | | | | | | | | | | | | | | | | | | | | | | | ohci.c: -r1.69 to 1.71 ohcireg.h: -r1.14 Some of these deltas are based upon patches that we submitted back to NetBSD. They got manifested slightly differently though, so I've brought back those differences to bring our code bases closer together. The logs from the NetBSD version of ohci.c: revision 1.71 date: 2000/02/01 05:42:52; author: augustss; state: Exp; lines: +13 -2 Put some #ifdefs around power and shutdown hooks. ---------------------------- revision 1.70 date: 2000/01/31 22:35:13; author: augustss; state: Exp; lines: +7 -7 Rename TAILMASK to HEADMASK, since it really masks the head pointer. From FreeBSD. ---------------------------- revision 1.69 date: 2000/01/31 22:09:13; author: augustss; state: Exp; lines: +18 -14 Change where the has table for physical-to-virtual address translation is handled. Partly from FreeBSD.
* Merge from NetBSD:joe2002-01-212-4/+12
| | | | | | | | | ohci.c: -r1.68 ohcireg.h: -r1.13 date: 2000/01/31 20:17:25; author: augustss; state: Exp; Fiddle with over-current protect when turning on port power to make things work for some OHCI controllers.
* Merge from NetBSD:joe2002-01-211-2/+10
| | | | | | revision 1.65 date: 2000/01/25 12:06:21; author: augustss; state: Exp; lines: +10 -2 Add done method for root control transfers.
* Merge from NetBSD:joe2002-01-211-2/+8
| | | | | | revision 1.84 date: 2000/01/28 00:44:27; author: augustss; state: Exp; lines: +9 -2 Add uhci_root_ctrl_done() method.
* Merge from NetBSD:joe2002-01-212-2/+25
| | | | | | | | uhci.c: -r1.82 uhcivar.h: -r1.22 date: 2000/01/26 10:04:39; author: augustss; state: Exp; Try to avoid accessing the HC if it is dead. Suggested by mycroft.
* Remove some unused code, in line with NetBSD's version.joe2002-01-201-18/+0
|
* Merge from NetBSD:joe2002-01-201-1/+16
| | | | | | | revision 1.125 date: 2000/09/23 21:00:10; author: augustss; state: Exp; lines: +19 -3 Avoid "bandwidth reclamation" for control transfers. The kue device chokes on it.
* Merge from NetBSD:joe2002-01-202-2/+41
| | | | | | | | | | uhci.c: -r1.124 uhcireg.h: -r1.13 date: 2000/08/13 18:20:14; author: augustss; state: Exp; Fix race condition when unlinking xfers. Thanks to IWAMOTO Toshihiro <iwamoto@sat.t.u-tokyo.ac.jp> for analyzing the problem and suggesting a fix. Fixes PR 10662.
* Merge from NetBSD:joe2002-01-202-49/+162
| | | | | | | | | | | | uhci.c: -r1.123 (and a tiny bit of -r1.92) uhcivar.h: -r1.32 date: 2000/08/13 16:18:09; author: augustss; state: Exp; Implement what in Intel-speech is known as "bandwidth reclamation". It means that we continously poll USB devices that have a pending transfer instead of polling just once every ms. This speeds up some transfers at the expense of using more PCI bandwidth.
* Merge from NetBSD:joe2002-01-202-22/+23
| | | | | | | | uchireg.h: -r1.12 uchi.c: -r1.121 date: 2000/07/23 19:43:38; author: augustss; state: Exp; Be a little more explicit and careful about setting links in TDs and QHs.
* Staticise a couple of things that shouldn't be leaked into thejoe2002-01-082-2/+2
| | | | | | kernel namespace. Submitted by: msmith
* unbreak -current (at least on my cvsups all today)julian2002-01-031-2/+0
|
* Regenerate.joe2002-01-032-2/+9
|
* Add a new linksys ethernet adapter: USB_PRODUCT_LINKSYS_USB10TX2.joe2002-01-032-0/+2
|
* Add some missing prototypes.joe2002-01-031-9/+3
| | | | Remove some diagnostics that aren't relevant yet.
* Sync with NetBSD:joe2002-01-031-81/+143
| | | | | | | * White space changes. * Updates to comments. * Replace some delay() calls with usb_delay_ms(). * Replace 0's with NULL's.
* Merge from NetBSD:joe2002-01-032-9/+12
| | | | | date: 2001/08/06 15:15:08; author: augustss; state: Exp; Don't write back status bits that are cleared when written.
* Merge from NetBSD:joe2002-01-032-2/+3
| | | | | date: 2001/11/20 16:08:10; author: augustss; state: Exp; Use longer reset for root hubs (as told in the spec).
* Revert uio.uio_td back to uio.uio_procp, using a #define in usb_port tojoe2002-01-024-5/+7
| | | | do the right thing on -current.
* Sync with NetBSD. Non-functional changes that bring this filejoe2002-01-021-55/+25
| | | | | | closer to the NetBSD version. Reviewed by: md5
* Sync usb.h with NetBSD, apart from usb_device_info.speed, whichjoe2002-01-025-73/+155
| | | | | requires logic changes. For now leave it as usb_device_info.lowspeed. It will get addressed when the usb.c code is sync'd.
OpenPOWER on IntegriCloud