Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
W
White Rabbit Switch - Software
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
86
Issues
86
List
Board
Labels
Milestones
Merge Requests
4
Merge Requests
4
CI / CD
CI / CD
Pipelines
Schedules
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
White Rabbit Switch - Software
Commits
d8b2c1e0
Commit
d8b2c1e0
authored
Nov 19, 2014
by
Alessandro Rubini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
userspace/include: move pio.h to libwr/
Signed-off-by:
Alessandro Rubini
<
rubini@gnudd.com
>
parent
2bd8669c
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
12 additions
and
12 deletions
+12
-12
pio.h
userspace/include/libwr/pio.h
+3
-3
shw_io.h
userspace/include/shw_io.h
+1
-1
switch_hw.h
userspace/include/switch_hw.h
+1
-1
fan.c
userspace/libwr/fan.c
+1
-1
i2c_bitbang.h
userspace/libwr/i2c_bitbang.h
+1
-1
i2c_io.c
userspace/libwr/i2c_io.c
+1
-1
i2c_sfp.c
userspace/libwr/i2c_sfp.c
+1
-1
pio.c
userspace/libwr/pio.c
+1
-1
shw_io.c
userspace/libwr/shw_io.c
+1
-1
hal_ports.c
userspace/wrsw_hal/hal_ports.c
+1
-1
No files found.
userspace/include/pio.h
→
userspace/include/
libwr/
pio.h
View file @
d8b2c1e0
#ifndef __CPU_IO_H
#define __CPU_IO_H
#ifndef __
LIBWR_
CPU_IO_H
#define __
LIBWR_
CPU_IO_H
#include <stdint.h>
...
...
@@ -96,4 +96,4 @@ static inline int shw_pio_setdir(const pio_pin_t *pin, int dir)
}
#endif /
/PIO_H
#endif
/
* __LIBWR_CPU_IO_H */
userspace/include/shw_io.h
View file @
d8b2c1e0
...
...
@@ -25,7 +25,7 @@
#include <stdint.h>
#include
"pio.h"
#include
<libwr/pio.h>
#define assert_init(proc) { int ret; if((ret = proc) < 0) return ret; }
...
...
userspace/include/switch_hw.h
View file @
d8b2c1e0
#ifndef __SWITCH_HW_H
#define __SWITCH_HW_H
#include
"pio.h"
#include
<libwr/pio.h>
#include "trace.h"
#include "pps_gen.h"
#include <libwr/fan.h>
...
...
userspace/libwr/fan.c
View file @
d8b2c1e0
...
...
@@ -26,7 +26,7 @@
#include <unistd.h>
#include <trace.h>
#include <pio.h>
#include <
libwr/
pio.h>
#include <libwr/fan.h>
#include <at91_softpwm.h>
...
...
userspace/libwr/i2c_bitbang.h
View file @
d8b2c1e0
...
...
@@ -6,7 +6,7 @@
#ifndef I2C_CPU_BB_H
#define I2C_CPU_BB_H
#include <pio.h>
#include <
libwr/
pio.h>
#include "i2c.h"
struct
i2c_bitbang
{
...
...
userspace/libwr/i2c_io.c
View file @
d8b2c1e0
...
...
@@ -25,7 +25,7 @@
#include <unistd.h>
#include <errno.h>
#include <pio.h>
#include <
libwr/
pio.h>
#include <trace.h>
#include "i2c.h"
...
...
userspace/libwr/i2c_sfp.c
View file @
d8b2c1e0
...
...
@@ -13,7 +13,7 @@
#include <lauxlib.h>
#include <lualib.h>
#include
"pio.h"
#include
<libwr/pio.h>
#include "trace.h"
#include "util.h"
...
...
userspace/libwr/pio.c
View file @
d8b2c1e0
...
...
@@ -10,7 +10,7 @@
#include <at91/at91_pmc.h>
#include <at91/at91_pio.h>
#include
"pio.h"
#include
<libwr/pio.h>
#include "trace.h"
#include "shw_io.h"
#include "util.h"
...
...
userspace/libwr/shw_io.c
View file @
d8b2c1e0
...
...
@@ -19,7 +19,7 @@
*
* You should have received a copy of the GNU General Public License...
*/
#include <pio.h>
#include <
libwr/
pio.h>
#include <trace.h>
#include <string.h>
#include <stdio.h>
...
...
userspace/wrsw_hal/hal_ports.c
View file @
d8b2c1e0
...
...
@@ -18,7 +18,7 @@
/* LOTs of hardware includes */
#include <switch_hw.h>
#include <trace.h>
#include <pio.h>
#include <
libwr/
pio.h>
#include <sfp_lib.h>
#include <fpga_io.h>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment