Re: [PATCH] Network driver for PMC-Sierra MSP71xx TSMAC.

From: Stephen Hemminger
Date: Thu Feb 24 2011 - 12:46:07 EST


On Thu, 24 Feb 2011 17:27:40 +0530
"Anoop P.A" <anoop.pa@xxxxxxxxx> wrote:

> +#if PMC_MSP_TSMAC
> +
> +config DESC_ALL_DSPRAM
> + bool "TX/RX Descriptors in DSPRAM"
> + depends on DMA_TO_SPRAM
> + default n
> + help
> + Turning this on puts TX/RX descriptors in DSPRAM. Otherwise they are in
> + DRAM.
> +
> +config TSMAC_LINELOOPBACK_FEATURE
> + bool "lineLoopBack command"
> + default n
> + help
> + Turning this on includes the lineLoopBack command in the driver's proc
> + interface. Echoing 1 into the lineLoopBack results in all rx packets
> + being transmitted out the same port.
> +
> +config TSMAC_TEST_CMDS
> + bool "test commands"
> + default n
> + help
> + Turning this on includes the testing commands in the driver's proc
> + interface. These are used internally by PMC.
> +

Too many config options. Usually no config options is best, or at
most one debug option.

The proc interface for testing should be replaced with debugfs
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/