Here is a website that explains how to determine what type of shank your machine has:
http://www.clotilde.com/pages/which_foot.html
Not all generic feet are equal in quality, however, so it can still be a good idea to simply take the machine to a dealership and see if they can help you get the right feet for it.