Re: pci_fixup_video change blows up on sparc64

From: David Miller
Date: Fri Oct 20 2006 - 15:32:08 EST


From: <eiichiro.oiwa.nm@xxxxxxxxxxx>
Date: Fri, 20 Oct 2006 23:20:21 +0900

> + /*
> + * From information provided by
> + * "David Miller" <davem@xxxxxxxxxxxxx>
> + * The bridge control register is valid for PCI header
> + * type BRIDGE, or CARDBUS. Host to PCI controllers use
> + * PCI header type NORMAL.
> + */
> + pci_read_config_byte(bridge, PCI_HEADER_TYPE,
> + &config_header);

Use the software copy in "bridge->hdr_type", it's already been read
for you by the PCI device probing layer.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/