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
Nick Hibma
c2d98eeaca
Spelling nit.
2001-09-01 09:33:15 +00:00
Nick Hibma
f3dfa83f4f
Add safety belts. A control endpoint doesn't have an endpoint descriptor.
2001-08-30 21:45:28 +00:00
Peter Wemm
1ef4734b8a
Do not printf when we get called as a result of a pci shared interrupt,
...
and add a comment to that effect.
2001-08-23 01:16:10 +00:00
Peter Wemm
dae6dcff3f
Revert part of the last commit, as suggested by Nick. This is expected,
...
it is part of the way PCI shared interrupts work.
2001-08-23 01:12:35 +00:00
Peter Wemm
1408f3e993
Make these depend on the usb module so they can use its symbols if they
...
are loaded as seperate .ko files
2001-08-22 05:33:57 +00:00
Nick Hibma
83429be9b0
Find spurious interrupts.
2001-08-21 22:39:04 +00:00
Nick Hibma
e940cef54f
Add support for the I-O DATA USB-ET/TX(USB Ethernet adapter)
...
PR: 27792
2001-08-21 22:20:50 +00:00
Nick Hibma
6e155c1b96
Add support for the HP 4300C scanner.
...
Submitted by: Ernst de Haan <ernst@jollem.com>
2001-08-21 22:16:44 +00:00
Nick Hibma
4817ad7e09
Support for the HP 8200e CD writer. (commented out)
...
Submitted by: Heath Nielson <heath@cs.byu.edu>
2001-08-21 22:03:18 +00:00
Nick Hibma
d815b123a2
Add support for the Microtech CameraMate.
...
Submitted by: Phil Knaack <pknaack1@netscape.net>
Submitted by: Jim Bryant <kc5vdj@yahoo.com>
2001-08-21 21:47:08 +00:00
Nick Hibma
924be33dc3
Deconfuse a debugging message.
2001-08-21 21:41:15 +00:00
Nick Hibma
9a9a00ec47
Regen.
...
National BearPaw 1200 has changed name USB_PRODUCT_NATIONAL_BEARPAW1200.
2001-08-21 21:36:58 +00:00
Nick Hibma
ff3863b777
Add Mustek, National and Ultima scanners.
...
Submitted by: Henning Meier-Geinitz <hmg@gmx.de>
PR: 29777
MFC after: 1 week
2001-08-21 21:35:40 +00:00
Julian Elischer
d05a918fc3
Do NOT allocate a 1K buffer on the kernel stack.
...
Found by: Smashed u-area and hardware watch points.
MFC after: 1 week
2001-08-10 17:32:11 +00:00
Peter Wemm
8e5003b0ea
Add the Rio 800 USB device IDs
...
Submitted by: Wesley Morgan <morganw@chemikals.org>
2001-08-08 23:04:31 +00:00
Kazutaka YOKOTA
764952572b
Return consistent key action codes at key press and release
...
events. Otherwise you would see unexpected results if shift or
locking keys are defined to give different actions depending
on other shift/locking keys' state.
Please keep the ukbd module and the kernel in sync, otherwise
the USB keyboard won't work after this change.
MFC after: 10 days
2001-07-20 13:05:57 +00:00
Benno Rice
beefc79739
Set vendor string correctly for the Apple KeyLargo.
...
Forgotten by: benno
Spotted by: n_hibma
2001-07-05 12:04:19 +00:00
Nick Hibma
55e6acd71b
Pull in the current version of NetBSD's ulpt.c, supporting bidirectional
...
communication with printers.
2001-07-05 10:15:37 +00:00
Nick Hibma
48405163d9
Regen.
2001-07-05 10:14:40 +00:00
Nick Hibma
e1f5734cbe
Pull in the most recent version of usb_quirks.h and propagate the necessary
...
changes to the various files.
Also, pull in most of the current usb_subr.c file.
2001-07-05 10:12:59 +00:00
Nick Hibma
b74562cf03
Make the string argument a const.
2001-07-05 10:09:22 +00:00
Nick Hibma
c077cffc2e
Update with NetBSD version
...
Remove duplicates
NOTE: USB_PRODUCT_SANDISK_IMAGEMATE has changed to
USB_PRODUCT_SANDISK_SDDR05A
2001-07-05 09:35:46 +00:00
Benno Rice
e5a44502dd
Add device ID for the OHCI controller in the Apple KeyLargo chip.
2001-07-02 14:03:25 +00:00
Nick Hibma
0a40173c0c
Add AboCom Systems USB to 1M HomePNA & 10M/100M Fast Ethernet Adapter.
...
PR: kern/28537
Submitted by: Hiroyuki Aizu <aizu@navi.org>
MFC after: 5 days
2001-06-30 13:49:17 +00:00
Nick Hibma
0bea5808a1
Don't free memory that has been freed already.
...
Null the pointer after freeing the memory.
PR: 27370
Submitted by: Alec Barea <alec@barea.org>
MFC after: 5 days
2001-06-30 10:57:37 +00:00
Kazutaka YOKOTA
6c726162da
Add the device resume method to keyboard drivers.
...
MFC after: 4 weeks
2001-06-30 10:02:32 +00:00
Peter Wemm
1d63bf5236
Fix warning: 128: warning: initialization makes pointer from integer
...
Note: this file has lots of #if __FreeBSD__ >= 4 etc which needs to be
changed to __FreeBSD_version >= 400000 etc.
2001-06-15 00:26:41 +00:00
Peter Wemm
7b77e0fa50
Activate the kthread mechanism for doing usb bus discovery. This means
...
that device add/remove will work without usbd running. usbd is still
used for execing stuff, but that is all now. Ideally it could be replaced
by a devd some day. Until now, usbd had to be running so that the
USB_DISCOVER ioctl could be called to walk the tree when an attachment
status change was noticed.
Among the changes:
- when a detach happens, remove any pending 'attach' messages or the system
suffers from whiplash from exec moused / kill moused loops if you do lots
of attach/detach and later start usbd.
- tweaks related to kthread differences
- disable the select handler for the old interface (never return success).
I have not removed it yet or old usbd's will abort. That can get removed
later once usbd is cleaned up and things have stabilized for a few weeks.
- get Giant in the kthread.
- a couple of minor potential bug fixes (usb_nevents vs malloc failure etc)
Pre-approved by: n_hibma (ages and ages ago)
2001-06-06 22:00:03 +00:00
Poul-Henning Kamp
3b6c05fa7f
Remove the empty uscannerioctl() and use noioctl() instead.
2001-05-23 17:51:43 +00:00
Jun Kuriyama
da76f18bc6
Add description for 82801BA controller.
...
MFC after: 1 week
2001-05-21 01:24:14 +00:00
Mark Murray
fb919e4d5a
Undo part of the tangle of having sys/lock.h and sys/mutex.h included in
...
other "system" header files.
Also help the deprecation of lockmgr.h by making it a sub-include of
sys/lock.h and removing sys/lockmgr.h form kernel .c files.
Sort sys/*.h includes where possible in affected files.
OK'ed by: bde (with reservations)
2001-05-01 08:13:21 +00:00
Nick Hibma
d309bc7f71
Regen.
2001-04-30 17:38:57 +00:00
Nick Hibma
eb9c76a9f0
Add 4300C Id
...
Submitted by: Ernst de Haan <ernst@heinz.jollem.com>
2001-04-30 17:37:11 +00:00
Nick Hibma
be971a7240
Regen.
2001-04-17 15:53:35 +00:00
Nick Hibma
177f46f166
Add the HP scanner 3400C
2001-04-17 15:53:20 +00:00
Nick Hibma
e47670c92d
Regen.
2001-04-17 15:34:44 +00:00
Nick Hibma
dacb51ca16
Lexar jumpSHOT Id.
...
Submitted by: gshapiro
2001-04-17 15:34:22 +00:00
Nick Hibma
1470e6aaeb
Regen.
2001-04-12 11:08:59 +00:00
Nick Hibma
47a9ad6b89
TDK ids
...
Submitted by: Hidetoshi Shimokawa <simokawa@sat.t.u-tokyo.ac.jp>
2001-04-12 11:04:08 +00:00
Nick Hibma
426128e90b
From NetBSD
2001-04-12 10:59:30 +00:00
Nick Hibma
e796578c40
Rege.
2001-04-09 18:45:32 +00:00
Nick Hibma
053a2f773b
Again an ID that has been reused. Update description.
2001-04-09 18:45:02 +00:00
Nick Hibma
6e4a2c5638
Add the Abocom URE 450 ethernet adapter.
...
Submitted by: dima@bog.msu.su
2001-04-09 18:44:11 +00:00
Nick Hibma
d6bbfa7387
Regen.
2001-04-09 18:26:18 +00:00
Nick Hibma
5224ce264a
Update the description for the EPSON PID 0x010a. It seems to be reused in
...
the 8700 series.
2001-04-09 18:22:20 +00:00
Nick Hibma
0ec85a1de5
Regen.
2001-04-09 18:19:41 +00:00
Nick Hibma
b0477600ef
Add the Omni 56K Plus modem
...
Submitted by: kazarov@izmiran.rssi.ru
2001-04-09 18:19:20 +00:00
Nick Hibma
b9688f84b0
Add id for the IO Data ET/T
...
PR: 23877
Submitted by: Makoto MATSUSHITA <matusita@jp.freebsd.org>
2001-04-07 20:47:29 +00:00
Nick Hibma
899a73c0a6
Regen.
2001-04-02 13:12:15 +00:00
Nick Hibma
d8ee57ce7d
Add Agate Q-Drive.
...
Submitted by: Ian Cartwright <ian351c@home.com>
2001-04-02 13:11:59 +00:00
Nick Hibma
59a42a13d5
Regen.
2001-04-02 13:02:36 +00:00