Re: issues with LSI 9260

Manuel Bouyer <[email protected]> Mon, 8 Jun 2015 19:10:19 +0200
Newsgroups gmane.os.netbsd.ports,gmane.os.netbsd.general,gmane.os.netbsd.ports.x86-64
Message-ID <[email protected]>
On Mon, Jun 08, 2015 at 01:00:02PM -0400, Derrick Lobo wrote:
> > You can try to copy mfi.c and related:
> >ic/mfi.c ic/mfiio.h ic/mfireg.h ic/mfivar.h pci/mfi_pci.c to a netbsd
> 6.1.5 source tree and recompile a kernel.
> 
> Compile fails with an error.. maybe im missing some more files
> 
> [...]
> ../../../../dev/ic/mfi.c:197:2: error: unknown field 'd_discard' specified
> in initializer
> ../../../../dev/ic/mfi.c:197:15: error: 'nodiscard' undeclared here (not
> in a function)
> *** Error code 1

you can just remove this line:
	.d_discard = nodiscard,

-- 
Manuel Bouyer <[email protected]>
     NetBSD: 26 ans d'experience feront toujours la difference
--