Could you post the output of the following command please
Devie manufacturers change the chips used in devices making revision changes but not model number changes, lspci will show us what wireless chip is actually on your Dlink DWL-510 wireless card.
if it's the Realtek rtl8180 chip then This driver
If it's an atheros chip that would be a different driver..
We need to see that output to direct you properly.