Gaelic, possibly a diminutive of Adhamh, the Gaelic form of Adam. Alternatively it might be from the Gaelic for "little horror".
Ádhamhnán is Anglicized as Eunan and its derivative Eòdhnag is Anglicized as Hughie.