Skip to contentSkip to conversation

tw32_f() in tg3_write_mem()

DISCUSSION David S. Miller 1 participant 1 message Apr 30, 2006

Subsystems (2)
lore
Share & tools
lore

David S. Miller

author maintainer
#0 lore raw

At least for the TG3PCI_MEM_WIN_DATA register, I don't know how safe it is to use tw32_f() there. Reads from a location can have side effects, so doing a forced readback after a write could be dangerous.

And it isn't needed, as the tw32_f() done as we set the TG3PCI_MEM_WIN_BASE_ADDR back to zero will flush all posted writes.

Agreed?