diff options
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/ioport.h | 1 | ||||
| -rw-r--r-- | include/linux/pci.h | 5 | ||||
| -rw-r--r-- | include/linux/pci_ids.h | 21 | ||||
| -rw-r--r-- | include/linux/pci_regs.h | 6 |
4 files changed, 22 insertions, 11 deletions
diff --git a/include/linux/ioport.h b/include/linux/ioport.h index b22790268b64..d377ea815d45 100644 --- a/include/linux/ioport.h +++ b/include/linux/ioport.h | |||
| @@ -112,6 +112,7 @@ struct resource_list { | |||
| 112 | /* PC/ISA/whatever - the normal PC address spaces: IO and memory */ | 112 | /* PC/ISA/whatever - the normal PC address spaces: IO and memory */ |
| 113 | extern struct resource ioport_resource; | 113 | extern struct resource ioport_resource; |
| 114 | extern struct resource iomem_resource; | 114 | extern struct resource iomem_resource; |
| 115 | extern int resource_alloc_from_bottom; | ||
| 115 | 116 | ||
| 116 | extern struct resource *request_resource_conflict(struct resource *root, struct resource *new); | 117 | extern struct resource *request_resource_conflict(struct resource *root, struct resource *new); |
| 117 | extern int request_resource(struct resource *root, struct resource *new); | 118 | extern int request_resource(struct resource *root, struct resource *new); |
diff --git a/include/linux/pci.h b/include/linux/pci.h index c8d95e369ff4..7454408c41b6 100644 --- a/include/linux/pci.h +++ b/include/linux/pci.h | |||
| @@ -541,7 +541,7 @@ struct pci_error_handlers { | |||
| 541 | struct module; | 541 | struct module; |
| 542 | struct pci_driver { | 542 | struct pci_driver { |
| 543 | struct list_head node; | 543 | struct list_head node; |
| 544 | char *name; | 544 | const char *name; |
| 545 | const struct pci_device_id *id_table; /* must be non-NULL for probe to be called */ | 545 | const struct pci_device_id *id_table; /* must be non-NULL for probe to be called */ |
| 546 | int (*probe) (struct pci_dev *dev, const struct pci_device_id *id); /* New device inserted */ | 546 | int (*probe) (struct pci_dev *dev, const struct pci_device_id *id); /* New device inserted */ |
| 547 | void (*remove) (struct pci_dev *dev); /* Device removed (NULL if not a hot-plug capable driver) */ | 547 | void (*remove) (struct pci_dev *dev); /* Device removed (NULL if not a hot-plug capable driver) */ |
| @@ -819,6 +819,9 @@ pci_power_t pci_target_state(struct pci_dev *dev); | |||
| 819 | int pci_prepare_to_sleep(struct pci_dev *dev); | 819 | int pci_prepare_to_sleep(struct pci_dev *dev); |
| 820 | int pci_back_from_sleep(struct pci_dev *dev); | 820 | int pci_back_from_sleep(struct pci_dev *dev); |
| 821 | bool pci_dev_run_wake(struct pci_dev *dev); | 821 | bool pci_dev_run_wake(struct pci_dev *dev); |
| 822 | bool pci_check_pme_status(struct pci_dev *dev); | ||
| 823 | void pci_wakeup_event(struct pci_dev *dev); | ||
| 824 | void pci_pme_wakeup_bus(struct pci_bus *bus); | ||
| 822 | 825 | ||
| 823 | static inline int pci_enable_wake(struct pci_dev *dev, pci_power_t state, | 826 | static inline int pci_enable_wake(struct pci_dev *dev, pci_power_t state, |
| 824 | bool enable) | 827 | bool enable) |
diff --git a/include/linux/pci_ids.h b/include/linux/pci_ids.h index 30d91838a198..87e2c2e7aed3 100644 --- a/include/linux/pci_ids.h +++ b/include/linux/pci_ids.h | |||
| @@ -767,6 +767,8 @@ | |||
| 767 | #define PCI_DEVICE_ID_ELSA_MICROLINK 0x1000 | 767 | #define PCI_DEVICE_ID_ELSA_MICROLINK 0x1000 |
| 768 | #define PCI_DEVICE_ID_ELSA_QS3000 0x3000 | 768 | #define PCI_DEVICE_ID_ELSA_QS3000 0x3000 |
| 769 | 769 | ||
| 770 | #define PCI_VENDOR_ID_STMICRO 0x104A | ||
| 771 | |||
| 770 | #define PCI_VENDOR_ID_BUSLOGIC 0x104B | 772 | #define PCI_VENDOR_ID_BUSLOGIC 0x104B |
| 771 | #define PCI_DEVICE_ID_BUSLOGIC_MULTIMASTER_NC 0x0140 | 773 | #define PCI_DEVICE_ID_BUSLOGIC_MULTIMASTER_NC 0x0140 |
| 772 | #define PCI_DEVICE_ID_BUSLOGIC_MULTIMASTER 0x1040 | 774 | #define PCI_DEVICE_ID_BUSLOGIC_MULTIMASTER 0x1040 |
| @@ -1251,6 +1253,8 @@ | |||
| 1251 | #define PCI_DEVICE_ID_NVIDIA_GEFORCE_FX_GO5700_2 0x0348 | 1253 | #define PCI_DEVICE_ID_NVIDIA_GEFORCE_FX_GO5700_2 0x0348 |
| 1252 | #define PCI_DEVICE_ID_NVIDIA_QUADRO_FX_GO1000 0x034C | 1254 | #define PCI_DEVICE_ID_NVIDIA_QUADRO_FX_GO1000 0x034C |
| 1253 | #define PCI_DEVICE_ID_NVIDIA_QUADRO_FX_1100 0x034E | 1255 | #define PCI_DEVICE_ID_NVIDIA_QUADRO_FX_1100 0x034E |
| 1256 | #define PCI_DEVICE_ID_NVIDIA_MCP55_BRIDGE_V0 0x0360 | ||
| 1257 | #define PCI_DEVICE_ID_NVIDIA_MCP55_BRIDGE_V4 0x0364 | ||
| 1254 | #define PCI_DEVICE_ID_NVIDIA_NVENET_15 0x0373 | 1258 | #define PCI_DEVICE_ID_NVIDIA_NVENET_15 0x0373 |
| 1255 | #define PCI_DEVICE_ID_NVIDIA_NFORCE_MCP61_SATA 0x03E7 | 1259 | #define PCI_DEVICE_ID_NVIDIA_NFORCE_MCP61_SATA 0x03E7 |
| 1256 | #define PCI_DEVICE_ID_NVIDIA_NFORCE_MCP61_SMBUS 0x03EB | 1260 | #define PCI_DEVICE_ID_NVIDIA_NFORCE_MCP61_SMBUS 0x03EB |
| @@ -2458,9 +2462,10 @@ | |||
| 2458 | #define PCI_DEVICE_ID_INTEL_82840_HB 0x1a21 | 2462 | #define PCI_DEVICE_ID_INTEL_82840_HB 0x1a21 |
| 2459 | #define PCI_DEVICE_ID_INTEL_82845_HB 0x1a30 | 2463 | #define PCI_DEVICE_ID_INTEL_82845_HB 0x1a30 |
| 2460 | #define PCI_DEVICE_ID_INTEL_IOAT 0x1a38 | 2464 | #define PCI_DEVICE_ID_INTEL_IOAT 0x1a38 |
| 2461 | #define PCI_DEVICE_ID_INTEL_CPT_SMBUS 0x1c22 | 2465 | #define PCI_DEVICE_ID_INTEL_COUGARPOINT_SMBUS 0x1c22 |
| 2462 | #define PCI_DEVICE_ID_INTEL_CPT_LPC_MIN 0x1c41 | 2466 | #define PCI_DEVICE_ID_INTEL_COUGARPOINT_LPC_MIN 0x1c41 |
| 2463 | #define PCI_DEVICE_ID_INTEL_CPT_LPC_MAX 0x1c5f | 2467 | #define PCI_DEVICE_ID_INTEL_COUGARPOINT_LPC_MAX 0x1c5f |
| 2468 | #define PCI_DEVICE_ID_INTEL_PATSBURG_LPC 0x1d40 | ||
| 2464 | #define PCI_DEVICE_ID_INTEL_82801AA_0 0x2410 | 2469 | #define PCI_DEVICE_ID_INTEL_82801AA_0 0x2410 |
| 2465 | #define PCI_DEVICE_ID_INTEL_82801AA_1 0x2411 | 2470 | #define PCI_DEVICE_ID_INTEL_82801AA_1 0x2411 |
| 2466 | #define PCI_DEVICE_ID_INTEL_82801AA_3 0x2413 | 2471 | #define PCI_DEVICE_ID_INTEL_82801AA_3 0x2413 |
| @@ -2669,9 +2674,9 @@ | |||
| 2669 | #define PCI_DEVICE_ID_INTEL_ICH10_3 0x3a1a | 2674 | #define PCI_DEVICE_ID_INTEL_ICH10_3 0x3a1a |
| 2670 | #define PCI_DEVICE_ID_INTEL_ICH10_4 0x3a30 | 2675 | #define PCI_DEVICE_ID_INTEL_ICH10_4 0x3a30 |
| 2671 | #define PCI_DEVICE_ID_INTEL_ICH10_5 0x3a60 | 2676 | #define PCI_DEVICE_ID_INTEL_ICH10_5 0x3a60 |
| 2672 | #define PCI_DEVICE_ID_INTEL_PCH_LPC_MIN 0x3b00 | 2677 | #define PCI_DEVICE_ID_INTEL_5_3400_SERIES_LPC_MIN 0x3b00 |
| 2673 | #define PCI_DEVICE_ID_INTEL_PCH_LPC_MAX 0x3b1f | 2678 | #define PCI_DEVICE_ID_INTEL_5_3400_SERIES_LPC_MAX 0x3b1f |
| 2674 | #define PCI_DEVICE_ID_INTEL_PCH_SMBUS 0x3b30 | 2679 | #define PCI_DEVICE_ID_INTEL_5_3400_SERIES_SMBUS 0x3b30 |
| 2675 | #define PCI_DEVICE_ID_INTEL_IOAT_SNB 0x402f | 2680 | #define PCI_DEVICE_ID_INTEL_IOAT_SNB 0x402f |
| 2676 | #define PCI_DEVICE_ID_INTEL_5100_16 0x65f0 | 2681 | #define PCI_DEVICE_ID_INTEL_5100_16 0x65f0 |
| 2677 | #define PCI_DEVICE_ID_INTEL_5100_21 0x65f5 | 2682 | #define PCI_DEVICE_ID_INTEL_5100_21 0x65f5 |
| @@ -2680,8 +2685,8 @@ | |||
| 2680 | #define PCI_DEVICE_ID_INTEL_5400_FBD0 0x4035 | 2685 | #define PCI_DEVICE_ID_INTEL_5400_FBD0 0x4035 |
| 2681 | #define PCI_DEVICE_ID_INTEL_5400_FBD1 0x4036 | 2686 | #define PCI_DEVICE_ID_INTEL_5400_FBD1 0x4036 |
| 2682 | #define PCI_DEVICE_ID_INTEL_IOAT_SCNB 0x65ff | 2687 | #define PCI_DEVICE_ID_INTEL_IOAT_SCNB 0x65ff |
| 2683 | #define PCI_DEVICE_ID_INTEL_TOLAPAI_0 0x5031 | 2688 | #define PCI_DEVICE_ID_INTEL_EP80579_0 0x5031 |
| 2684 | #define PCI_DEVICE_ID_INTEL_TOLAPAI_1 0x5032 | 2689 | #define PCI_DEVICE_ID_INTEL_EP80579_1 0x5032 |
| 2685 | #define PCI_DEVICE_ID_INTEL_82371SB_0 0x7000 | 2690 | #define PCI_DEVICE_ID_INTEL_82371SB_0 0x7000 |
| 2686 | #define PCI_DEVICE_ID_INTEL_82371SB_1 0x7010 | 2691 | #define PCI_DEVICE_ID_INTEL_82371SB_1 0x7010 |
| 2687 | #define PCI_DEVICE_ID_INTEL_82371SB_2 0x7020 | 2692 | #define PCI_DEVICE_ID_INTEL_82371SB_2 0x7020 |
diff --git a/include/linux/pci_regs.h b/include/linux/pci_regs.h index 455b9ccdfca7..af83076c31a6 100644 --- a/include/linux/pci_regs.h +++ b/include/linux/pci_regs.h | |||
| @@ -300,12 +300,14 @@ | |||
| 300 | #define PCI_MSI_DATA_64 12 /* 16 bits of data for 64-bit devices */ | 300 | #define PCI_MSI_DATA_64 12 /* 16 bits of data for 64-bit devices */ |
| 301 | #define PCI_MSI_MASK_64 16 /* Mask bits register for 64-bit devices */ | 301 | #define PCI_MSI_MASK_64 16 /* Mask bits register for 64-bit devices */ |
| 302 | 302 | ||
| 303 | /* MSI-X registers (these are at offset PCI_MSIX_FLAGS) */ | 303 | /* MSI-X registers */ |
| 304 | #define PCI_MSIX_FLAGS 2 | 304 | #define PCI_MSIX_FLAGS 2 |
| 305 | #define PCI_MSIX_FLAGS_QSIZE 0x7FF | 305 | #define PCI_MSIX_FLAGS_QSIZE 0x7FF |
| 306 | #define PCI_MSIX_FLAGS_ENABLE (1 << 15) | 306 | #define PCI_MSIX_FLAGS_ENABLE (1 << 15) |
| 307 | #define PCI_MSIX_FLAGS_MASKALL (1 << 14) | 307 | #define PCI_MSIX_FLAGS_MASKALL (1 << 14) |
| 308 | #define PCI_MSIX_FLAGS_BIRMASK (7 << 0) | 308 | #define PCI_MSIX_TABLE 4 |
| 309 | #define PCI_MSIX_PBA 8 | ||
| 310 | #define PCI_MSIX_FLAGS_BIRMASK (7 << 0) | ||
| 309 | 311 | ||
| 310 | /* CompactPCI Hotswap Register */ | 312 | /* CompactPCI Hotswap Register */ |
| 311 | 313 | ||
