Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 283337
b: refs/heads/master
c: 168c861
h: refs/heads/master
i:
  283335: 2c3c40b
v: v3
  • Loading branch information
Myron Stowe authored and Jesse Barnes committed Jan 6, 2012
1 parent a982806 commit 08bd595
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 13 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: cfce9fb808d7d25f6ea18a804eb71b08c7d777c1
refs/heads/master: 168c8619fd825d80d1753bf298d0b6aa8d739623
3 changes: 3 additions & 0 deletions trunk/arch/arm/common/it8152.c
Original file line number Diff line number Diff line change
Expand Up @@ -327,6 +327,9 @@ int __init it8152_pci_setup(int nr, struct pci_sys_data *sys)
*/
unsigned int pcibios_max_latency = 255;

/* ITE bridge requires setting latency timer to avoid early bus access
termination by PCI bus master devices
*/
void pcibios_set_master(struct pci_dev *dev)
{
u8 lat;
Expand Down
12 changes: 0 additions & 12 deletions trunk/arch/arm/include/asm/pci.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,18 +31,6 @@ static inline int pci_proc_domain(struct pci_bus *bus)
}
#endif /* CONFIG_PCI_DOMAINS */

#ifdef CONFIG_PCI_HOST_ITE8152
/* ITE bridge requires setting latency timer to avoid early bus access
termination by PIC bus mater devices
*/
extern void pcibios_set_master(struct pci_dev *dev);
#else
static inline void pcibios_set_master(struct pci_dev *dev)
{
/* No special bus mastering setup handling */
}
#endif

static inline void pcibios_penalize_isa_irq(int irq, int active)
{
/* We don't do dynamic PCI IRQ allocation */
Expand Down
7 changes: 7 additions & 0 deletions trunk/arch/arm/kernel/bios32.c
Original file line number Diff line number Diff line change
Expand Up @@ -571,6 +571,13 @@ void __init pci_common_init(struct hw_pci *hw)
}
}

#ifndef CONFIG_PCI_HOST_ITE8152
void pcibios_set_master(struct pci_dev *dev)
{
/* No special bus mastering setup handling */
}
#endif

char * __init pcibios_setup(char *str)
{
if (!strcmp(str, "debug")) {
Expand Down

0 comments on commit 08bd595

Please sign in to comment.