Commit Graph

315 Commits

Author SHA1 Message Date
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