summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb
Commit message (Collapse)AuthorAgeFilesLines
* in ulpt_reset() req.bmRequestType was unitialized, fix it.alfred2002-02-261-0/+1
|
* Merge from NetBSD:joe2002-02-262-16/+13
| | | | | | | | | | | | | usb.h (rev 1.61): date: 2002/01/01 14:23:37; author: augustss; Add a missing subclass definition. usb.h (rev 1.63) and usb_port.h (rev 1.52): date: 2002/02/25 00:46:37; author: augustss; Some portability improvement. Add define for usb.h version.
* Prefix structure members to protect them against clashes with eg.alfred2002-02-206-125/+125
| | | | | | | | | c++ keywords. This keeps us in sync with NetBSD because they actually committed my delta first. Ok'd by: lennard
* Clean up some debugging output.n_hibma2002-02-191-9/+26
| | | | Add function to display the CBI command block.
* Merge from NetBSD:joe2002-02-191-4/+13
| | | | | * rev 1.47: Update a URL * rev 1.56: Keep track of device speed for USB 2.0.
* Fix a formatting error.joe2002-02-171-6/+6
|
* KNF style the code, ready for an MFC.joe2002-02-171-54/+64
|
* KNF style the code, ready for an MFC.joe2002-02-171-38/+41
|
* Merge from NetBSD:joe2002-02-165-16/+21
| | | | | | Pave the way for USB2, by replacing 'lowspeed' with 'speed', so that it can take the values USB_SPEED_LOW, USB_SPEED_FULL or in time USB_SPEED_HIGH.
* Re-add bmaj to the cdevsw's, but don't compile it in on -current.joe2002-02-156-0/+18
| | | | | This makes the code more portable between -current, -stable and the other BSDs.
* Fix a bug introduced in rev.1.40 which can cause systems to crash whengreen2002-02-141-7/+9
| | | | | detaching USB devices. Specifically, a variable which was not meant to be reused was, in fact, being reused.
* Regenerate.joe2002-02-142-2/+9
|
* Support the HP 5400C scanner.joe2002-02-142-0/+2
| | | | PR: kern/34783
* Rework revision 1.12, and wrap the bmaj entry with an #if doesn'tjoe2002-02-141-0/+3
| | | | | compile it in on FreeBSD-current, but does in all other cases (-stable, NetBSD, OpenBSD, etc).
* Reinstate revision 1.14. The empty uscannerioctl() was accidentlyjoe2002-02-141-6/+0
| | | | re-added during a recent NetBSD merge.
* 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
|
OpenPOWER on IntegriCloud