Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: USB problems after memory upgrade



On Sun, Sep 11, 2011 at 6:25 PM, Izumi Tsutsui 
<tsutsui%ceres.dti.ne.jp@localhost> wrote:
> IIRC NVIDIA EHCI has a bug, but not sure about ATI ones.
>
>
> Index: ehci_pci.c
> ===================================================================
> RCS file: /cvsroot/src/sys/dev/pci/ehci_pci.c,v
> retrieving revision 1.53
> diff -u -p -r1.53 ehci_pci.c
> --- ehci_pci.c  30 Jul 2011 13:19:21 -0000      1.53
> +++ ehci_pci.c  11 Sep 2011 16:22:29 -0000
> @@ -155,6 +155,20 @@ ehci_pci_attach(device_t parent, device_
>        sc->sc_pc = pc;
>        sc->sc_tag = tag;
>        sc->sc.sc_bus.dmatag = pa->pa_dmat;
> +       if (PCI_VENDOR(pa->pa_id) == PCI_VENDOR_NVIDIA ||
> +           PCI_VENDOR(pa->pa_id) == PCI_VENDOR_ATI) {
[...]

I have built a kernel with this patch applied. Should I see the
diagnostic output when the ehci device is detected, or only later when
the bug is about to be avoided?

BTW: I had to remove ".include <bsd.clean.mk>" from several files
under /usr/share/mk, as this file was not present in my snapshot. I
did an upgrade with the latest current, and as far as I can tell, that
file is not in the installation archives.

BTW2: Thanks for all the answers and suggestions :)

-- 
Joern Clausen
http://thebloeg.blogspot.com/
http://www.oe-files.de/oefiles/


Home | Main Index | Thread Index | Old Index