lkml.org 
[lkml]   [2000]   [Feb]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: [linux-usb] Re: cpia & usb problems
On Wed, Feb 16, 2000, Johannes Erdfelt <jerdfelt@sventech.com> wrote:
> On Thu, Feb 17, 2000, Chris Wedgwood <cw@f00f.org> wrote:
> > > How old is the machine? It may be a pre USB 1.1 (or even 1.0) Host
> > > Controller.
> >
> > Old? Umm? It still says Digital on it, not Compaq. I guess 96 or
> > perhaps earlier? I think the BIOS on it was around '96 and USB
> > ignorant until I put the most recent ('98) version on it.
>
> I'm curious, there's a version register we ignore. I'll whip up a patch
> which displays it atleast to see what version it claims to be.

Here it is.

There's only 2 possible values for this: 00 and 10. It should be 10 if
it's a 1.0 release number.

I get 10 on my VIA and Intel controllers.

JE

--- drivers/usb/uhci.c.old Tue Feb 8 17:11:13 2000
+++ drivers/usb/uhci.c Wed Feb 16 15:25:52 2000
@@ -2032,6 +2032,12 @@
/* disable legacy emulation */
pci_write_config_word(dev, USBLEGSUP, USBLEGSUP_DEFAULT);

+ {
+ char foo;
+ pci_read_config_byte(dev, 0x60, &foo);
+ printk("uhci: serial bus release number %02X\n", foo);
+ }
+
pci_enable_device(dev);

if (!dev->irq) {
\
 
 \ /
  Last update: 2005-03-22 13:56    [W:0.067 / U:0.308 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site