source: trunk/target/linux/ifxmips/patches-2.6.30/400-atm_hack.patch @ 18259

Last change on this file since 18259 was 18259, checked in by blogic, 7 years ago

[ifxmips] adds dsl support, thank you infineon/lantiq

File size: 1.9 KB
  • arch/mips/mm/cache.c

    old new  
    5252void (*_dma_cache_inv)(unsigned long start, unsigned long size); 
    5353 
    5454EXPORT_SYMBOL(_dma_cache_wback_inv); 
     55EXPORT_SYMBOL(_dma_cache_wback); 
     56EXPORT_SYMBOL(_dma_cache_inv); 
    5557 
    5658#endif /* CONFIG_DMA_NONCOHERENT */ 
    5759 
  • net/atm/proc.c

    old new  
    151151 
    152152static void pvc_info(struct seq_file *seq, struct atm_vcc *vcc) 
    153153{ 
    154         static const char *class_name[] = { "off","UBR","CBR","VBR","ABR" }; 
     154        static const char *class_name[] = { "off","UBR","CBR","NTR-VBR","ABR","ANY","RT-VBR","UBR+","GFR" }; 
    155155        static const char *aal_name[] = { 
    156156                "---",  "1",    "2",    "3/4",  /*  0- 3 */ 
    157157                "???",  "5",    "???",  "???",  /*  4- 7 */ 
  • net/atm/common.c

    old new  
    5656        write_unlock_irq(&vcc_sklist_lock); 
    5757} 
    5858 
     59struct sk_buff* (*ifx_atm_alloc_tx)(struct atm_vcc *, unsigned int) = NULL; 
     60EXPORT_SYMBOL(ifx_atm_alloc_tx); 
    5961 
    6062static struct sk_buff *alloc_tx(struct atm_vcc *vcc,unsigned int size) 
    6163{ 
    6264        struct sk_buff *skb; 
    6365        struct sock *sk = sk_atm(vcc); 
    6466 
     67        if (ifx_atm_alloc_tx != NULL) 
     68                return ifx_atm_alloc_tx(vcc, size); 
     69 
    6570        if (atomic_read(&sk->sk_wmem_alloc) && !atm_may_send(vcc, size)) { 
    6671                pr_debug("Sorry: wmem_alloc = %d, size = %d, sndbuf = %d\n", 
    6772                        atomic_read(&sk->sk_wmem_alloc), size, 
Note: See TracBrowser for help on using the repository browser.