> - write[wl](0,...)           benign, but arguably bogus

I think this is perfectly fine.  No need to obfuscate or worry about
byte ordering for a constant 0.

 > - write[wl](LE anything, ...)        should be correct, yes?

Yes.  For example stuff like this is OK (assuming I'm understanding it
correctly):

 > +    writel(0, c2dev->regs + C2_IDIS);
 > +    netimr0 = readl(c2dev->regs + C2_NIMR0);
 > +    netimr0 &= ~(C2_PCI_HTX_INT | C2_PCI_HRX_INT);
 > +    writel(netimr0, c2dev->regs + C2_NIMR0);

 - R.
_______________________________________________
openib-general mailing list
[email protected]
http://openib.org/mailman/listinfo/openib-general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Reply via email to