diff options
author | Felix Fietkau <nbd@nbd.name> | 2018-03-02 21:30:10 +0100 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2018-03-04 19:37:20 +0100 |
commit | f62d2b954970d40c577b70c22f522af046f26475 (patch) | |
tree | 06256249844d1aaab6f9041b3075b41f1ac204d0 /target/linux/ar71xx/files/drivers/net | |
parent | 11d70f0600921702af63c10a9482029b072dbf0b (diff) | |
download | upstream-f62d2b954970d40c577b70c22f522af046f26475.tar.gz upstream-f62d2b954970d40c577b70c22f522af046f26475.tar.bz2 upstream-f62d2b954970d40c577b70c22f522af046f26475.zip |
ar71xx: remove pdata->fifo_cfg*
The values are the same for all chipsets that use it
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'target/linux/ar71xx/files/drivers/net')
-rw-r--r-- | target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx/ag71xx_main.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx/ag71xx_main.c b/target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx/ag71xx_main.c index 95682b7641..54ec8e67b3 100644 --- a/target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx/ag71xx_main.c +++ b/target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx/ag71xx_main.c @@ -453,8 +453,8 @@ static void ag71xx_hw_setup(struct ag71xx *ag) /* setup FIFO configuration registers */ ag71xx_wr(ag, AG71XX_REG_FIFO_CFG0, FIFO_CFG0_INIT); if (pdata->is_ar724x) { - ag71xx_wr(ag, AG71XX_REG_FIFO_CFG1, pdata->fifo_cfg1); - ag71xx_wr(ag, AG71XX_REG_FIFO_CFG2, pdata->fifo_cfg2); + ag71xx_wr(ag, AG71XX_REG_FIFO_CFG1, 0x0010ffff); + ag71xx_wr(ag, AG71XX_REG_FIFO_CFG2, 0x015500aa); } else { ag71xx_wr(ag, AG71XX_REG_FIFO_CFG1, 0x0fff0000); ag71xx_wr(ag, AG71XX_REG_FIFO_CFG2, 0x00001fff); @@ -596,7 +596,7 @@ __ag71xx_link_adjust(struct ag71xx *ag, bool update) if (pdata->is_ar91xx) fifo3 = 0x00780fff; else if (pdata->is_ar724x) - fifo3 = pdata->fifo_cfg3; + fifo3 = 0x01f00140; else fifo3 = 0x008001ff; |