Date: Sun, 24 Dec 2017 09:10:57 +0000 From: Colin Percival <cperciva@tarsnap.com> To: Warner Losh <imp@FreeBSD.org>, src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r327120 - in head/sys: isa x86/isa Message-ID: <0100016087ca1b46-38e5e938-0fa6-4fb5-b571-7a8ef00f34cc-000000@email.amazonses.com> In-Reply-To: <201712232257.vBNMvEHk023093@repo.freebsd.org> References: <201712232257.vBNMvEHk023093@repo.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0100016087ca1b46-38e5e938-0fa6-4fb5-b571-7a8ef00f34cc-000000>