For an enigma2 connection you have a few options if you only want to be able to watch the channels with no T guide then setting a tuxbox source is the easiest way however if you want a bit more such as full EPG as well as the abilty to record then you want to use a VU+ source.
I am not sure if i can post links but if i can they are below if i cannot then for each type this into google
Tuxbox = "XBMC Tuxbox" and you should get a wiki page first whcih explains how it set it up
VU+ = "xbmc add on vu+" which will also take you to the wiki but this time for VU+