|
@@ -360,7 +360,7 @@ struct stat_block {
|
|
|
#define MAX_TX_DESC (MAX_AVAILABLE_TXDS)
|
|
|
|
|
|
/* FIFO mappings for all possible number of fifos configured */
|
|
|
-static int fifo_map[][MAX_TX_FIFOS] = {
|
|
|
+static const int fifo_map[][MAX_TX_FIFOS] = {
|
|
|
{0, 0, 0, 0, 0, 0, 0, 0},
|
|
|
{0, 0, 0, 0, 1, 1, 1, 1},
|
|
|
{0, 0, 0, 1, 1, 1, 2, 2},
|
|
@@ -371,7 +371,7 @@ static int fifo_map[][MAX_TX_FIFOS] = {
|
|
|
{0, 1, 2, 3, 4, 5, 6, 7},
|
|
|
};
|
|
|
|
|
|
-static u16 fifo_selector[MAX_TX_FIFOS] = {0, 1, 3, 3, 7, 7, 7, 7};
|
|
|
+static const u16 fifo_selector[MAX_TX_FIFOS] = {0, 1, 3, 3, 7, 7, 7, 7};
|
|
|
|
|
|
/* Maintains Per FIFO related information. */
|
|
|
struct tx_fifo_config {
|