From f3a5b4e40ce9738f0c6cc3766982ae65f2adca5f Mon Sep 17 00:00:00 2001
From: Michal Marek <mmarek@suse.cz>
Date: Mon, 9 Jan 2012 13:36:08 +0100
Subject: [PATCH] sfc: Provide dummy module parameters for compatibility with
 SLE11-SP1
References: bnc#720460
Patch-mainline: never

Signed-off-by: Michal Marek <mmarek@suse.cz>

diff --git a/drivers/net/sfc/nic.c b/drivers/net/sfc/nic.c
index 5ac9fa2..7fbab7e 100644
--- a/drivers/net/sfc/nic.c
+++ b/drivers/net/sfc/nic.c
@@ -41,6 +41,15 @@
 #define RX_DC_ENTRIES 64
 #define RX_DC_ENTRIES_ORDER 3
 
+/*
+ * Dummy options for compatibility with SLE11-SP1
+ */
+static int dummy;
+module_param_named(rx_xoff_thresh_bytes, dummy, int, 0644);
+MODULE_PARM_DESC(rx_xoff_thresh_bytes, "dummy option");
+module_param_named(rx_xon_thresh_bytes, dummy, int, 0644);
+MODULE_PARM_DESC(rx_xon_thresh_bytes, "dummy option");
+
 /* If EFX_MAX_INT_ERRORS internal errors occur within
  * EFX_INT_ERROR_EXPIRE seconds, we consider the NIC broken and
  * disable it.
