Messages in this thread - First message in thread
- "Ooi, Joyce"
- "Ooi, Joyce"
- "Ooi, Joyce"
- "Ooi, Joyce"
- "Ooi, Joyce"
- "Ooi, Joyce"
- "Ooi, Joyce"
- "Ooi, Joyce"
- "Ooi, Joyce"
- "Ooi, Joyce"
- "Ooi, Joyce"
| | | Date | Wed, 8 Jul 2020 14:49:00 -0700 | From | Jakub Kicinski <> | Subject | Re: [PATCH v4 09/10] net: eth: altera: add msgdma prefetcher |
| |
On Wed, 8 Jul 2020 15:24:00 +0800 Ooi, Joyce wrote: > + /* get prefetcher rx poll frequency from device tree */ > + if (of_property_read_u32(pdev->dev.of_node, "rx-poll-freq", > + &priv->rx_poll_freq)) { > + dev_info(&pdev->dev, "Defaulting RX Poll Frequency to 128\n"); > + priv->rx_poll_freq = 128; > + } > + > + /* get prefetcher rx poll frequency from device tree */ > + if (of_property_read_u32(pdev->dev.of_node, "tx-poll-freq", > + &priv->tx_poll_freq)) { > + dev_info(&pdev->dev, "Defaulting TX Poll Frequency to 128\n"); > + priv->tx_poll_freq = 128; > + }
I'm no device tree expert but these look like config options rather than HW description. They also don't appear to be documented in the next patch.
| |