list of ayes/nays?
You can check that out by going to this URL and scrolling down for the list of the senators and how they voted: http://www.senate.gov/legislative/LIS/roll_call_lists/roll_call_vote_cfm.cfm?congress=110&session=1&vote=00187
Here are some sources for looking up votes in Congress.
U.S. Senate: Legislation & Records Home > Votes > Roll Call Vote -- look for S-1348 (the amnesty bill) and its amendments.
www.senate.gov/legislative/LIS/roll_call_lists/vote_menu_110_1.htm
Senate Amnesty Votes 2007: the Federation for American Immigration Reform will be updating this table of Senate Amnesty Votes daily.
www.fairus.org/site/PageServer?pagename=leg_senate_amnesty_votes_2007
U.S. House of Representatives Roll Call Votes - 110th Congress - 1st Session (2007)
clerk.house.gov/evs/2007/index.asp
Congress votes database -- This site from the Washington Post lets you browse every vote in the U.S. Congress since 1991.
projects.washingtonpost.com/congress/