This patch adds in shared IRQ's. I added it in a manner that
goes along with the template code so it should only alter
the i810 driver.
Plus, the i810 drm isn't working in XFree 4.1.0. I get
regular oopsen when shutting down X leaving me with a blank
console (if I'm lucky). With shared interrupts I usually get
a wedged machine. This patch removes the NULL deref's that
were ruining my day, but I doubt this is the real answer.
I probably just hid the problem better.
Seems a lot of things get called with
dev->dev_private == NULL which gets dereferenced a lot.
Can someone who knows the template code better look into
this and perhaps come up with a real fix?
Thanks,
-Matt
drm.diff