|
@@ -22,6 +22,7 @@
|
|
|
|
|
|
#include <asm/prom.h>
|
|
|
#include <asm/icswx.h>
|
|
|
+#include <asm/vas.h>
|
|
|
|
|
|
MODULE_LICENSE("GPL");
|
|
|
MODULE_AUTHOR("Dan Streetman <ddstreet@ieee.org>");
|
|
@@ -424,9 +425,9 @@ static int nx842_powernv_function(const unsigned char *in, unsigned int inlen,
|
|
|
|
|
|
/* set up CCW */
|
|
|
ccw = 0;
|
|
|
- ccw = SET_FIELD(ccw, CCW_CT, nx842_ct);
|
|
|
- ccw = SET_FIELD(ccw, CCW_CI_842, 0); /* use 0 for hw auto-selection */
|
|
|
- ccw = SET_FIELD(ccw, CCW_FC_842, fc);
|
|
|
+ ccw = SET_FIELD(CCW_CT, ccw, nx842_ct);
|
|
|
+ ccw = SET_FIELD(CCW_CI_842, ccw, 0); /* use 0 for hw auto-selection */
|
|
|
+ ccw = SET_FIELD(CCW_FC_842, ccw, fc);
|
|
|
|
|
|
/* set up CRB's CSB addr */
|
|
|
csb_addr = nx842_get_pa(csb) & CRB_CSB_ADDRESS;
|