dwc-xlgmac.h (d0034a7a4ac7fae708146ac0059b9c47a1543f0d) dwc-xlgmac.h (766607570becbd26cab6d66a544dd8d0d964df5a)
1/* Synopsys DesignWare Core Enterprise Ethernet (XLGMAC) Driver
2 *
3 * Copyright (c) 2017 Synopsys, Inc. (www.synopsys.com)
4 *
5 * This program is dual-licensed; you may select either version 2 of
6 * the GNU General Public License ("GPL") or BSD license ("BSD").
7 *
8 * This Synopsys DWC XLGMAC software driver and associated documentation

--- 396 unchanged lines hidden (view full) ---

405
406 int (*enable_int)(struct xlgmac_channel *channel,
407 enum xlgmac_int int_id);
408 int (*disable_int)(struct xlgmac_channel *channel,
409 enum xlgmac_int int_id);
410 void (*dev_xmit)(struct xlgmac_channel *channel);
411 int (*dev_read)(struct xlgmac_channel *channel);
412
1/* Synopsys DesignWare Core Enterprise Ethernet (XLGMAC) Driver
2 *
3 * Copyright (c) 2017 Synopsys, Inc. (www.synopsys.com)
4 *
5 * This program is dual-licensed; you may select either version 2 of
6 * the GNU General Public License ("GPL") or BSD license ("BSD").
7 *
8 * This Synopsys DWC XLGMAC software driver and associated documentation

--- 396 unchanged lines hidden (view full) ---

405
406 int (*enable_int)(struct xlgmac_channel *channel,
407 enum xlgmac_int int_id);
408 int (*disable_int)(struct xlgmac_channel *channel,
409 enum xlgmac_int int_id);
410 void (*dev_xmit)(struct xlgmac_channel *channel);
411 int (*dev_read)(struct xlgmac_channel *channel);
412
413 int (*set_mac_address)(struct xlgmac_pdata *pdata, u8 *addr);
413 int (*set_mac_address)(struct xlgmac_pdata *pdata, const u8 *addr);
414 int (*config_rx_mode)(struct xlgmac_pdata *pdata);
415 int (*enable_rx_csum)(struct xlgmac_pdata *pdata);
416 int (*disable_rx_csum)(struct xlgmac_pdata *pdata);
417
418 /* For MII speed configuration */
419 int (*set_xlgmii_25000_speed)(struct xlgmac_pdata *pdata);
420 int (*set_xlgmii_40000_speed)(struct xlgmac_pdata *pdata);
421 int (*set_xlgmii_50000_speed)(struct xlgmac_pdata *pdata);

--- 239 unchanged lines hidden ---
414 int (*config_rx_mode)(struct xlgmac_pdata *pdata);
415 int (*enable_rx_csum)(struct xlgmac_pdata *pdata);
416 int (*disable_rx_csum)(struct xlgmac_pdata *pdata);
417
418 /* For MII speed configuration */
419 int (*set_xlgmii_25000_speed)(struct xlgmac_pdata *pdata);
420 int (*set_xlgmii_40000_speed)(struct xlgmac_pdata *pdata);
421 int (*set_xlgmii_50000_speed)(struct xlgmac_pdata *pdata);

--- 239 unchanged lines hidden ---