On 12/23/17 14:57, Warner Losh wrote:
> -             device_probe_and_attach(child);
> +             err = device_probe_and_attach(child);
> +             if (err == 0 && idev->id_vendorid == 0 &&
> +                 strcmp(kern_ident, "GENERIC") == 0)
> +                     device_printf(child,
> +                         "non-PNP ISA device will be removed from GENERIC in 
> FreeBSD 12.");

Maybe worth making this strncmp(kern_ident, "GENERIC", 7) so that it will
catch GENERIC-NODEBUG as well?

-- 
Colin Percival
Security Officer Emeritus, FreeBSD | The power to serve
Founder, Tarsnap | www.tarsnap.com | Online backups for the truly paranoid
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to