/* The Intel PIIX4 pirq rules are fairly simple: "pirq" is just a pointer to the config space.  */
static int pirq_piix_get(struct pci_dev *router, struct pci_dev *dev, int pirq)
/* The Intel PIIX4 pirq rules are fairly simple: "pirq" is just a pointer to the config space.  */
static int pirq_piix_get(struct pci_dev *router, struct pci_dev *dev, int pirq)
{
	u8 x;
	pci_read_config_byte(router, pirq, &x);
	return (x < 16) ? x : 0;
}