From: Shannon Nelson <[email protected]>
Date: Tue, 9 May 2017 13:37:33 -0700
> @@ -66,6 +66,12 @@
> MODULE_DESCRIPTION("Broadcom BCM573xx network driver");
> MODULE_VERSION(DRV_MODULE_VERSION);
>
> +#ifdef CONFIG_SPARC
> +#define BNXT_DMA_ATTRS DMA_ATTR_WEAK_ORDERING
> +#else
> +#define BNXT_DMA_ATTRS 0
> +#endif
> +
I do not what this ifdef crap showing up in every driver just
to improve performance on one platform.
This needs to be generically done somehow in a way that
drivers get the correct setting automatically and without
ifdef checks.