On Fri, Mar 04, 2016 at 11:19:37AM -0300, Daniel Bolgheroni wrote:
> On Sat, Feb 27, 2016 at 11:09:10PM +0100, Patrick Wildt wrote:
> > 
> > +   /* print interrupt state */
> > +   snprintb(buf, sizeof(buf), "\177\20"
> > +       "b\x10""NI\0"
> > +       "b\x0f""AI\0"
> > +       "b\x0e""ER\0"
> > +       "b\x0d""FB\0"
> > +       "b\x0a""ET\0"
> > +       "b\x09""RW\0"
> > +       "b\x08""RS\0"
> > +       "b\x07""RU\0"
> > +       "b\x06""RI\0"
> > +       "b\x05""UN\0"
> > +       "b\x04""OV\0"
> > +       "b\x03""TJ\0"
> > +       "b\x02""TU\0"
> > +       "b\x01""TS\0"
> > +       "b\x00""TI\0"
> > +       "\0", dma_status);
> 
> > +   /* print filter setup */
> > +   snprintb(buf, sizeof(buf), "\177\20"
> > +       "b\x1f""RA\0"
> > +       "b\x0a""HPF\0"
> > +       "b\x09""SAF\0"
> > +       "b\x08""SAIF\0"
> > +       "b\x05""DBF\0"
> > +       "b\x04""PM\0"
> > +       "b\x03""DAIF\0"
> > +       "b\x02""HMC\0"
> > +       "b\x01""HUC\0"
> > +       "b\x00""PR\0"
> > +       "\0", ffilt);
> 
> Hi Patrick,
> 
> I don't have a quick solution for this too, but it's worth noticing that
> snprintb() is NetBSD-specific.
> 
> Thank you.
> 
> -- 
> db

That's correct.  So far it's in an ifdef DEBUG.  I could've just removed
all that code but thought it was better to keep it in for now.

Reply via email to