svn commit: r327120 - in head/sys: isa x86/isa

Colin Percival cperciva at tarsnap.com
Sun Dec 24 09:11:06 UTC 2017


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


More information about the svn-src-all mailing list