Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: mfi(4) Thunderbolt support?



On Thu, Aug 23, 2012 at 02:01:31PM +0200, Havard Eidnes wrote:
> >> Any chance of a patch to netbsd-6 (to go in after the 6.0 release).
> >
> > Sure. just copy sys/dev/*/mfi* to a netbsd-6 tree, it works
> > (this is how I tested on the perc5).
> 
> Not quite, you also need updated pci/pcidevs* files.

Right, you need the MEGARAID_2208 entry. I forgot I had a local patch for
this.

> 
> And then I still get build errors:
> 
> cc1: warnings being treated as errors
> /usr/src/sys/dev/ic/mfi.c: In function 'mfi_tbolt_init_desc_pool':
> /usr/src/sys/dev/ic/mfi.c:2715:15: error: unused variable 'tbolt_contg_length'
> 
> The definition maybe needs wrapping with #ifdef DIAGNOSTIC, since
> the only use is in a KASSERT?

I fixed this, thanks (it's easier to just remove the variable :)

-- 
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
     NetBSD: 26 ans d'experience feront toujours la difference
--


Home | Main Index | Thread Index | Old Index