Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 41207
b: refs/heads/master
c: e65e5fb
h: refs/heads/master
i:
  41205: 48e77cb
  41203: d48e331
  41199: 9de893c
v: v3
  • Loading branch information
Michael Ellerman authored and Greg Kroah-Hartman committed Dec 1, 2006
1 parent e0aff2c commit 04e917f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 9 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: 009af1ff78bfc30b9a27807dd0207fc32848218a
refs/heads/master: e65e5fb5ceb02aaea7b65bf8b3b0d0c9057718b6
8 changes: 0 additions & 8 deletions trunk/drivers/pci/msi.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,6 @@
#ifndef MSI_H
#define MSI_H

/*
* MSI-X Address Register
*/
#define PCI_MSIX_FLAGS_QSIZE 0x7FF
#define PCI_MSIX_FLAGS_ENABLE (1 << 15)
#define PCI_MSIX_FLAGS_BIRMASK (7 << 0)
#define PCI_MSIX_FLAGS_BITMASK (1 << 0)

#define PCI_MSIX_ENTRY_SIZE 16
#define PCI_MSIX_ENTRY_LOWER_ADDR_OFFSET 0
#define PCI_MSIX_ENTRY_UPPER_ADDR_OFFSET 4
Expand Down
6 changes: 6 additions & 0 deletions trunk/include/linux/pci_regs.h
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,12 @@
#define PCI_MSI_DATA_64 12 /* 16 bits of data for 64-bit devices */
#define PCI_MSI_MASK_BIT 16 /* Mask bits register */

/* MSI-X registers (these are at offset PCI_MSI_FLAGS) */
#define PCI_MSIX_FLAGS_QSIZE 0x7FF
#define PCI_MSIX_FLAGS_ENABLE (1 << 15)
#define PCI_MSIX_FLAGS_BIRMASK (7 << 0)
#define PCI_MSIX_FLAGS_BITMASK (1 << 0)

/* CompactPCI Hotswap Register */

#define PCI_CHSWP_CSR 2 /* Control and Status Register */
Expand Down

0 comments on commit 04e917f

Please sign in to comment.