Nick Hibma
63b6d959ae
Forgot one.
...
Original log message:
Remove feature creep: STAILQ_REMOVE_HEAD_UNTIL added it for convenience
but we can do without it.
Obtained from: Peter Wemm
1999-04-21 12:08:07 +00:00
Nick Hibma
38a3a046fc
Remove feature creep: STAILQ_REMOVE_HEAD_UNTIL added it for convenience
...
but we can do without it.
1999-04-20 22:37:18 +00:00
Nick Hibma
42b8d61161
1) Change printf's into DPRINTF.
...
2) rename variables to be more conclusive.
3) fix a problem in uhci_ii_done. Avoid collecting all the status's of the
TD's, we only need to one from the last inactive one.
4) Change the errorcount from 2 to 3 (see UHCI spec.).
1999-04-20 21:35:27 +00:00
Nick Hibma
272bc74e12
Add defines for Mass Storage Bulk-Only and COmmun. Class devices.
1999-04-20 21:25:29 +00:00
Nick Hibma
157ddd9539
Enclose .hcidebug in '#ifdef N.HCI'
1999-04-20 21:10:43 +00:00
Nick Hibma
49ae25e811
1) Add Rockfire vendor and gamepad product (MAEKAWA Masahide)
...
2) Sort the list again (Roger Hardiman)
3) Reinstate a piece of code to look for a name for a device
if none is found in the device itself.
1999-04-19 20:25:18 +00:00
Nick Hibma
921a038ad5
UHCI_DEBUG should of course be OHCI_DEBUG
...
Reported by: MAEKAWA Masahide <bishop@rr.iij4u.or.jp>
1999-04-17 21:48:03 +00:00
Peter Wemm
6182fdbda8
Bring the 'new-bus' to the i386. This extensively changes the way the
...
i386 platform boots, it is no longer ISA-centric, and is fully dynamic.
Most old drivers compile and run without modification via 'compatability
shims' to enable a smoother transition. eisa, isapnp and pccard* are
not yet using the new resource manager. Once fully converted, all drivers
will be loadable, including PCI and ISA.
(Some other changes appear to have snuck in, including a port of Soren's
ATA driver to the Alpha. Soren, back this out if you need to.)
This is a checkpoint of work-in-progress, but is quite functional.
The bulk of the work was done over the last few years by Doug Rabson and
Garrett Wollman.
Approved by: core
1999-04-16 21:22:55 +00:00
Nick Hibma
67aa00a71b
1) Make debugging more selective.
...
2) create function usbd_errstr which turns a usbd_status into a sensible
error message
3) Change the printf in DPRINTF to logprintf which is a define for
log(KERN_DEBUG, x)
1999-04-11 20:50:33 +00:00
Nick Hibma
91fe4c07fa
Applied patch for ukbd disconnect. Disconnect not fully functional
...
yet however.
Supplied by: Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp>
1999-04-11 16:49:15 +00:00
Nick Hibma
49de1dd30d
USBD_STALLED bit checking was inconsistent. Mixed use of == and &
...
Patch provided by: Kazutaka YOKOTA
1999-04-11 16:43:48 +00:00
Nick Hibma
2115c3404f
Remove unit from struct. Not used anymore.
1999-04-11 16:22:57 +00:00
Nick Hibma
f6f5fdd730
Reenable the recursive disconnection from a hub. Stop gap solution
...
until the newbus version of uhub.c is ready.
Submitted by: Kazutaka YOKOTA
1999-04-11 14:24:43 +00:00
Nick Hibma
5e36e2fe52
Changed pci_config_read() to pci_map_port(). Pointed out by Doug Rabson.
1999-04-11 14:24:20 +00:00
Nick Hibma
948d2900b2
1) Add Lucent USS-720 eval kit
...
2) Rename Epson printer cable to proper name
1999-04-08 23:26:50 +00:00
Nick Hibma
95b1c9ac5d
1) Add AKS USB-HASP 0.6
...
2) Rename Lucent -> Epson
(Undoes previous commit, Mike agrees)
1999-04-08 23:13:17 +00:00
Mike Smith
0858cc98d3
Add the Lucent USS-720 ISD Smart Cable.
1999-04-08 20:50:51 +00:00
Nick Hibma
7ae8132edd
Added macro logprintf
1999-04-07 17:07:07 +00:00
Nick Hibma
61f973056b
fix typo
1999-04-06 23:09:58 +00:00
Nick Hibma
7b9e192e28
1) Add the defines for the Mass Storage class
...
2) Add comments
3) Add UE_DIR to replace the querying of UE_IN directly
1999-04-05 17:23:54 +00:00
Nick Hibma
ff0ccda34e
change wrong names in prototypes (pipe to dev)
1999-04-05 17:19:48 +00:00
Nick Hibma
5163f215e0
Add the defines for the Iomega Zip 100 drive
1999-04-05 17:12:46 +00:00
Nick Hibma
1294cd03e1
bugfix: initialise timeout for usbd_device_request as well.
...
moved statements around to reflect sequence in the struct, to make
finding these discrepancies easier.
1999-04-05 17:01:52 +00:00
Nick Hibma
44e361fd80
added vision camera
1999-03-31 23:53:48 +00:00
Nick Hibma
e1c81f1d94
Cleaning up of code, remove unneeded cruft and make
...
code more compact.
1999-03-27 23:08:44 +00:00
Nick Hibma
acf3654412
Added a number of device names: Konica, Microsoft, Macally
1999-03-24 07:46:53 +00:00
Nick Hibma
d0ef08ba15
Check whether the PIRQD enable bit is set in LegSup and if not, set it.
...
On my PIIX4 chip rev 1 this is required. Have not had any complaints from
other people so it might be a problem with this stepping.
1999-03-23 21:37:45 +00:00
Nick Hibma
7dfd509563
1) clean up debugging output
...
2) remove erroneous querying of PCI LegSup register while it should be
fetched from PCI config space
3) change name of define for this register
1999-03-23 21:35:57 +00:00
Nick Hibma
83fac6ab3f
Cosmetical changes.
1999-03-22 19:58:59 +00:00
Nick Hibma
86df1e04cc
Implementation of the keyboard driver.
...
Done by: Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp>
1999-03-22 19:55:30 +00:00
Nick Hibma
5e294a20cf
Moved timeout initialisation a bit earlier in the process. The
...
untimeout function triggered panics once in a while.
1999-03-22 19:52:28 +00:00
Nick Hibma
ab18313bcb
Move untimeout up before call to uhci_ii_done, avoids panic in
...
untimeout.
Submitted by Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp>
and gehenna@jp.FreeBSD.org .
1999-03-08 22:27:07 +00:00
Nick Hibma
88cac66373
Bug fix: Trap 12 when ugen not present and therefore unattached physical
...
device removed.
1999-02-21 16:53:35 +00:00
Nick Hibma
f96f6ae5d8
Device unload code is broken, disabled. Requires a bit of redesign on the
...
part of the uhub driver to be able to fix it. Modules should not be
unloaded as they unload partially. Not easy to fix either.
1999-02-21 16:36:30 +00:00
Nick Hibma
6b769ffb36
make ums look like a Mouse Systems or Sysmouse mouse. Remove PS/2 interf.
...
Supplied by MAEKAWA Masahide <bishop@rr.iij4u.or.jp>. Thanks!
USB Mouse now supports up to 7 buttons and X,Y,Z (wheel) directions.
1999-02-21 16:20:19 +00:00
Nick Hibma
7d0d9122c9
Bug fix: devcount was running from [count..0], should be [count-1..0]
1999-02-20 19:22:00 +00:00
Nick Hibma
d894d5dedb
1) In polling mode (during boot) the callout_handle wasn't
...
initialised (PR1).
Thanks to "Louis A. Mamakos" <louie@TransSys.COM> for his patient
testing of my mods.
2) Removed some debugging output (PR1)
1999-02-19 22:48:28 +00:00
Nick Hibma
fe5ba84529
Moved [uo]hci_pci.c from /sys/dev/pci to /sys/pci after Soren
...
threatened to send Bruce. These files are no longer shared
with NetBSD anyway.
Requires a config and make depend.
1999-02-18 21:42:19 +00:00
Nick Hibma
e99cd85d69
Moved busreset in uhci_init up to avoid clearing of FLBASE in Via 83572
...
(PR1)
1999-02-18 21:03:10 +00:00
Nick Hibma
fe7627280b
Applied patch from MAEKAWA Masahide <bishop@rr.iij4u.or.jp>. (PR2)
...
Seems to solve a problem with a mouse not responding to movements in the
X direction. Problem description is still rather vague and solution is
not exactly clear. Problem might be a compiler optimisation.
1999-02-15 21:41:43 +00:00
Nick Hibma
48f79d0e5c
Added more verbose debugging output to uhci_run
1999-02-15 20:43:17 +00:00
Nick Hibma
aa11c7f9d1
Added UHCI_LEGSUP to uhcireg.h
1999-01-31 16:22:35 +00:00
Matthew Dillon
0a5e03dda5
Fix warnings in preparation for adding -Wall -Wcast-qual to the
...
kernel compile
1999-01-28 01:59:53 +00:00
Matthew Dillon
8aef171243
Fix warnings in preparation for adding -Wall -Wcast-qual to the
...
kernel compile
1999-01-28 00:57:57 +00:00
Nick Hibma
7613dbd346
add LEGSUP to uhci_dumpregs
1999-01-22 21:52:46 +00:00
Nick Hibma
1f7b3fe5be
forgotten in previous commit: Lowered default debug level
1999-01-22 01:02:24 +00:00
Nick Hibma
ab521a755e
Fixed disconnect for umouse
1999-01-22 00:59:52 +00:00
Nick Hibma
235dddd4ea
Textual changes
1999-01-22 00:51:12 +00:00
Nick Hibma
5602b5091c
Fixed bug in disconnect handling in uhub.c
1999-01-22 00:44:31 +00:00
Nick Hibma
cf4e36da61
Fixed bug that made UHCI controllers fail to start.
1999-01-21 23:31:58 +00:00