Hello!
Our camera have next componets:
- VITA5000 matrix
- FPGA Cyclone
- DM365
- PHY Marvell 8E1111
Camera may send data in RAW and H264/MJPEG formats.
When camera send RAW-data I need disable EMAC/PHY in DM365.
I look drivers/net/davinci_emac.c and found next functions:
/* emac_disable_interrupt : Turns of the interrupts from the
* peripheral to the CPU. we have four interrupt lines
* running to the CPU, we handle them as a set*/
static void emac_disable_interrupt(struct emac_dev *dev)
static void emac_enable_interrupt(struct emac_dev *dev, int ack_eoi)
But how can I use it from user-space? Or may be I have another way?
Thank you and excuse me for my bad english.