summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb
Commit message (Collapse)AuthorAgeFilesLines
* Should have been part of recent commit:alfred2002-06-012-5/+3
| | | | | | | | Fix GCC warnings caused by initializing a zero length array. In the process, simply things a bit by getting rid of 'struct ng_parse_struct_info' which was useless because it only contained one field. But now I'm unbreaking compilation by adjusting these files to the recent netgraph change.
* Call destroy_dev in detach routine to cleanup properly otherwise wealfred2002-06-011-3/+8
| | | | | | | | | | | panic because of a repeat make_dev if/when the device is reattached to the system. Remove an "#if __FreeBSD__" in code that's nested under a "#if __NetBSD__" (*sigh*) Reported by: Seth Hettich <sjh@whiskey.ucf.ics.uci.edu> Tested by: Seth Hettich <sjh@whiskey.ucf.ics.uci.edu>
* NetBSD have adopted our usage of the DMAADDR macro:joe2002-05-283-12/+10
| | | | | | | | date: 2002/05/28 12:42:39; author: augustss; Change DMAADDR macro slightly. Update the $NetBSD$ tags to reflect this and make slight changes to usb_mem.h so that we're in sync with each other.
* Regen.joe2002-05-272-2/+16
|
* Add a couple of new aue ethernet adapters from NetBSD:joe2002-05-272-0/+4
| | | | | ELECOM LDUSBLTX IODATA USBETTXS
* Use aue_lookup for looking up devices.joe2002-05-262-86/+71
|
* Correct the usage of DMAADDR in a piece of '#if 0'd code. (The compilerjoe2002-05-261-1/+1
| | | | didn't pick it up.)
* MFNetBSD:joe2002-05-261-2/+2
| | | | | | | revision 1.124 date: 2002/05/26 03:10:02; author: minoura; state: Exp; lines: +3 -3 Clear done_head in the HCCA *before* acknoledging the interrupt. Driver lost some completed transfers under heavy loads.
* MFNetBSD: ohci.c (1.124), uhci.c (1.159), usbdi.c (1.100)joe2002-05-263-9/+9
| | | | | | | | | date: 2002/05/19 06:24:31; author: augustss; state: Exp; Update dma memory access API a little. NetBSD have adopted our way of using the KERNADDR macro. Update the revision tags to show that we're in sync, and remove the casts that they did in their adaptation.
* Fix a panic by allocating the iface structure locally in the attachjoe2002-05-232-3/+14
| | | | function instead of in usb_probe_and_attach.
* Reflect some changes in the NetBSD code path, and sligh adjustments to ours.joe2002-05-231-4/+7
| | | | (Non-functional changes).
* Sync with NetBSD. (Non functional changes).joe2002-05-221-9/+9
|
* Fix a bug: Use USBD_DEFAULT_INTERVAL instead of USBD_DEFAULT_TIMEOUTjoe2002-05-221-1/+1
| | | | in a call to usbd_open_pipe_ival.
* Regen after changing Device ID string for DaisyTech devices.sobomax2002-05-202-4/+4
| | | | MFC after: 1 week
* Change Device ID string for DaisyTech devices.sobomax2002-05-201-1/+1
| | | | | Submitted by: Olexander Kunytsa <kunia@istc.kiev.ua> MFC after: 1 week
* MFNetBSD: Bring in the most recent NetBSD and OpenBSD parts.joe2002-05-091-14/+107
|
* Use usb_callout_init() instead of directly calling callout_init() withpeter2002-05-091-1/+1
| | | | | | NetBSD's expected arguments. This unbreaks the kernel compile. Pointy hat to: joe
* MFNetBSD:joe2002-05-091-1/+3
| | | | | | | | | | | | | | | | revision 1.43 date: 2001/04/12 01:39:04; author: thorpej; state: Exp; lines: +2 -2 Switch to USB_USE_SOFTINTR. The callout hack does indeed work fine for systems without generic soft interrupts, even if it is a little sub-optimal. Consider it a penalty for ports not implementing a kernel API. Addresses kern/11957. The PR has been open for 4 months, and I have work blocked on the continued existence of splimp() in the networking code. The NetBSD patch only switches it on for NetBSD, but I've also switched it on for FreeBSD in this commit.
* MFNetBSD: ugen.c (1.57), ulpt.c (1.48), usb.c (1.67), usbdi.c (1.96),joe2002-05-067-28/+27
| | | | | | | | usbdi.h (1.60) (and local changes compatibility changes to ufm.c and urio.c) date: 2002/02/11 15:11:49; author: augustss; Give usbd_do_request_flags() an extra argument for the timeout.
* MFNetBSD:joe2002-05-021-1/+4
| | | | | | | | revision 1.94 date: 2001/12/30 20:26:59; author: augustss; state: Exp; lines: +5 -2 Make sure we don't have any pending softintrs when entering polling mode. Thanks to Darrin for finding and fixing this problem when using USB keyboards in DDB.
* Some non-functional changes to make the differences between NetBSD'sjoe2002-04-291-31/+35
| | | | and our version clear to see.
* Regen after rev.1.89 of usbdevs.sobomax2002-04-292-2/+2
|
* Change Device ID string for DaisyTech devices to be more sensible.sobomax2002-04-291-1/+1
| | | | | PR: 37197 Submitted by: Olexander Kunytsa <kunia@istc.kiev.ua>
* Move the new byte order function prototypes from <sys/param.h> tomike2002-04-262-0/+2
| | | | <sys/endian.h>. This puts us in line with NetBSD and OpenBSD.
* Add a power exceeded debug message.joe2002-04-251-1/+2
| | | | Update the $NetBSD$ ident to match reality.
* MFNetBSD:joe2002-04-251-2/+2
| | | | | | revision 1.96 date: 2001/11/22 21:59:33; author: augustss; state: Exp; lines: +3 -3 Correct a comment.
* MFNetBSD:joe2002-04-251-5/+38
| | | | | | revision 1.95 date: 2001/11/20 16:09:01; author: augustss; state: Exp; lines: +39 -6 Sanity check max packet lengths.
* MFNetBSD:joe2002-04-251-2/+9
| | | | | | revision 1.94 date: 2001/11/20 13:50:07; author: augustss; state: Exp; lines: +16 -9 Update for new speed handling.
* Revert part of revision 1.49 which was supposed to be white spacejoe2002-04-171-1/+1
| | | | | only. In the device probe we don't want to match unless there is an iface structure already set up.
* Make this compile again when UMASS_DEBUG isn't defined.jhb2002-04-111-0/+2
|
* Delay umass_cam_rescan by 200 ms to make sure attach is finished by then_hibma2002-04-111-3/+12
| | | | | | | | time we tell CAM to rescan the bus. Together with the previous patch this should avoid the problem where the devices would wedge because they got spoken to over two different pipes. Tested by: Tomas Pluskal <plusik@pohoda.cz>
* Postpone I/O to the device until attach has finished. This fixesn_hibma2002-04-101-21/+23
| | | | | | | | | | | | | attachment after boot in some cases where the device gets confused if spoken to over two different pipes simultaneously (resulting in TIMEOUT errors on requesting INQUIRY data). This solution is far from perfect, as after umass_attach has returned the USB stack fetches the string descriptors in order for creating the event that is sent to userland. It just makes the chances of collisions less likely. Tested by: Tomas Pluskal <plusik@pohoda.cz>
* Slight tidy up to reduce the differences between our version and NetBSD's.joe2002-04-091-9/+9
| | | | (No functional changes).
* Lock down Giant in the usb_task_thread() kthread.joe2002-04-081-0/+4
|
* Regenerate.joe2002-04-082-2/+9
|
* Add an entry for HP LaserJet 1200.joe2002-04-081-0/+1
|
* General white space cleanup, to synchronise with NetBSD.joe2002-04-071-26/+36
|
* MFNetBSD:joe2002-04-071-3/+3
| | | | | | | | revision 1.157 date: 2002/03/16 16:13:41; author: tsutsui; state: Exp; lines: +4 -4 Fix a couple of typo: - s/ehci/uhci/ (in unused arg of macro) - s/ohci/uhci/ (in panic message)
* MFNetBSD:joe2002-04-071-2/+2
| | | | | | revision 1.156 date: 2002/03/04 00:53:33; author: augustss; state: Exp; lines: +3 -3 Use the correct pointer for the timeout abort.
* MFNetBSD:joe2002-04-071-8/+7
| | | | | | revision 1.155 date: 2002/02/27 12:42:41; author: augustss; state: Exp; lines: +8 -8 Move the interrupt bailout when a cancelled ii is found.
* MFNetBSD:joe2002-04-071-8/+13
| | | | | | | revision 1.154 date: 2002/02/27 12:12:45; author: augustss; state: Exp; lines: +14 -9 Remove spurious splusb(). Lower abort hardware wait.
* MFNetBSD: uhcireg.h (1.15), uhcivar.h (1.33)joe2002-04-072-2/+5
| | | | | date: 2002/02/11 11:41:30; author: augustss; Switch to new abort mechanism.
* MFNetBSD:joe2002-04-071-23/+67
| | | | | | | revision 1.153 date: 2002/02/11 11:40:33; author: augustss; state: Exp; lines: +67 -26 Switch to the same abort mechanism as in [eo]hci; it should be more robust.
* MFNetBSD:joe2002-04-071-2/+2
| | | | | | | revision 1.151 date: 2002/01/27 23:00:34; author: augustss; state: Exp; lines: +3 -3 Use M_WAITOK instead of M_NOWAIT when allocating extra descriptors. Spotted by OpenBSD.
* MFNetBSD: hid.c (1.22), uhci.c (1.150), usb_subr.c (1.97)joe2002-04-073-7/+5
| | | | | date: 2002/01/14 13:23:37; author: tsutsui; Call malloc(9) with M_ZERO flag instead of memset() after malloc().
* MFNetBSD: uhid.c (1.45), ums.c (1.49), usbdi_util.c (1.35), usbdi_util.h (1.23)joe2002-04-074-16/+15
| | | | | date: 2001/10/26 17:58:21; author: augustss; s/usbd_alloc_report_desc/usbd_read_report_desc/
* MFNetBSD:joe2002-04-071-3/+3
| | | | | | revision 1.44 date: 2001/09/15 16:16:28; author: yamt; state: Exp; lines: +3 -3 correct debug messages.
* MFNetBSD: uhid.c (1.42 & 1.43), ugraphire_rdesc.h (1.1)joe2002-04-072-3/+116
| | | | | | | | | | | | | date: 2000/12/29 01:47:49; author: augustss; Supply our own report descriptor (from Nick Hibma) for the Wacom Graphire. The descriptor it reports is broken. XXX Not tested, because I don't have the device. date: 2001/08/15 00:06:49; author: augustss; state: Exp; lines: +3 -1 If there was a vendor+product locator match return a higher match value. Rationale, if you have a device (e.g., a mouse) with a more specific driver but want to recognize it with the more generic driver you can do that by supplying vendor and product locators for the generic one.
* Update $NetBSD$ idents.joe2002-04-072-2/+2
|
* MFNetBSD:joe2002-04-071-2/+2
| | | | | | revision 1.148 date: 2001/11/21 12:25:55; author: augustss; state: Exp; lines: +3 -3 Fix typo in comment.
OpenPOWER on IntegriCloud