summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/powerpc/alignment/Makefile
blob: ad6a4e49da916e0da10d68b0311efb2c7d2d95b8 (plain)
1
2
3
4
5
6
7
8
9
10
TEST_PROGS := copy_unaligned copy_first_unaligned paste_unaligned paste_last_unaligned

all: $(TEST_PROGS)

$(TEST_PROGS): ../harness.c ../utils.c copy_paste_unaligned_common.c

include ../../lib.mk

clean:
	rm -f $(TEST_PROGS)
/diff/?id=4bd888a80b1d48dbd83f1cbf806e923a30051958&id2=30164759db1bb1062bdf0f92451f57ed295cfa48'>diff)
can: flexcan: activate individual RX masking and initialize reg_rximr
Modern flexcan IP cores support two RX modes. One is using the 6 fames deep hardware FIFO, the other is using up to 64 mailboxes (in non FIFO mode). For now only the HW FIFO mode is activated. In order to make use of the RX mailboxes the individual RX masking feature has to be activated, otherwise matching mailboxes are overwritten during the reception process. This however switches on the individual RX masking, which uses reg_rximr registers for masking. This patch activates the individual RX masking feature unconditionally and initializes the mask registers (reg_rximr) with 0x0 == "don't care", which switches off any filtering. Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat
-rw-r--r--drivers/net/can/flexcan.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/drivers/net/can/flexcan.c b/drivers/net/can/flexcan.c