diff options
author | Ben Hutchings <bhutchings@solarflare.com> | 2008-12-12 21:31:36 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-12-12 21:56:19 -0800 |
commit | 2b2734dcbfd2dc6b6e4b00bc6971504d7657a4eb (patch) | |
tree | 4f84e0fe278badbf24e7e75572bf4c38b0bfa026 | |
parent | 23d30f027d1e8ad3bcd6192613122ce925947563 (diff) | |
download | linux-3.10-2b2734dcbfd2dc6b6e4b00bc6971504d7657a4eb.tar.gz linux-3.10-2b2734dcbfd2dc6b6e4b00bc6971504d7657a4eb.tar.bz2 linux-3.10-2b2734dcbfd2dc6b6e4b00bc6971504d7657a4eb.zip |
sfc: Remove unneeded register write
This was only ever needed for an FPGA version of Falcon.
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | drivers/net/sfc/falcon.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/net/sfc/falcon.c b/drivers/net/sfc/falcon.c index 271cbf8980a..1d160daf83b 100644 --- a/drivers/net/sfc/falcon.c +++ b/drivers/net/sfc/falcon.c @@ -2870,15 +2870,6 @@ int falcon_init_nic(struct efx_nic *efx) unsigned thresh; int rc; - /* Set up the address region register. This is only needed - * for the B0 FPGA, but since we are just pushing in the - * reset defaults this may as well be unconditional. */ - EFX_POPULATE_OWORD_4(temp, ADR_REGION0, 0, - ADR_REGION1, (1 << 16), - ADR_REGION2, (2 << 16), - ADR_REGION3, (3 << 16)); - falcon_write(efx, &temp, ADR_REGION_REG_KER); - /* Use on-chip SRAM */ falcon_read(efx, &temp, NIC_STAT_REG); EFX_SET_OWORD_FIELD(temp, ONCHIP_SRAM, 1); |