lkml.org 
[lkml]   [2006]   [Oct]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: pci_fixup_video change blows up on sparc64
From
From: <eiichiro.oiwa.nm@hitachi.com>
Date: Fri, 20 Oct 2006 23:20:21 +0900

> + /*
> + * From information provided by
> + * "David Miller" <davem@davemloft.net>
> + * 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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-10-20 21:35    [from the cache]
©2003-2011 Jasper Spaans