Commit Graph

280 Commits

Author SHA1 Message Date
n_hibma
7fa15f5301 Changed 'xxxdebug = 0' to '...= 1' (Brian Feldman) 1999-01-13 01:09:14 +00:00
n_hibma
2557ea3700 1) Bug fix: Interrupt transfers worked only for the first packet.
The second packet was not seen as finished.
2) Textual changes
1999-01-13 00:50:02 +00:00
eivind
bde278c486 Cast argument to avoid warning.
Reviewed by:	Nick Hibma <n_hibma>
1999-01-12 12:46:36 +00:00
eivind
cdf79e6bf3 %b takes ints, not u_longs. 1999-01-12 02:22:59 +00:00
n_hibma
33ff447886 Take cdev major # 114 for ugen 1999-01-12 01:31:13 +00:00
n_hibma
220a334906 1) textual changes
2) bug fix in handling of select (or presumed bug)
3) trigger a mouse packet on the Z direction as well (but Z still not
   working)
1999-01-12 01:21:15 +00:00
n_hibma
7f8eaf904c Changed DRIVER_MODULE to CDEV_DRIVER_MODULE 1999-01-12 01:18:38 +00:00
n_hibma
e3fccd21c1 Added file handling to ulpt (USB printer) driver 1999-01-11 00:03:59 +00:00
n_hibma
910aa44d3b Sync with NetBSD sources. Almost there. Mostly style fixes. 1999-01-10 18:42:54 +00:00
eivind
1c69824749 USUBCLASS_MODEM -> USUBCLASS_ABSTRACT_CONTROL_MODEL
Matches the header file change, and makes this compile.
1999-01-08 17:25:37 +00:00
n_hibma
f85edabd28 Major synchronisation with NetBSD USB code 1999-01-07 23:07:57 +00:00
n_hibma
e535a63f75 queue.h has taken over this functionality 1999-01-06 23:16:45 +00:00
n_hibma
e355863092 Big oops, wrong major number in source 1999-01-05 09:33:23 +00:00
n_hibma
ea1bd971b4 Corrected the major number for usb and added ums as major 111 1999-01-03 16:48:03 +00:00
n_hibma
1531d24acf Added UCLASS_CDC definitions to usb.h 1998-12-15 07:06:51 +00:00
julian
f4d6fc7ea6 The OHCI interfaces I have access to map their control regs etc. into
memory address space rather than IO space.. reflect this when looking for the
interface revision register.

If this is not true for them all then we probably need some smarter code.
1998-12-14 21:14:11 +00:00
n_hibma
b25219fcba Added Id to all files 1998-12-14 09:32:25 +00:00
n_hibma
a9ce772c0c Added Id 1998-12-14 09:31:41 +00:00
n_hibma
3d4b15f81a Added comment 1998-12-14 09:15:19 +00:00
n_hibma
cccb885020 Added copyright and Id 1998-12-14 09:13:29 +00:00
n_hibma
db1a25dccb small oops on previous bug fix, it's late... 1998-12-13 23:53:42 +00:00
n_hibma
067b9d6ac9 small bug fix 1998-12-13 23:26:41 +00:00
n_hibma
d6b94b79c0 Removed unneeded definition 1998-12-13 23:16:20 +00:00
n_hibma
4f19f2cec5 dded the stubs for umodem and ucom (communications class driver). They are nothing other than
the ugen driver with different variable names.
1998-12-13 23:04:35 +00:00
n_hibma
7a761ba5fa Updated USB kernel sources to NetBSD sources of 1998-12-09.
1 bug fix and several textual changes.
Preparing to feed back changes for port into NetBSD to create one source base.
1998-12-13 22:27:42 +00:00
n_hibma
fb03cef48c Fixed warning in usr.sbin/usbd 1998-12-12 11:57:59 +00:00
julian
1f33b54c67 If we failed to probe/attach somehow, we never have a sc->sc_hcca
but the present PCI probe code still thinks we are there as the pci attach
can't return an error code.

This means we are in the shared interrupt list, but have not been set up.
If we are sharing ints with another device, ohci_intr will be called and will
coredump on a NULL reference. So just return if it is called when not set up.

This fixes the symptom and not the cause.
The right answer is to let the PCI system know that the attach failed,
or to fail earlier (in the PCI probe).
The attach() is a void fn() so it can't return failure..
1998-12-11 06:02:06 +00:00
n_hibma
ff213ddb78 Various bug fixes:
1) Removed 'emulation' of bitmaps in printfs, FreeBSD seems to have caught
  up on that one
2) Fixed a few bugs in the timeout/timo timeout variables
3) First attempt at fixing a bug mentioned by Kazu: uhci_run is not able
  start/stop his USB host on his motherboard.
1998-12-09 23:36:15 +00:00
n_hibma
1e167561f8 Preliminary support for OHCI motherboards 1998-12-09 23:28:43 +00:00
n_hibma
1f1ab4819c Initial commit of ported NetBSD USB stack 1998-11-26 23:13:13 +00:00