aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/pnp.h
diff options
context:
space:
mode:
authorBjorn Helgaas <bjorn.helgaas@hp.com>2008-06-27 18:57:03 -0400
committerAndi Kleen <andi@basil.nowhere.org>2008-07-16 17:27:06 -0400
commit08c9f262f268f7948be13bf3a5bda1d635c649b4 (patch)
treedf3a05a859071e5dd407eca3b4b218be1425d7a3 /include/linux/pnp.h
parentb72ee1f11e373179ec703e0e5afaf585ed3a950a (diff)
PNP: define PNP-specific IORESOURCE_IO_* flags alongside IRQ, DMA, MEM
PNP previously defined PNP_PORT_FLAG_16BITADDR and PNP_PORT_FLAG_FIXED in a private header file, but put those flags in struct resource.flags fields. Better to make them IORESOURCE_IO_* flags like the existing IRQ, DMA, and MEM flags. Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com> Signed-off-by: Andi Kleen <ak@linux.intel.com> Acked-by: Rene Herman <rene.herman@gmail.com> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'include/linux/pnp.h')
-rw-r--r--include/linux/pnp.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/linux/pnp.h b/include/linux/pnp.h
index e033e1b14c2..e1454dabde1 100644
--- a/include/linux/pnp.h
+++ b/include/linux/pnp.h
@@ -182,9 +182,6 @@ static inline int pnp_dma_valid(struct pnp_dev *dev, unsigned int bar)
182} 182}
183 183
184 184
185#define PNP_PORT_FLAG_16BITADDR (1<<0)
186#define PNP_PORT_FLAG_FIXED (1<<1)
187
188struct pnp_port { 185struct pnp_port {
189 unsigned short min; /* min base number */ 186 unsigned short min; /* min base number */
190 unsigned short max; /* max base number */ 187 unsigned short max; /* max base number */