pcnet32 can't work on my machine recently. It says "architecture
does not support 32bit PCI busmaster DMA". There is a logic error
in it: pci_set_dma_mask() return 0 means return successfully.
Signed-off-by: Geliang Tang <redacted>
---
drivers/net/ethernet/amd/pcnet32.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
pcnet32 can't work on my machine recently. It says "architecture
does not support 32bit PCI busmaster DMA". There is a logic error
in it: pci_set_dma_mask() return 0 means return successfully.
Signed-off-by: Geliang Tang <redacted>
This driver doesn't call pci_set_dma_mask() in any of my tree(s).
pcnet32 can't work on my machine recently. It says "architecture
does not support 32bit PCI busmaster DMA". There is a logic error
in it: pci_set_dma_mask() return 0 means return successfully.
Signed-off-by: Geliang Tang <redacted>
This driver doesn't call pci_set_dma_mask() in any of my tree(s).
This patch is against linux-next tree. It was introduced by commit
9c034d4 'pcnet32: use pci_set_dma_mask insted of pci_dma_supported'.
pcnet32 can't work on my machine recently. It says "architecture
does not support 32bit PCI busmaster DMA". There is a logic error
in it: pci_set_dma_mask() return 0 means return successfully.
Signed-off-by: Geliang Tang <redacted>
This driver doesn't call pci_set_dma_mask() in any of my tree(s).
I failed. My system with pcnet32 boards was down with a dead power
supply and a visual review was not good enough. I missed that
pci_dma_supported returns 1 on success and pci_set_dma_mask returns 0 on
success. The original patch needs to have the ! removed as Geliang Tang
points out.
Acked-by: Don Fry <pcnet32@frontier.com>
pcnet32 can't work on my machine recently. It says "architecture
does not support 32bit PCI busmaster DMA". There is a logic error
in it: pci_set_dma_mask() return 0 means return successfully.
Signed-off-by: Geliang Tang <redacted>
This driver doesn't call pci_set_dma_mask() in any of my tree(s).
I failed. My system with pcnet32 boards was down with a dead power
supply and a visual review was not good enough. I missed that
pci_dma_supported returns 1 on success and pci_set_dma_mask returns 0 on
success. The original patch needs to have the ! removed as Geliang Tang
points out.
Acked-by: Don Fry <pcnet32@frontier.com>
Hi:
It has been a month since I submitted this patch. I'm wondering is it
still valid and wether it will be applied?
A recent commit targeting at the same problem (commit 1a47de6 various:
fix pci_set_dma_mask return value checking) has been applied. But my
commit, which I reported and submitted earlier, hasn't been applied. I'd
like to know if there's anything wrong with it?
Thank you!
- Geliang Tang