aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeff Garzik <jeff@garzik.org>2007-09-27 06:25:06 -0400
committerJens Axboe <axboe@carl.home.kernel.dk>2007-10-10 03:25:59 -0400
commit3084f0c6105a71e43225c36b4d97c1407988a242 (patch)
tree3c8add2abeebbfaf707d4255317671feed094ae0
parented155a95a4eb7d8dae61b64ab394314c5195e414 (diff)
drivers/block/umem: move private include away from include/linux
Move include/linux/umem.h to drivers/block, as umem.c is the only user, and its not an exported header. Move the PCI_{VENDOR,DEVICE}_ID_* constants to include/linux/pci_ids.h. Signed-off-by: Jeff Garzik <jeff@garzik.org>
-rw-r--r--drivers/block/umem.c2
-rw-r--r--drivers/block/umem.h (renamed from include/linux/umem.h)5
-rw-r--r--include/linux/pci_ids.h5
3 files changed, 6 insertions, 6 deletions
diff --git a/drivers/block/umem.c b/drivers/block/umem.c
index be7fac86725e..33ef7661e1c1 100644
--- a/drivers/block/umem.c
+++ b/drivers/block/umem.c
@@ -52,7 +52,7 @@
52#include <linux/fcntl.h> /* O_ACCMODE */ 52#include <linux/fcntl.h> /* O_ACCMODE */
53#include <linux/hdreg.h> /* HDIO_GETGEO */ 53#include <linux/hdreg.h> /* HDIO_GETGEO */
54 54
55#include <linux/umem.h> 55#include "umem.h"
56 56
57#include <asm/uaccess.h> 57#include <asm/uaccess.h>
58#include <asm/io.h> 58#include <asm/io.h>
diff --git a/include/linux/umem.h b/drivers/block/umem.h
index f36ebfc32bf6..3a3819afed92 100644
--- a/include/linux/umem.h
+++ b/drivers/block/umem.h
@@ -125,11 +125,6 @@ struct mm_dma_desc {
125 __le64 sem_control_bits; 125 __le64 sem_control_bits;
126} __attribute__((aligned(8))); 126} __attribute__((aligned(8)));
127 127
128#define PCI_VENDOR_ID_MICRO_MEMORY 0x1332
129#define PCI_DEVICE_ID_MICRO_MEMORY_5415CN 0x5415
130#define PCI_DEVICE_ID_MICRO_MEMORY_5425CN 0x5425
131#define PCI_DEVICE_ID_MICRO_MEMORY_6155 0x6155
132
133/* bits for card->flags */ 128/* bits for card->flags */
134#define UM_FLAG_DMA_IN_REGS 1 129#define UM_FLAG_DMA_IN_REGS 1
135#define UM_FLAG_NO_BYTE_STATUS 2 130#define UM_FLAG_NO_BYTE_STATUS 2
diff --git a/include/linux/pci_ids.h b/include/linux/pci_ids.h
index 55f307ffbf96..506b9ae241fd 100644
--- a/include/linux/pci_ids.h
+++ b/include/linux/pci_ids.h
@@ -1736,6 +1736,11 @@
1736 1736
1737#define PCI_VENDOR_ID_RADISYS 0x1331 1737#define PCI_VENDOR_ID_RADISYS 0x1331
1738 1738
1739#define PCI_VENDOR_ID_MICRO_MEMORY 0x1332
1740#define PCI_DEVICE_ID_MICRO_MEMORY_5415CN 0x5415
1741#define PCI_DEVICE_ID_MICRO_MEMORY_5425CN 0x5425
1742#define PCI_DEVICE_ID_MICRO_MEMORY_6155 0x6155
1743
1739#define PCI_VENDOR_ID_DOMEX 0x134a 1744#define PCI_VENDOR_ID_DOMEX 0x134a
1740#define PCI_DEVICE_ID_DOMEX_DMX3191D 0x0001 1745#define PCI_DEVICE_ID_DOMEX_DMX3191D 0x0001
1741 1746