Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 May 2000 10:34:30 -0400 (EDT)
From:      "John H. Baldwin" <jobaldwi@cslab.vt.edu>
To:        Doug Rabson <dfr@nlsystems.com>
Cc:        freebsd-new-bus@freebsd.org, jhb@freebsd.org, n_hibma@freebsd.org
Subject:   Re: Alpha USB difficulties...
Message-ID:  <Pine.BSF.4.21.0005091026020.70755-100000@snowcow.cslab.vt.edu>
In-Reply-To: <Pine.BSF.4.21.0005090943310.47945-100000@salmon.nlsystems.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 9 May 2000, Doug Rabson wrote:

> To make interrupt delivery work, you also need to hook pci_setup_intr and
> pci_teardown_intr and vector them to the isa functions too.

Ok, I added in alpha_platform_pci_{setup,teardown}_intr(), stuck them
in machine/md_var.h, and then used them as the DEV_METHOD() for
bus_{setup,teardown}_intr for the pci device in /sys/pci/pci.c.  This
worked for the most part.  I can now use the USB keyboard and mouse fine,
and the floppy drive I have to test with is recognized, but only as a
generic ugen0 instead of a umass0:

ugen0: Y-E DATA FlashBuster-U, rev 1.00/3.04, addr 5

The patch for all this ugliness is at
www.freebsd.org/~jhb/patches/alpha.usb.patch.

> -- 
> Doug Rabson				Mail:  dfr@nlsystems.com
> Nonlinear Systems Ltd.			Phone: +44 20 8442 9037

John Baldwin
jobaldwi@cslab.vt.edu




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-new-bus" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0005091026020.70755-100000>