netdev
[Top] [All Lists]

Re: [PATCH 1/5] r8169: auto detect 32-bit slot

To: Francois Romieu <romieu@xxxxxxxxxxxxx>
Subject: Re: [PATCH 1/5] r8169: auto detect 32-bit slot
From: Jon Mason <jdmason@xxxxxxxxxx>
Date: Wed, 9 Mar 2005 22:14:10 -0600
Cc: Andi Kleen <ak@xxxxxx>, Stephen Hemminger <shemminger@xxxxxxxx>, netdev@xxxxxxxxxxx
In-reply-to: <20050309223943.GB9502@electric-eye.fr.zoreil.com>
Organization: IBM
References: <20050309112925.7f7900ab@dxpl.pdx.osdl.net> <200503091608.59122.jdmason@us.ibm.com> <20050309223943.GB9502@electric-eye.fr.zoreil.com>
Sender: netdev-bounce@xxxxxxxxxxx
User-agent: KMail/1.7.2
[...]
> The content of the Config2 register could be interesting.

I did a quick test and my 2 adapters (integrated and stand-alone) fail the DAC 
test.

+       if ((sizeof(dma_addr_t) > 4) &&
+           (RTL_R32(Config2) & (1<<3)) && 
+           !pci_set_dma_mask(pdev, DMA_64BIT_MASK)) {

For the above, I get 8 0 1 respectively.  So, my adapters fail because of the 
64bit slot test.  

If you like, I can try my stand-alone adapter in a 64bit slot of a ppc64 
system.

<Prev in Thread] Current Thread [Next in Thread>