In the Linksys web configuration, on the Wireless 'tab' over at the right just below the tabs click on Advanced Wireless Settings. On that page set AP Isolation to On. Save your settings. Now wireless clients can't see each other.
To keep the wired and wireless separate you'll need to configure a firewall rule in the FVS338, to allow the IP you gave the WRT54G's WAN port access only to the Netgear's WAN, not to any of the LAN.