From 9573ed00c6550e7e8b416a97af78acf50252f654 Mon Sep 17 00:00:00 2001 From: Andrew Rybchenko Date: Fri, 13 May 2016 06:59:20 +0000 Subject: [PATCH] sfxge(4): move ef10_mac_* to ef10_mac.c Submitted by: Andy Moreton Sponsored by: Solarflare Communications, Inc. MFC after: 1 week --- sys/dev/sfxge/common/{hunt_mac.c => ef10_mac.c} | 4 ++-- sys/modules/sfxge/Makefile | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) rename sys/dev/sfxge/common/{hunt_mac.c => ef10_mac.c} (99%) diff --git a/sys/dev/sfxge/common/hunt_mac.c b/sys/dev/sfxge/common/ef10_mac.c similarity index 99% rename from sys/dev/sfxge/common/hunt_mac.c rename to sys/dev/sfxge/common/ef10_mac.c index 267be0cc52df..6546ef1c99c7 100644 --- a/sys/dev/sfxge/common/hunt_mac.c +++ b/sys/dev/sfxge/common/ef10_mac.c @@ -35,7 +35,7 @@ __FBSDID("$FreeBSD$"); #include "efx_impl.h" -#if EFSYS_OPT_HUNTINGTON +#if EFSYS_OPT_HUNTINGTON || EFSYS_OPT_MEDFORD __checkReturn efx_rc_t ef10_mac_poll( @@ -749,4 +749,4 @@ ef10_mac_stats_update( #endif /* EFSYS_OPT_MAC_STATS */ -#endif /* EFSYS_OPT_HUNTINGTON */ +#endif /* EFSYS_OPT_HUNTINGTON || EFSYS_OPT_MEDFORD */ diff --git a/sys/modules/sfxge/Makefile b/sys/modules/sfxge/Makefile index 0aa90014f004..40b0c43ed3de 100644 --- a/sys/modules/sfxge/Makefile +++ b/sys/modules/sfxge/Makefile @@ -29,10 +29,10 @@ SRCS+= siena_mac.c siena_mcdi.c siena_nic.c siena_nvram.c siena_phy.c SRCS+= siena_sram.c siena_vpd.c SRCS+= siena_flash.h siena_impl.h -SRCS+= ef10_ev.c ef10_filter.c ef10_intr.c +SRCS+= ef10_ev.c ef10_filter.c ef10_intr.c ef10_mac.c SRCS+= ef10_impl.h -SRCS+= hunt_mac.c hunt_mcdi.c hunt_nic.c +SRCS+= hunt_mcdi.c hunt_nic.c SRCS+= hunt_nvram.c hunt_rx.c hunt_phy.c hunt_tx.c hunt_vpd.c SRCS+= hunt_impl.h