pcidata is an X module that dumps the cfg registers through /proc . It was written by Alessandro Rubini .