Re: titan code question

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

 



On Mon, 22 Nov 2004, Manish Lachwani wrote:

> Hence, they used this register. I am not sure if this is even 
> documented. However, this code has been written based on the feedback 
> from the chip designers. If you dont use this code, the MAC subsystem of 
> titan will stop aligning IP headers and you will need to implement the 
> code in the driver to do the aligning.

 That means you should use macros for registers and their contents,
preferably with some nearby documentation in the form of comments to
clarify less obvious bits.  Otherwise you end up with an unmaintainable
mess, especially once other sources of information drain out.

  Maciej


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux