]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/serial_8250.h
Merge branch 'upstream'
[linux-2.6-omap-h63xx.git] / include / linux / serial_8250.h
index d8a023d804d4606810e5f79b969cc2fad14c69e9..cee302aefdb71b3efcbd8027af9a68b79189ddee 100644 (file)
@@ -12,7 +12,7 @@
 #define _LINUX_SERIAL_8250_H
 
 #include <linux/serial_core.h>
-#include <linux/device.h>
+#include <linux/platform_device.h>
 
 /*
  * This is the platform device platform_data structure
@@ -29,6 +29,22 @@ struct plat_serial8250_port {
        unsigned int    flags;          /* UPF_* flags */
 };
 
+/*
+ * Allocate 8250 platform device IDs.  Nothing is implied by
+ * the numbering here, except for the legacy entry being -1.
+ */
+enum {
+       PLAT8250_DEV_LEGACY = -1,
+       PLAT8250_DEV_PLATFORM,
+       PLAT8250_DEV_PLATFORM1,
+       PLAT8250_DEV_FOURPORT,
+       PLAT8250_DEV_ACCENT,
+       PLAT8250_DEV_BOCA,
+       PLAT8250_DEV_HUB6,
+       PLAT8250_DEV_MCA,
+       PLAT8250_DEV_AU1X00,
+};
+
 /*
  * This should be used by drivers which want to register
  * their own 8250 ports without registering their own