diff options
author | Linus Torvalds <torvalds@g5.osdl.org> | 2005-08-08 21:46:09 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-08-08 21:46:09 -0400 |
commit | dc836b5b6fcde95f750a4790d8200fabaf563dc9 (patch) | |
tree | 893613626de4794a7b13fe6793bdebc79420c433 /include/linux/pci.h | |
parent | 138b9dd1fd7b44176af4f3b672060c790b0eaf55 (diff) |
Revert "[PATCH] PCI: restore BAR values..."
Revert commit fec59a711eef002d4ef9eb8de09dd0a26986eb77, which is
breaking sparc64 that doesn't have a working pci_update_resource.
We'll re-do this after 2.6.13 when we'll do it all properly.
Diffstat (limited to 'include/linux/pci.h')
-rw-r--r-- | include/linux/pci.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/linux/pci.h b/include/linux/pci.h index 98bdd95fcee..8621cf42b46 100644 --- a/include/linux/pci.h +++ b/include/linux/pci.h | |||
@@ -225,7 +225,6 @@ | |||
225 | #define PCI_PM_CAP_PME_D3cold 0x8000 /* PME# from D3 (cold) */ | 225 | #define PCI_PM_CAP_PME_D3cold 0x8000 /* PME# from D3 (cold) */ |
226 | #define PCI_PM_CTRL 4 /* PM control and status register */ | 226 | #define PCI_PM_CTRL 4 /* PM control and status register */ |
227 | #define PCI_PM_CTRL_STATE_MASK 0x0003 /* Current power state (D0 to D3) */ | 227 | #define PCI_PM_CTRL_STATE_MASK 0x0003 /* Current power state (D0 to D3) */ |
228 | #define PCI_PM_CTRL_NO_SOFT_RESET 0x0004 /* No reset for D3hot->D0 */ | ||
229 | #define PCI_PM_CTRL_PME_ENABLE 0x0100 /* PME pin enable */ | 228 | #define PCI_PM_CTRL_PME_ENABLE 0x0100 /* PME pin enable */ |
230 | #define PCI_PM_CTRL_DATA_SEL_MASK 0x1e00 /* Data select (??) */ | 229 | #define PCI_PM_CTRL_DATA_SEL_MASK 0x1e00 /* Data select (??) */ |
231 | #define PCI_PM_CTRL_DATA_SCALE_MASK 0x6000 /* Data scale (??) */ | 230 | #define PCI_PM_CTRL_DATA_SCALE_MASK 0x6000 /* Data scale (??) */ |
@@ -817,9 +816,7 @@ int pci_set_mwi(struct pci_dev *dev); | |||
817 | void pci_clear_mwi(struct pci_dev *dev); | 816 | void pci_clear_mwi(struct pci_dev *dev); |
818 | int pci_set_dma_mask(struct pci_dev *dev, u64 mask); | 817 | int pci_set_dma_mask(struct pci_dev *dev, u64 mask); |
819 | int pci_set_consistent_dma_mask(struct pci_dev *dev, u64 mask); | 818 | int pci_set_consistent_dma_mask(struct pci_dev *dev, u64 mask); |
820 | void pci_update_resource(struct pci_dev *dev, struct resource *res, int resno); | ||
821 | int pci_assign_resource(struct pci_dev *dev, int i); | 819 | int pci_assign_resource(struct pci_dev *dev, int i); |
822 | void pci_restore_bars(struct pci_dev *dev); | ||
823 | 820 | ||
824 | /* ROM control related routines */ | 821 | /* ROM control related routines */ |
825 | void __iomem *pci_map_rom(struct pci_dev *pdev, size_t *size); | 822 | void __iomem *pci_map_rom(struct pci_dev *pdev, size_t *size); |