- 24 Jun, 2014 2 commits
-
-
Alessandro Rubini authored
we'd better err out than corrupt memory, if we have more arguments than expected Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
dirname() and basename() change their argument. We'd better strdup(argv[0]) to be able to use it in error messages. Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
- 21 Jun, 2014 2 commits
-
-
Alessandro Rubini authored
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Grzegorz Daniluk authored
In our case the name of the switch is its IP address of eth0 interface. Without this option enabled, only the first octet is reported to remote log server (e.g. 192)
-
- 19 Jun, 2014 4 commits
-
-
Alessandro Rubini authored
They disappeared quite some time ago: only .tar.gz remains. Fix documentation accordingly. Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
This merges the last commits I made on my laptop last weekq, and I forgot to push. Thanks greg for testing wrsw_vlans and thus finding I miseed some bits. Conflicts: userspace/tools/wrsw_vlans.c
-
Alessandro Rubini authored
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Grzegorz Daniluk authored
-
- 17 Jun, 2014 1 commit
-
-
Alessandro Rubini authored
Some WRS speciments won't work correctly with automatic speed setup. This patch forces full-speed on the device (instead of the autodetected high-speed), and thus they work. Speed is not a problem anyways, because it is just a serial port. Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
- 13 Jun, 2014 6 commits
-
-
Alessandro Rubini authored
wr_nic now exports wr_nic_pstats_callback as a pointer. When wr_pstats is loaded it writes its own pointer in there. wr_nic can thus ask for statistics and updated net_device_stats with the proper numbers. The statistics on snmp reflect this, because snmpd uses the standard device ioctl commands -- but very few of our counters actually end up all the way to snmp. Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Without this, the switch may be unable to boot NFS-Root over a new system (e.g. my laptop, currently linux-3.14 with full NFS support. Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
- 12 Jun, 2014 11 commits
-
-
Alessandro Rubini authored
open returns -1 on error, not 0 mmap returns -1 on error, not NULL Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Stuff was seriously misaligned and hard to read. So Maciej agreed about running ../../scripts/Lindent. This commit makes no modification at all, even it changes both spaces/tabs and newlines. Some comments still exceed 80 columns, which is bad for me, my screen and my printer, but I'll only change if needed, at a later step. Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Alessandro Rubini authored
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
- 11 Jun, 2014 3 commits
-
-
Grzegorz Daniluk authored
-
Benoit Rat authored
AT45DB642D is now obsolete and AT45DB641E will replace it They have the same status ID (same density). Therefore we need to read the JEDEC code instead.
-
Alessandro Rubini authored
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
- 10 Jun, 2014 2 commits
-
-
Alessandro Rubini authored
Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
Grzegorz Daniluk authored
Since there is no env config file, envfs_check_super() call fails to find correct magic number and makes envfs_load function to return before setting default MAC addresses.
-
- 06 Jun, 2014 1 commit
-
-
Alessandro Rubini authored
* MAXPORTS is NPORTS (so to use the usual C convention * parse as list of ranges like 1-5,9,12-14 * introduce for_each_port() * complain of no port mask is set before config Signed-off-by: Alessandro Rubini <rubini@gnudd.com>
-
- 05 Jun, 2014 1 commit
-
-
Grzegorz Daniluk authored
-
- 28 May, 2014 7 commits
-
-
Maciej Lipinski authored
Conflicts: userspace/wrsw_rtud/rtu_fd.c userspace/wrsw_rtud/rtu_tru_drv.c
-
Grzegorz Daniluk authored
PSTATS_NPORTS in the kernel driver should be set by default to 18 ports, because it's also used to create a table for cntrs values read from FPGA. If driver is supposed to run on 8-port version of WRS, the parameter pstats_nports should be set at load time.
-
Maciej Lipinski authored
This commit is cherry-picked from v4-dev-rebased only for compatibility with v4rc FPGA firmware. TRU event has to be removed both from gateware and software for the final release. Conflicts: userspace/tools/wrsw_pstats.c
-
Grzegorz Daniluk authored
-
Grzegorz Daniluk authored
-
Maciej Lipinski authored
wrsw_rtud: fixed serious misconfiguration: default config was to set fixed priority (seems bad, prevented priorities from working), current default: take priority from incoming frames
-
Maciej Lipinski authored
initializing variables to be written to H/W - caused bug in writing frame-class to priority (switch internal) Conflicts: userspace/wrsw_rtud/rtu_ep_drv.c userspace/wrsw_rtud/rtu_hwdu_drv.c
-