1 package PciIds::Address;
4 use PciIds::Address::Pci;
5 use PciIds::Address::PciClass;
9 $address =~ s/\/(mods|read|static)//;#Eat the prefix
12 if( $address =~ /^PC/ ) {
13 return PciIds::Address::Pci::new( $address );
14 } elsif( $address =~ /^PD/ ) {
15 return PciIds::Address::PciClass::new( $address );