bcm63xx: add basic bcm6362 support
[openwrt.git] / target / linux / brcm63xx / patches-3.3 / 414-bcm63xx_enet-split-dma-registers-access.patch
index 483ff3814040e4095f03451fc9f9706a4bb38ca4..90999fa9525f3a316cf1c91e1e5e922645bac766 100644 (file)
@@ -50,17 +50,17 @@ Subject: [PATCH 30/63] bcm63xx_enet: split dma registers access.
                if (ret)
 --- a/arch/mips/include/asm/mach-bcm63xx/bcm63xx_cpu.h
 +++ b/arch/mips/include/asm/mach-bcm63xx/bcm63xx_cpu.h
-@@ -136,7 +136,9 @@ enum bcm63xx_regs_set {
- #define RSET_DSL_SIZE                 4096
- #define RSET_WDT_SIZE                 12
+@@ -172,7 +172,9 @@ enum bcm63xx_regs_set {
+ #define BCM_6358_RSET_SPI_SIZE                1804
+ #define BCM_6368_RSET_SPI_SIZE                1804
  #define RSET_ENET_SIZE                        2048
 -#define RSET_ENETDMA_SIZE             2048
 +#define RSET_ENETDMA_SIZE             256
 +#define RSET_ENETDMAC_SIZE(chans)     (16 * (chans))
 +#define RSET_ENETDMAS_SIZE(chans)     (16 * (chans))
  #define RSET_ENETSW_SIZE              65536
- #define RSET_SPI_SIZE                 256
  #define RSET_UART_SIZE                        24
+ #define RSET_HSSPI_SIZE                       1536
 --- a/drivers/net/ethernet/broadcom/bcm63xx_enet.c
 +++ b/drivers/net/ethernet/broadcom/bcm63xx_enet.c
 @@ -41,8 +41,8 @@ static int copybreak __read_mostly = 128