mirror of
https://github.com/torvalds/linux.git
synced 2024-11-05 03:21:32 +00:00
177dfcd80f
The SFC4000 has a separate MAC for use at sub-10G speeds. Introduce an efx_mac_operations structure with implementations for the two MACs. Switch between the MACs as necessary. PHY settings are independent of the MAC, so add get_settings() and set_settings() to efx_phy_operations. Also add macs field to indicate which MACs the PHY is connected to. Signed-off-by: Ben Hutchings <bhutchings@solarflare.com> Signed-off-by: David S. Miller <davem@davemloft.net>
20 lines
652 B
C
20 lines
652 B
C
/****************************************************************************
|
|
* Driver for Solarflare Solarstorm network controllers and boards
|
|
* Copyright 2005-2006 Fen Systems Ltd.
|
|
* Copyright 2006-2008 Solarflare Communications Inc.
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify it
|
|
* under the terms of the GNU General Public License version 2 as published
|
|
* by the Free Software Foundation, incorporated herein by reference.
|
|
*/
|
|
|
|
#ifndef EFX_MAC_H
|
|
#define EFX_MAC_H
|
|
|
|
#include "net_driver.h"
|
|
|
|
extern struct efx_mac_operations falcon_gmac_operations;
|
|
extern struct efx_mac_operations falcon_xmac_operations;
|
|
|
|
#endif
|