[PATCH 0/8] gianfar: Add support for hibernation

David Miller davem at davemloft.net
Wed Oct 14 06:09:12 EST 2009


From: Andy Fleming <afleming at freescale.com>
Date: Tue, 13 Oct 2009 12:22:38 -0500

> No, it was fine (though made unnecessary by other patches).  The BD
> has a union:
> 
>                 struct {
>                         u16     status; /* Status Fields */
>                         u16     length; /* Buffer length */
>                 };
>                 u32 lstatus;
> 
> so when you write "lstatus", you need to use the BD_LFLAG() macro, but
> when you write "status", you are just setting the status bits.

Indeed I missed that, thanks.


More information about the Linuxppc-dev mailing list