staging: et131x: Fix issues when USE_FBR0 is not defined
authorMark Einon <mark.einon@gmail.com>
Thu, 20 Oct 2011 00:18:42 +0000 (01:18 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Sun, 23 Oct 2011 08:07:11 +0000 (10:07 +0200)
commite592a9b06cdd9f1d5a6f8026f9ec8170ebf10ef5
treee4451adf00d0eb97a4e663b02d32c530b89f01a4
parent6abafc164c13d4fa9e009d401ad7537991295add
staging: et131x: Fix issues when USE_FBR0 is not defined

* Following on from making rx_ring.fbr use a common structure - reversed
the fbr[] array indicies so that index 1 = FBR0 and index 0 = FBR1,
which allows USE_FBR0 define to work.

* Also fixed up minor issues where indexes into the array were out of
bounds in some places.

* Removed rx_ring.fbr common stuct TODO item from README

Signed-off-by: Mark Einon <mark.einon@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/et131x/README
drivers/staging/et131x/et131x.c