The text of the amendment: "None of the funds made available in this Act for customs and border protection fencing, infrastructure, and technology may be used for anything but at least two layers of reinforced fencing and roads, pursuant to section 102 of Public Law 104-208." Here's a link to the vote (ayes 149, noes 272, not voting 16):
http://thomas.loc.gov/cgi-bin/query/F?r110:1:./temp/~r110WjylwP:e210541: