Josef Karthauser
46c8c4207d
Staticise a couple of things that shouldn't be leaked into the
...
kernel namespace.
Submitted by: msmith
2002-01-08 10:32:33 +00:00
Julian Elischer
cd3aa54df0
unbreak -current (at least on my cvsups all today)
2002-01-03 23:33:44 +00:00
Josef Karthauser
baf99b5458
Regenerate.
2002-01-03 18:58:08 +00:00
Josef Karthauser
fdf0d9cf25
Add a new linksys ethernet adapter: USB_PRODUCT_LINKSYS_USB10TX2.
2002-01-03 18:56:35 +00:00
Josef Karthauser
fb08f9ad23
Add some missing prototypes.
...
Remove some diagnostics that aren't relevant yet.
2002-01-03 16:14:35 +00:00
Josef Karthauser
2ddd9bd5bd
Sync with NetBSD:
...
* White space changes.
* Updates to comments.
* Replace some delay() calls with usb_delay_ms().
* Replace 0's with NULL's.
2002-01-03 02:10:31 +00:00
Josef Karthauser
4b2ee62a91
Merge from NetBSD:
...
date: 2001/08/06 15:15:08; author: augustss; state: Exp;
Don't write back status bits that are cleared when written.
2002-01-03 00:46:47 +00:00
Josef Karthauser
b992262bcf
Merge from NetBSD:
...
date: 2001/11/20 16:08:10; author: augustss; state: Exp;
Use longer reset for root hubs (as told in the spec).
2002-01-03 00:37:56 +00:00
Josef Karthauser
0f24ab6fa0
Revert uio.uio_td back to uio.uio_procp, using a #define in usb_port to
...
do the right thing on -current.
2002-01-02 23:31:08 +00:00
Josef Karthauser
7ccc786694
Sync with NetBSD. Non-functional changes that bring this file
...
closer to the NetBSD version.
Reviewed by: md5
2002-01-02 21:56:02 +00:00
Josef Karthauser
2ba633961e
Sync usb.h with NetBSD, apart from usb_device_info.speed, which
...
requires logic changes. For now leave it as usb_device_info.lowspeed.
It will get addressed when the usb.c code is sync'd.
2002-01-02 20:16:53 +00:00
Josef Karthauser
0b4a107145
Revert part of the last commit. UIPROTO_MASS_BBB was renamed to
...
UIPROTO_MASS_BULK _after_ the previous change was made in NetBSD.
2002-01-02 18:36:46 +00:00
Josef Karthauser
5440b9801c
Sync with NetBSD:
...
date: 2000/02/29 21:37:01; author: augustss; state: Exp;
Distinguish between device and interface classes.
(I finally found a document that said that they were different.)
2002-01-02 18:28:45 +00:00
Josef Karthauser
cbeffd9e61
Remove the special casing for NetBSD and OpenBSD now that they
...
appear to do what we do.
2002-01-02 16:45:15 +00:00
Josef Karthauser
44ae5917e2
NetBSD have introduced usb_proc_ptr for us (they'll be needing it soon too)
...
to hide the distinction between struct proc and struct thread.
2002-01-02 16:33:53 +00:00
Josef Karthauser
6035292097
Synchronise with NetBSD.
...
In order of importance:
* Make ugen use updated frlengths.
* More tests for NULL pipes.
* Generate better error codes on bulk write.
* Error messages in general.
2001-12-31 00:52:17 +00:00
Josef Karthauser
a2036daf1c
Partial sync with NetBSD:
...
Replace LE() macro with htole32()/le32toh().
2001-12-30 23:02:31 +00:00
Josef Karthauser
58878b8a68
Sync with NetBSD (1.16 - 1.17)
...
"Bring the coding style into the 80s, i.e., get rid of __P and use
ANSI prototypes and declarations."
2001-12-29 20:37:14 +00:00
Josef Karthauser
59aba01b32
Update with missing filenames, merged from NetBSD.
2001-12-29 20:14:14 +00:00
John Baldwin
810ffc1e83
- Add a function to convert 6 byte SCSI commands for read, write, mode
...
sense, and mode select into their 10 byte equivalents. Eventually the
da(4) driver will become more intelligent about this, or at least allow
umass(4) to pass quirks in directly. However, this is a functional
workaround until a better fix is implemented.
- Use the 6 to 10 conversion function to allow the ATAPI and UFI command
sets to emulate 6 byte commands with 10 byte commands.
- Use the ATAPI command set rather than UFI for the ScanLogic SL11R-IDE
as it supports the SYNCH_CACHE command.
- Enable ATAPI command set support.
- Pass READ/WRITE_12 commands through for UFI support as the UFI spec
says they should be supported.
- Update a comment in the UFI translation function since we handle
MODE_SELECT.
2001-12-18 07:55:17 +00:00
Maxim Sobolev
1f891ff9ef
Add DIVA USB mp3 player.
...
Submitted by: Olexander Kunytsa <kunia@x-telecom.net>
MFC after: 3 days
2001-12-12 15:58:23 +00:00
Sheldon Hearn
06aa84ddfe
Regen from usbdevs rev 1.70: added some AGFA scanners
2001-12-10 11:46:23 +00:00
Sheldon Hearn
56429b663c
Add some AGFA scanners:
...
SnapScan 1236U SnapScan e20
SnapScan e25 SnapScan e26
SnapScan e40 SnapScan e50
SnapScan e52
PR: kern/32649
Submitted by: "Erik H. Bakke" <ebakke@trolltech.com>
2001-12-10 11:40:38 +00:00
Mike Smith
ffb6d5ad8f
The ScanLogic SL11R-IDE claims to be SCSI-compatible, but actually requires
...
the UFI command set. Even with this patch, it's incredibly slow on my
laptop, but at least now it works.
Note that the drive is reported to CAM with the vendor and device IDs from
the device itself, forcing the user to patch the da(4) quirk table
manually.
2001-12-09 06:02:46 +00:00
Maxim Sobolev
97361ffaab
Regen after addition of the Mustek 1200 CU Plus scanner.
...
Submitted by: "Ilmar S. Habibulin" <ilmar@watson.org>
2001-11-28 12:38:15 +00:00
Maxim Sobolev
134290641e
Add Mustek 1200 CU Plus scanner.
...
Submitted by: "Ilmar S. Habibulin" <ilmar@watson.org>
2001-11-28 12:37:04 +00:00
Ian Dowse
1a24ca7a4b
The Olympus C-1 digital camera uses a non-standard BBB command-status
...
signature, but otherwise behaves just like a normal USB mass-storage
device. Add a new quirk to cover this case, and enable it for C-1
cameras. The quirk enables translation from the C-1 signature to
the normal CSWSIGNATURE value.
Reviewed by: n_hibma
2001-11-23 17:35:35 +00:00
Ian Dowse
db54406364
Regen.
2001-11-23 16:36:28 +00:00
Ian Dowse
5cffab225e
Add Olympus C-1.
2001-11-23 16:35:40 +00:00
Munechika SUMIKAWA
9ef912e8ec
Support MELCO LUA2-TX USB ethernet adaptor.
...
Actually this porting supports Pegasus II chip so I guess some other
devices supported by NetBSD also work. But the devices list are not
included because I cannot confirm if they work.
Obtained from: NetBSD
MFC after: 3 weeks
2001-11-19 18:47:49 +00:00
Munechika SUMIKAWA
c9fcd7dde0
Regen.
2001-11-19 18:41:35 +00:00
Munechika SUMIKAWA
b62f13198a
Add Melco LUA2-TX5.
2001-11-19 18:40:17 +00:00
Peter Wemm
da73fe05e1
Add AMD766 OHCI USB controller. Remove unused VENDORID lists.
2001-11-06 23:44:03 +00:00
Peter Wemm
d5f6245f80
Add ICH3 (82801CA/CAM) and 460GX
2001-11-03 05:03:00 +00:00
Nick Hibma
9965784733
Regen.
2001-10-23 22:44:36 +00:00
Nick Hibma
2b97142db8
Add Olympus C-700
2001-10-23 22:44:03 +00:00
Poul-Henning Kamp
602150cc70
Set ulptusein = 0 so that the machine doesn't hang solid after a
...
printjob.
There is probably a better fix, but this at least makes USB printing
working again.
2001-10-12 11:05:58 +00:00
Jonathan Lemon
b256187110
Do not call mii_polltick() immediately after mii_tick().
...
Poiinted out by: wpaul
2001-09-29 19:31:29 +00:00
Alfred Perlstein
e93d0738f5
This driver can talk to the Rio600 as well, make it happen.
...
Hardware (and patience) provided by: Andrew J Caines <A.J.Caines@halplant.com>
2001-09-27 06:01:20 +00:00
John Baldwin
ed01445d8f
Use the passed in thread to selrecord() instead of curthread.
2001-09-21 22:46:54 +00:00
Nick Hibma
dc9c72345c
Regen.
2001-09-18 22:30:02 +00:00
Nick Hibma
55c883cea3
Update the header of the file with a comment on how to regenerate
...
the usbdevs* file correctly.
Suggested by: phantom
2001-09-18 22:27:41 +00:00
Julian Elischer
b40ce4165d
KSE Milestone 2
...
Note ALL MODULES MUST BE RECOMPILED
make the kernel aware that there are smaller units of scheduling than the
process. (but only allow one thread per process at this time).
This is functionally equivalent to teh previousl -current except
that there is a thread associated with each process.
Sorry john! (your next MFC will be a doosie!)
Reviewed by: peter@freebsd.org , dillon@freebsd.org
X-MFC after: ha ha ha ha
2001-09-12 08:38:13 +00:00
Bill Paul
0af4c6d09f
regenerate this file too (forgotten after last usbdevs update)
2001-09-09 17:00:32 +00:00
Doug White
7b832f6f75
Add support for the Accton USB320-EC Ethernet adapter.
...
MFC after: 14
2001-09-09 03:08:30 +00:00
Doug White
a6ac38c5f6
Regen.
2001-09-09 03:07:32 +00:00
Doug White
884896fa2f
Add entry for Accton USB320-EC Ethernet adapter.
...
MFC after: 14
2001-09-09 03:07:15 +00:00
Nick Hibma
aa75eeda2f
Only clear endpoint stall if status was USBD_STALLED.
...
This avoids panicing the system by unplugging a hub. The interrupt transfer
would sometimes arrive after the driver had been removed.
2001-09-02 09:26:14 +00:00
Nick Hibma
d7e53003ef
First check whether the USB transfer was cancelled before starting to
...
use the data structures related to that keyboard.
2001-09-01 09:38:45 +00:00
Nick Hibma
2ce5d19515
Regen.
2001-09-01 09:35:46 +00:00