--- zzzz-none-000/linux-2.4.17/include/linux/pci.h 2001-11-22 19:46:30.000000000 +0000 +++ sangam-fb-322/linux-2.4.17/include/linux/pci.h 2004-11-24 13:21:45.000000000 +0000 @@ -1,5 +1,5 @@ /* - * $Id: pci.h,v 1.87 1998/10/11 15:13:12 mj Exp $ + * $Id: pci.h,v 1.1.1.1 2003/06/23 22:18:42 jharrell Exp $ * * PCI defines and function prototypes * Copyright 1994, Drew Eckhardt @@ -378,6 +378,9 @@ char name[80]; /* device name */ char slot_name[8]; /* slot name */ +#if defined(__arm__) + u32 saved_state[16]; /* for saving the config space before suspend */ +#endif int active; /* ISAPnP: device is active */ int ro; /* ISAPnP: read only */ unsigned short regs; /* ISAPnP: supported registers */ @@ -460,9 +463,17 @@ struct pbus_set_ranges_data { +#if !defined(__arm__) int found_vga; +#else + int found_vga:1; + int prefetch_valid:1; +#endif unsigned long io_start, io_end; unsigned long mem_start, mem_end; +#if defined(__arm__) + unsigned long prefetch_start, prefetch_end; +#endif }; struct pci_device_id { @@ -570,6 +581,10 @@ int pci_restore_state(struct pci_dev *dev, u32 *buffer); int pci_set_power_state(struct pci_dev *dev, int state); int pci_enable_wake(struct pci_dev *dev, u32 state, int enable); +#if defined(__arm__) +int pci_generic_suspend_save(struct pci_dev *pdev, u32 state); +int pci_generic_resume_restore(struct pci_dev *pdev); +#endif /* Helper functions for low-level code (drivers/pci/setup-[bus,res].c) */