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
cf028aae
Commit
cf028aae
authored
Nov 19, 2014
by
Alessandro Rubini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
userspace/include: move switch_hw.h to libwr/
Signed-off-by:
Alessandro Rubini
<
rubini@gnudd.com
>
parent
0d80d688
Show whitespace changes
Inline
Side-by-side
Showing
17 changed files
with
20 additions
and
20 deletions
+20
-20
switch_hw.h
userspace/include/libwr/switch_hw.h
+3
-3
fpga_io.c
userspace/libwr/fpga_io.c
+1
-1
init.c
userspace/libwr/init.c
+1
-1
pps_gen.c
userspace/libwr/pps_gen.c
+2
-2
lm32-vuart.c
userspace/tools/lm32-vuart.c
+1
-1
spll_dbg_proxy.c
userspace/tools/spll_dbg_proxy.c
+1
-1
wr_phytool.c
userspace/tools/wr_phytool.c
+1
-1
wrs_pstats.c
userspace/tools/wrs_pstats.c
+1
-1
wrs_version.c
userspace/tools/wrs_version.c
+1
-1
wrs_vlans.c
userspace/tools/wrs_vlans.c
+1
-1
gps_resync.c
userspace/wrsw_hal/gps_resync/gps_resync.c
+1
-1
hal_main.c
userspace/wrsw_hal/hal_main.c
+1
-1
hal_ports.c
userspace/wrsw_hal/hal_ports.c
+1
-1
hal_timing.c
userspace/wrsw_hal/hal_timing.c
+1
-1
rtu_drv.c
userspace/wrsw_rtud/rtu_drv.c
+1
-1
rtu_ext_drv.c
userspace/wrsw_rtud/rtu_ext_drv.c
+1
-1
rtud.c
userspace/wrsw_rtud/rtud.c
+1
-1
No files found.
userspace/include/switch_hw.h
→
userspace/include/
libwr/
switch_hw.h
View file @
cf028aae
#ifndef __SWITCH_HW_H
#define __SWITCH_HW_H
#ifndef __
LIBWR_
SWITCH_HW_H
#define __
LIBWR_
SWITCH_HW_H
#include <libwr/pio.h>
#include "trace.h"
...
...
@@ -17,4 +17,4 @@
/* return 0 on success */
int
shw_init
(
void
);
int
shw_fpga_mmap_init
(
void
);
#endif
#endif
/* __LIBWR_SWITCH_HW_H */
userspace/libwr/fpga_io.c
View file @
cf028aae
...
...
@@ -9,7 +9,7 @@
#include <fcntl.h>
#include <poll.h>
#include <switch_hw.h>
#include <
libwr/
switch_hw.h>
#include <fpga_io.h>
...
...
userspace/libwr/init.c
View file @
cf028aae
...
...
@@ -3,7 +3,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <switch_hw.h>
#include <
libwr/
switch_hw.h>
#include "i2c_sfp.h"
#include <libwr/shw_io.h>
...
...
userspace/libwr/pps_gen.c
View file @
cf028aae
...
...
@@ -13,7 +13,7 @@
#include <fpga_io.h>
#include <regs/ppsg-regs.h>
#include <switch_hw.h>
#include <
libwr/
switch_hw.h>
#include <trace.h>
/* Default width (in 8ns units) of the pulses on the PPS output */
...
...
userspace/tools/lm32-vuart.c
View file @
cf028aae
...
...
@@ -6,7 +6,7 @@
#include <libwr/shw_io.h>
#include "fpga_io.h"
#include
"switch_hw.h"
#include
<libwr/switch_hw.h>
#define VUART_BASE 0x10000
#define VUART_TDR 0x10
...
...
userspace/tools/spll_dbg_proxy.c
View file @
cf028aae
...
...
@@ -25,7 +25,7 @@
#include <fpga_io.h>
#include <regs/softpll-regs.h>
#include
"switch_hw.h"
#include
<libwr/switch_hw.h>
/* TCP Port to listen on */
#define MY_PORT 12345
...
...
userspace/tools/wr_phytool.c
View file @
cf028aae
...
...
@@ -30,7 +30,7 @@
#include "rt_ipc.h"
#include "hal_client.h"
#include
"switch_hw.h"
#include
<libwr/switch_hw.h>
#define WRS3_FPGA_BASE 0x10000000
#define WRS3_FPGA_SIZE 0x100000
...
...
userspace/tools/wrs_pstats.c
View file @
cf028aae
...
...
@@ -11,7 +11,7 @@
#include <fcntl.h>
#include <stdlib.h>
#include <sys/ioctl.h>
#include <switch_hw.h>
#include <
libwr/
switch_hw.h>
#include <hal_client.h>
static
void
parse_sysfs
(
int
init
);
...
...
userspace/tools/wrs_version.c
View file @
cf028aae
...
...
@@ -25,7 +25,7 @@
#include <libwr/shw_io.h>
#include <libwr/hwiu.h>
#include
"switch_hw.h"
#include
<libwr/switch_hw.h>
#include "libsdbfs.h"
#define SDBFS_NAME "/dev/mtd5ro"
...
...
userspace/tools/wrs_vlans.c
View file @
cf028aae
...
...
@@ -30,7 +30,7 @@
#include <rtud_exports.h>
#include "regs/endpoint-regs.h"
#include
"switch_hw.h"
#include
<libwr/switch_hw.h>
#include "fpga_io.h"
#include "wrs_vlans.h"
...
...
userspace/wrsw_hal/gps_resync/gps_resync.c
View file @
cf028aae
...
...
@@ -8,7 +8,7 @@
#include "serial.h"
#include "nmea.h"
#include <switch_hw.h>
#include <
libwr/
switch_hw.h>
void
read_nmea_msg
(
char
*
msgbuf
,
int
len
)
{
...
...
userspace/wrsw_hal/hal_main.c
View file @
cf028aae
...
...
@@ -11,7 +11,7 @@
#include <sys/stat.h>
#include <trace.h>
#include <switch_hw.h>
#include <
libwr/
switch_hw.h>
#include <libwr/shw_io.h>
#include "wrsw_hal.h"
...
...
userspace/wrsw_hal/hal_ports.c
View file @
cf028aae
...
...
@@ -16,7 +16,7 @@
#include <linux/if.h>
/* LOTs of hardware includes */
#include <switch_hw.h>
#include <
libwr/
switch_hw.h>
#include <trace.h>
#include <libwr/pio.h>
#include <libwr/sfp_lib.h>
...
...
userspace/wrsw_hal/hal_timing.c
View file @
cf028aae
...
...
@@ -6,7 +6,7 @@
#include <stdint.h>
#include <unistd.h>
#include <switch_hw.h>
#include <
libwr/
switch_hw.h>
#include "wrsw_hal.h"
#include "timeout.h"
...
...
userspace/wrsw_rtud/rtu_drv.c
View file @
cf028aae
...
...
@@ -42,7 +42,7 @@
#include <stdlib.h>
#include <sys/ioctl.h>
#include <switch_hw.h>
#include <
libwr/
switch_hw.h>
#include <hal_client.h>
#include <fpga_io.h>
...
...
userspace/wrsw_rtud/rtu_ext_drv.c
View file @
cf028aae
...
...
@@ -30,7 +30,7 @@
#include <stdlib.h>
#include <sys/ioctl.h>
#include <switch_hw.h>
#include <
libwr/
switch_hw.h>
#include <hal_client.h>
#include <fpga_io.h>
...
...
userspace/wrsw_rtud/rtud.c
View file @
cf028aae
...
...
@@ -39,7 +39,7 @@
#include <linux/if.h>
#include <trace.h>
#include <switch_hw.h>
#include <
libwr/
switch_hw.h>
#include <hal_client.h>
#include "rtu.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