put pci_device_has_kernel_driver(dev) into #if NV_TEST_FOR_KERNEL_DRIVER
at least for now there is nothing that keeps the nv driver from running
if a kernel driver other than vga is attached
Now this works again on macppc ( and x86 if you use for example genfb )
convert an mmap() to drmMap().
Fix format strings for uint32_t.
Nuke bogus redefinitions of uint32/64_t.
CARD32 uses non-canonical typedefs on i386, so explicitly cast to
uint32_t to fix build with clang.
add -1 to enum ORNum to make clang happy
more clang appeasement