lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Wed, 6 Feb 2013 18:06:08 -0800
From:	"Michael Chan" <mchan@...adcom.com>
To:	"Hauke Mehrtens" <hauke@...ke-m.de>
cc:	davem@...emloft.net, mcarlson@...adcom.com, nsujir@...adcom.com,
	netdev@...r.kernel.org, m@...s.ch
Subject: Re: [PATCH v3 3/3] tg3: add support for Ethernet core in
 bcm4785

On Wed, 2013-02-06 at 23:46 +0100, Hauke Mehrtens wrote: 
> @@ -16165,7 +16256,8 @@ static int tg3_test_dma(struct tg3 *tp)
>                         if (tg3_flag(tp, 40BIT_DMA_BUG) &&
>                             GET_ASIC_REV(tp->pci_chip_rev_id) == ASIC_REV_5704)
>                                 tp->dma_rwctrl |= 0x8000;
> -                       else if (ccval == 0x6 || ccval == 0x7)
> +                       else if ((ccval == 0x6 || ccval == 0x7) ||
> +                                tg3_flag(tp, ONE_DMA_AT_ONCE))

This code path is only for the older 5703 and 5704.  So it won't be
applicable for this ethernet core, right?

>                                 tp->dma_rwctrl |= DMA_RWCTRL_ONE_DMA;
>  
>                         if (GET_ASIC_REV(tp->pci_chip_rev_id) == ASIC_REV_5703) 


--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ