- drop unused duplicate include/cpu/generic/x86/pci_ops.h

- fix ifdef in x86/arch/pci_ops.h
- fix function prototypes to match declarations in include/device/pci.h

Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Ronald G. Minnich <rminnich@gmail.com>



git-svn-id: svn://coreboot.org/repository/LinuxBIOSv3@189 f3766cd6-281f-0410-b1cd-43a5c92072e9
This commit is contained in:
Stefan Reinauer 2007-03-05 17:53:45 +00:00
commit 4dac3a3dc2
3 changed files with 21 additions and 52 deletions

View file

@ -48,17 +48,12 @@ struct pci_operations {
/* Common pci bus operations */
struct pci_bus_operations {
u8 (*read8)(struct bus *pbus, unsigned char bus, int devfn, int where);
u16 (*read16)(struct bus *pbus, unsigned char bus, int devfn,
int where);
u32 (*read32)(struct bus *pbus, unsigned char bus, int devfn,
int where);
void (*write8)(struct bus *pbus, unsigned char bus, int devfn,
int where, u8 val);
void (*write16)(struct bus *pbus, unsigned char bus, int devfn,
int where, u16 val);
void (*write32)(struct bus *pbus, unsigned char bus, int devfn,
int where, u32 val);
u8 (*read8)(struct bus *pbus, int bus, int devfn, int where);
u16 (*read16)(struct bus *pbus, int bus, int devfn, int where);
u32 (*read32)(struct bus *pbus, int bus, int devfn, int where);
void (*write8)(struct bus *pbus, int bus, int devfn, int where, u8 val);
void (*write16)(struct bus *pbus, int bus, int devfn, int where, u16 val);
void (*write32)(struct bus *pbus, int bus, int devfn, int where, u32 val);
};
struct pci_driver {