Re: svn commit: r329538 - head/sbin/devmatch

2018-02-19 Thread Warner Losh
On Mon, Feb 19, 2018 at 12:20 AM, Hans Petter Selasky 
wrote:

> On 02/19/18 00:16, Warner Losh wrote:
>
>> +   if (bus && strcmp(val1, bus) != 0) {
>> +   if (verbose_flag)
>> +   printf("Skipped because table for
>> bus %s, looking for %s\n",
>> +   val1, bus);
>> +   break;
>> +   }
>>
>
> There might be some ports kmods which needs recompiling. Try bumping the
> __FreeBSD_version ?
>
> The parent of the topmost USB HUB is:
> dev.uhub.0.%parent: usbus0
>
> Though no drivers should attach here!


Yes. It wasn't the attachment point that was at issue, that never changed,
just the usb driver pnp table marking. I think this has been resolved and I
had some old modules that prevented things from working. Since there's a
work around, I'll keep it in place until the next version bump then GC it.
There's other changes needed to this code in the coming weeks, so it won't
get forgotten.

I've been able to to boot and get everything loaded across a few different
test kernels at this point and have plugged in some unusual devices that I
have laying around to hopefully ensure nothing gets busted in the future.

Warner
___
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"


Re: svn commit: r329538 - head/sbin/devmatch

2018-02-18 Thread Hans Petter Selasky

On 02/19/18 00:16, Warner Losh wrote:

+   if (bus && strcmp(val1, bus) != 0) {
+   if (verbose_flag)
+   printf("Skipped because table for bus %s, 
looking for %s\n",
+   val1, bus);
+   break;
+   }


There might be some ports kmods which needs recompiling. Try bumping the 
__FreeBSD_version ?


The parent of the topmost USB HUB is:
dev.uhub.0.%parent: usbus0

Though no drivers should attach here!

--HPS
___
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"