- Jun 24, 2014
-
-
Alessandro Rubini authored
3 are not enough: we need 4. So support up to 16 even though we waste a few dozen bytes of precious RAM. Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
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>
-
- Jun 21, 2014
-
-
Alessandro Rubini authored
Signed-off-by:
Alessandro Rubini <rubini@gnudd.com>
-
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)
-
- Jun 19, 2014
-
-
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
-
- Jun 17, 2014
-
-
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>
-
- Jun 13, 2014
-
-
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>
-
- Jun 12, 2014
-
-
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>
-
- Jun 11, 2014
-
-
-
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>
-
- Jun 10, 2014
-
-
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.
-
- Jun 06, 2014
-
-
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>
-
- Jun 05, 2014
-
-
Grzegorz Daniluk authored
-
- May 28, 2014
-
-
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.
-
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
-
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
-