• Gavin Shan's avatar
    net/faraday: Support NCSI mode · bd466c3f
    Gavin Shan authored
    This makes ftgmac100 driver support NCSI mode. The NCSI is enabled
    on the interface if property "use-nc-si" or "use-ncsi" is found from
    the device node in device tree.
    
       * No PHY device is used when NCSI mode is enabled.
       * The NCSI device (struct ncsi_dev) is created when probing the
         device while it's enabled/started when the interface is brought
         up.
       * Hardware IP checksum dosn't work when NCSI mode is enabled. It
         is disabled on enabled NCSI.
    Signed-off-by: default avatarGavin Shan <gwshan@linux.vnet.ibm.com>
    Acked-by: default avatarJoel Stanley <joel@jms.id.au>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    bd466c3f
ftgmac100.c 36.9 KB