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
0d80d688
Commit
0d80d688
authored
Nov 19, 2014
by
Alessandro Rubini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
userspace/include: move shw_io.h to libwr/
Signed-off-by:
Alessandro Rubini
<
rubini@gnudd.com
>
parent
7250eb33
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
11 additions
and
10 deletions
+11
-10
shw_io.h
userspace/include/libwr/shw_io.h
+4
-3
fan.c
userspace/libwr/fan.c
+1
-1
init.c
userspace/libwr/init.c
+1
-1
pio.c
userspace/libwr/pio.c
+1
-1
shw_io.c
userspace/libwr/shw_io.c
+1
-1
lm32-vuart.c
userspace/tools/lm32-vuart.c
+1
-1
wrs_version.c
userspace/tools/wrs_version.c
+1
-1
hal_main.c
userspace/wrsw_hal/hal_main.c
+1
-1
No files found.
userspace/include/shw_io.h
→
userspace/include/
libwr/
shw_io.h
View file @
0d80d688
...
...
@@ -20,11 +20,12 @@
* You should have received a copy of the GNU General Public License...
*/
#ifndef _SHW_IO_H_
#define _SHW_IO_H_
#ifndef _
LIBWR_
SHW_IO_H_
#define _
LIBWR_
SHW_IO_H_
#include <stdint.h>
#include <libwr/shw_io.h>
#include <libwr/pio.h>
...
...
@@ -116,5 +117,5 @@ const char* get_shw_info(const char cmd);
#endif
/* _SHW_IO_H_ */
#endif
/* _
LIBWR_
SHW_IO_H_ */
userspace/libwr/fan.c
View file @
0d80d688
...
...
@@ -35,7 +35,7 @@
#include "i2c_io.h"
#include "i2c_fpga_reg.h"
#include "fpga_io.h"
#include
"shw_io.h"
#include
<libwr/shw_io.h>
#include "spwm-regs.h"
#include "util.h"
...
...
userspace/libwr/init.c
View file @
0d80d688
...
...
@@ -5,7 +5,7 @@
#include <switch_hw.h>
#include "i2c_sfp.h"
#include
"shw_io.h"
#include
<libwr/shw_io.h>
int
shw_init
()
...
...
userspace/libwr/pio.c
View file @
0d80d688
...
...
@@ -12,7 +12,7 @@
#include <libwr/pio.h>
#include "trace.h"
#include
"shw_io.h"
#include
<libwr/shw_io.h>
#include "util.h"
volatile
uint8_t
*
_pio_base
[
4
][
NUM_PIO_BANKS
+
1
];
...
...
userspace/libwr/shw_io.c
View file @
0d80d688
...
...
@@ -24,7 +24,7 @@
#include <string.h>
#include <stdio.h>
#include
"shw_io.h"
#include
<libwr/shw_io.h>
#include "i2c_io.h"
#include "libshw_i2c.h"
...
...
userspace/tools/lm32-vuart.c
View file @
0d80d688
...
...
@@ -4,7 +4,7 @@
#include <unistd.h>
#include <stdlib.h>
#include
"shw_io.h"
#include
<libwr/shw_io.h>
#include "fpga_io.h"
#include "switch_hw.h"
...
...
userspace/tools/wrs_version.c
View file @
0d80d688
...
...
@@ -23,7 +23,7 @@
#include <stdio.h>
#include <string.h>
#include <shw_io.h>
#include <
libwr/
shw_io.h>
#include <libwr/hwiu.h>
#include "switch_hw.h"
#include "libsdbfs.h"
...
...
userspace/wrsw_hal/hal_main.c
View file @
0d80d688
...
...
@@ -12,7 +12,7 @@
#include <trace.h>
#include <switch_hw.h>
#include <shw_io.h>
#include <
libwr/
shw_io.h>
#include "wrsw_hal.h"
#include "rt_ipc.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