Dunno if this is enough.
I'm trying to port this to my kernel... Having some real bad luck right now.