Add pci_mapreg_map to attach method

Implement attach method to get I/O port resource
Implement add/remove IRQ method

use pci_intr_xxx implement IRQ create/remove method
Clear codes from FreeBSD
Fix selwake compatible with netbsd
Fix conflict type with declartive and implementation
Remove unused codes