Thread (24 messages) 24 messages, 14 authors, 2008-10-21

Re: [PATCH] ibm_newemac: Fix new MAL feature handling

From: Arnd Bergmann <arnd@arndb.de>
Date: 2008-10-17 12:57:42
Also in: linuxppc-dev, lkml

On Thursday 16 October 2008, Josh Boyer wrote:
+#ifdef CONFIG_PPC_DCR_NATIVE
        if (mal_has_feature(mal, MAL_FTR_CLEAR_ICINTSTAT))
                mtdcri(SDR0, DCRN_SDR_ICINTSTAT,
                                (mfdcri(SDR0, DCRN_SDR_ICINTSTAT) | ICINTSTAT_ICTX));
+#endif
 
So what if you have a mmio based DRC implementation and still want to use
this feature?

I guess you really should use dcr_read/dcr_write here instead of mtdcr/mfdcr.

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