Thread (10 messages) flat view 10 messages, 4 authors, 2006-06-21

Re: [PATCH] mpic: add support for serial mode interrupts

From: Segher Boessenkool <hidden>
Date: 2006-06-19 22:35:26

Can you define some constants so others can see just what the bits  
mean
without digging up documentation, instead of just doing magic numbers?
[my favourite argument :-) ]

You'll have to read the documentation to properly understand what
the bit patterns mean anyway.  And if you use symbolic names, you
only add another step: hunting through header files.
MPIC_GREG_GLOBAL_CONF_0 already does so; you can copy the style from
there.
...but yeah, definitely, mixing styles is at least as bad.


Segher
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help