| 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@xxxxxxxxxxxxxxxxxxxxxxxxxx> |
| Organization: | IBM |
| References: | <20050309112925.7f7900ab@xxxxxxxxxxxxxxxxx> <200503091608.59122.jdmason@xxxxxxxxxx> <20050309223943.GB9502@xxxxxxxxxxxxxxxxxxxxxxxxxx> |
| 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> |
|---|---|---|
| ||
| Previous by Date: | Re: wireless 2.6 work, Luis R. Rodriguez |
|---|---|
| Next by Date: | Re: [PATCH 5/5] r8169: ethtool hardware statistics support, Jon Mason |
| Previous by Thread: | Re: [PATCH 1/5] r8169: auto detect 32-bit slot, Francois Romieu |
| Next by Thread: | Re: [PATCH 1/5] r8169: auto detect 32-bit slot, Francois Romieu |
| Indexes: | [Date] [Thread] [Top] [All Lists] |