[rtems commit] libchip: Use public include path

Sebastian Huber sebh at rtems.org
Fri Jan 5 10:59:26 UTC 2018


Module:    rtems
Branch:    master
Commit:    230acc55a6fd958f41ce78b1021463824da8c6cf
Changeset: http://git.rtems.org/rtems/commit/?id=230acc55a6fd958f41ce78b1021463824da8c6cf

Author:    Chris Johns <chrisj at rtems.org>
Date:      Thu Jan  4 08:52:26 2018 +0100

libchip: Use public include path

Update #3254.

---

 c/src/libchip/ide/ata.c                | 2 +-
 c/src/libchip/ide/ata_util.c           | 3 +--
 c/src/libchip/network/cs8900.c         | 2 +-
 c/src/libchip/network/i82586.c         | 2 +-
 c/src/libchip/network/if_dc.c          | 2 +-
 c/src/libchip/network/if_fxp.c         | 2 +-
 c/src/libchip/serial/ns16550-context.c | 4 ++--
 c/src/libchip/serial/ns16550.c         | 4 ++--
 8 files changed, 10 insertions(+), 11 deletions(-)

diff --git a/c/src/libchip/ide/ata.c b/c/src/libchip/ide/ata.c
index 73293b3..7bb3f6e 100644
--- a/c/src/libchip/ide/ata.c
+++ b/c/src/libchip/ide/ata.c
@@ -22,7 +22,7 @@
 #include <rtems/blkdev.h>
 #include <libchip/ide_ctrl_io.h>
 #include <libchip/ide_ctrl_cfg.h>
-#include "ata_internal.h"
+#include <libchip/ata_internal.h>
 #include <libchip/ata.h>
 
 #define ATA_DEBUG 0
diff --git a/c/src/libchip/ide/ata_util.c b/c/src/libchip/ide/ata_util.c
index 771ab73..68e0f0b 100644
--- a/c/src/libchip/ide/ata_util.c
+++ b/c/src/libchip/ide/ata_util.c
@@ -9,13 +9,12 @@
  * http://www.rtems.org/license/LICENSE.
  */
 
-#include "ata_internal.h"
-
 #include <assert.h>
 #include <string.h>
 
 #include <libchip/ide_ctrl_io.h>
 #include <libchip/ide_ctrl_cfg.h>
+#include <libchip/ata_internal.h>
 
 /* ata_process_request_on_init_phase --
  *     Process the ATA request during system initialization. Request
diff --git a/c/src/libchip/network/cs8900.c b/c/src/libchip/network/cs8900.c
index 2552d77..5391a9c 100644
--- a/c/src/libchip/network/cs8900.c
+++ b/c/src/libchip/network/cs8900.c
@@ -27,7 +27,7 @@
 #include <string.h>
 #include <stdio.h>
 
-#include "cs8900.h"
+#include <libchip/cs8900.h>
 
 /*
  * We expect to be able to read a complete packet into an mbuf.
diff --git a/c/src/libchip/network/i82586.c b/c/src/libchip/network/i82586.c
index 8cb8140..e25f666 100644
--- a/c/src/libchip/network/i82586.c
+++ b/c/src/libchip/network/i82586.c
@@ -171,7 +171,7 @@ Mode of operation:
 #include <netinet/if_ether.h>
 
 #include "i82586reg.h"
-#include "i82586var.h"
+#include <libchip/i82586var.h>
 
 #if defined(ALIGNBYTES) && defined(ALIGN)
 /* FIXME: Redefine because some versions of 
diff --git a/c/src/libchip/network/if_dc.c b/c/src/libchip/network/if_dc.c
index 24f2fc1..1e13894 100644
--- a/c/src/libchip/network/if_dc.c
+++ b/c/src/libchip/network/if_dc.c
@@ -187,7 +187,7 @@
 #include <bsp/irq.h>
 
 
-#include "if_dcreg.h"
+#include <libchip/if_dcreg.h>
 
 
 #define DRIVER_PREFIX 	"tl"
diff --git a/c/src/libchip/network/if_fxp.c b/c/src/libchip/network/if_fxp.c
index 89df3ed..bd04533 100644
--- a/c/src/libchip/network/if_fxp.c
+++ b/c/src/libchip/network/if_fxp.c
@@ -92,7 +92,7 @@
 #include <net/if_types.h>
 
 #include "if_fxpreg.h"
-#include "if_fxpvar.h"
+#include <libchip/if_fxpvar.h>
 
 /*
  * some adaptation replacements for RTEMS
diff --git a/c/src/libchip/serial/ns16550-context.c b/c/src/libchip/serial/ns16550-context.c
index 3c41978..b42be96 100644
--- a/c/src/libchip/serial/ns16550-context.c
+++ b/c/src/libchip/serial/ns16550-context.c
@@ -36,8 +36,8 @@
 
 #include <bsp.h>
 
-#include "ns16550.h"
-#include "ns16550_p.h"
+#include <libchip/ns16550.h>
+#include <libchip/ns16550_p.h>
 
 #if defined(BSP_FEATURE_IRQ_EXTENSION)
   #include <bsp/irq.h>
diff --git a/c/src/libchip/serial/ns16550.c b/c/src/libchip/serial/ns16550.c
index e6c192a..b1e5892 100644
--- a/c/src/libchip/serial/ns16550.c
+++ b/c/src/libchip/serial/ns16550.c
@@ -43,8 +43,8 @@
 
 #include <bsp.h>
 
-#include "ns16550_p.h"
-#include "ns16550.h"
+#include <libchip/ns16550_p.h>
+#include <libchip/ns16550.h>
 
 #if defined(BSP_FEATURE_IRQ_EXTENSION)
   #include <bsp/irq.h>




More information about the vc mailing list