kernel: Move dev2unit() to a common place

It is required by both the firewire driver and recent versions of the
FreeBSD sound framework.
kernel: Document pci_find_extcap(9)

Inspired-from: FreeBSD's pci.9 manpage
Reviewed-by: swildner
pci.9: Some more cleanup.
drm: Remove some useless macros