summaryrefslogtreecommitdiff
path: root/cleopatre/linux-2.6.25.10-spc300
AgeCommit message (Collapse)Author
2011-12-09cleo/linux: fix: value of PLC_MEM_SIZE_MB was displayed in build processYacine Belkadi
The "echo PLC_MEM_SIZE_MB" was used during debugging. It was not supposed to remain.
2011-11-04cleo/{app,devkit,linux}: set pid-s of plcd & managerd at init, closes #2465Celine Buret
Managerd and plcd register their pid to plcdrv during initialization. This avoids to send an empty mme at boot.
2011-11-02cleo/buildroot: support setting plc mem size value from buildroot, closes #583Yacine Belkadi
2011-11-02cleo/linux/mksimage: add the "--plc-ram" option, refs #583Yacine Belkadi
Add the "--plc-ram" option to spectify the amount of RAM dedicated to PLC.
2011-11-02cleo/linux: export spc300_plc_mem_size, refs #583Yacine Belkadi
Export the size of the memory dedicated to PLC, because this value is needed in plcdrv.
2011-11-02cleo/linux: export spc300_plc_mem_start, refs #583Yacine Belkadi
Export where the PLC memory starts, because this value is needed in plcdrv.
2011-10-27cleo/linux/drivers/net: fix DMA synchronisation in Synopsys driver, refs #2295Jérémy Dufour
2011-10-13cleo: add/update some .gitignore files, closes #2773Yacine Belkadi
Add and/or update some .gitignore files to get a clean "git status" result.
2011-09-15cleo/linux/drv/ad986x: move code from char/ to (the new) afe/, closes #453Yacine Belkadi
2011-09-15cleo/{devkit/plcdrv,linux/drv/ad9865}: move AFE /proc code from plcdrv to ↵Yacine Belkadi
ad9865, refs #453 The code providing a /proc entry to read/write the content of the AFE registers was in plcdrv. It seems more appropriate to put it in the AFE driver. As a consequence, the path to read/write the AFE registers becomes /proc/driver/afe instead of /proc/net/plc/afe.
2011-09-15cleo/linux/drv/ad986x: export functions for reading/writing to the AFE ↵Yacine Belkadi
registers, refs #453
2011-09-15cleo/linux/drv/ad986x: refactor the code for reading/writing to the AFE ↵Yacine Belkadi
registers, refs #453
2011-09-15cleo/linux/drv/ad986x: store a reference to the spi_device, refs #453Yacine Belkadi
2011-09-15cleo/linux/drv/ad9865: rename ad9865 to ad986xYacine Belkadi
Rename the AFE driver ad9865 to ad986x because it is also used for the AD9867 and AD9868 devices.
2011-09-08cleo/linux/drv/eth: add seq_check support, refs #2644Yacine Belkadi
2011-09-08cleo/linux: add seq_check, refs #2644Yacine Belkadi
Add code to check sequence numbers in specially crafted packets (like those sent by the iperf tool), and report any gaps. The purpose is to help investigate packet loss in a network chain.
2011-08-12cleo/linux/drv/eth: support getting/setting flow control params from ↵Yacine Belkadi
ethtool, closes #2487 In the Ethernet driver, add support for using ethtool: - to query whether Rx or Tx pause are enabled. e.g. ethtool -a eth0 - to specify whether Rx or Tx pause should be enabled. e.g. ethtool -A eth0 rx on tx off
2011-08-12cleo/linux/drv/eth: flow control: change Rx FIFO fill-level thresholds, refs ↵Belkadi & Save
#2487 Set (Rx FIFO fill-level reaches (full - 2K)) as the threshold for activating the flow control. Set (Rx FIFO fill-level returns to (full - 2K)) as the threshold for deactivating the flow control.
2011-08-12cleo/linux/drv/eth: replace printk "Rx FIFO Error" by TRACE "Rx FIFO ↵Belkadi & Save
overflow", refs #2487 - It's not really an error. - A precedent commit disabled the flushing of the Rx FIFO, so this message will be printed far more frequently, which is not that useful.
2011-08-12cleo/linux/drv/eth: flow control: set Pause Low Threshold to 144, refs #2487Yacine Belkadi
Pause Low Threshold was set to 4 slot times, which seems too low.
2011-08-12cleo/linux/drv/eth: flow control: set Pause Time to 65535 quanta, refs #2487Yacine Belkadi
The Ethernet Hardware is configured to send a pause frame (with some pause time value) when the use of the Rx FIFO reaches a configured threshold. This pause frame asks the other end to stop sending packets for the specified duration (the pause time). The Ethernet hardware is configured to send a pause frame with 0 quanta as the pause time, when the use of the Rx FIFO falls to an other configured threshold. This pause frame with a zero pause time asks the other end to resume the sending of packets. Because: 1) the first pause frame is sent again if the initial pause time is almost expired (cf. Pause Low Threshold), 2) a zero pause frame is sent when the hardware is able to receive again, the mechanism is like an X-OFF/X-ON mechanism: Stop transmission/Resume transmission. So it seems appropriate to set the Pause Time to the maximum possible value: 65535.
2011-08-12cleo/linux/drv/eth: don't flush the Rx FIFO when no descriptor is available, ↵Belkadi & Save
refs #2487 The Ethernet hardware is configured to send pause frames when the Rx FIFO reaches a preconfigured threshold. The hardware was configured to flush the Rx FIFO when no descriptor is available. This prevented the Rx FIFO from filling up, and thus prevented the sending of pause frames. This commit disables the flushing of the Rx FIFO, causing it to fill up and reach the threshold that triggers the sending of pause frames.
2011-08-12cleo/linux/drv/eth: fix flow control activation thresholds, refs #2487Yacine Belkadi
Correct the DmaRxFlowCtrlAct* flags used to specifiy the Rx FIFO fill-level threshold that triggers the sending of pause frames.
2011-08-12cleo/linux/drv/eth: fix: hardware flow control (sending pause frames) was ↵Yacine Belkadi
not enabled, refs #2487 Correct the DmaEnHwFlowCtrl flag used to enable the hardware flow control (responsible for sending pause frames when appropriate).
2011-08-12cleo/linux/drv/eth: fix double free()Yacine Belkadi
Remove the kfree(dev->priv) call because the free_netdev(dev) call frees dev->priv.
2011-08-12cleo/linux/drv/eth: refactor: use the SynopsysSetMacReg() and ↵Yacine Belkadi
SynopsysClearMacReg() helpers
2011-08-12cleo/linux/drv/eth: fix: a DMA register was read instead of a GMAC registerYacine Belkadi
2011-08-12cleo/{linux/spc300,buildroot/arizona}: update arizona config files, refs #2501Celine Buret
Set default value of arizona flash mapping. Generate up-to-date: * arizona defconfig file, * arizona linux config file.
2011-08-12cleo/linux/gpio: update allowed gpio-s for user mode, refs #2501Celine Buret
2011-08-12cleo/linux/configs: remove generic config for spc300, refs #2501Celine Buret
2011-03-25cleo/linux: add SPR310 board, closes #2417Jean-Philippe SAVE
2011-03-25cleo/linux: rename board-spk310 function with a correct nameJean-Philippe SAVE
2011-02-08cleo/linux/drivers/spi: lock IRQ when doing a spin_lock, refs #2287Jérémy Dufour
2011-02-08cleo/linux/drivers/gpio: lock IRQ when doing a spin_lock, refs #2287Jérémy Dufour
2011-02-08cleo/linux/drivers/spi: prefer to use existing macros for better code readingJérémy Dufour
2010-12-09cleo/linux/arch/arm/spc300: add large flashes to scr310 and spr300Celine Buret
2010-12-09cleo/{buildroot,devkit,linux}: add flash large 1 image mapping, closes #2151Celine Buret
2010-10-07cleo/linux: coding standards, refs #1878Celine Buret
2010-10-07cleo/{devkit,linux}: implement poll function in gpio driver, refs #1878Celine Buret
2010-10-04cleo/linux/eth : Add IP175x swich driver handel VLAN managed by ethtool, fix ↵Badreddine ZAGROUBA
#398 *Add ethtool patch for VLAN configuration *Add VLAN management code to IP175x & ETH drivers
2010-10-04cleo/linux/eth: Split ETH and PHY drivers, closes #1860Badreddine ZAGROUBA
- ETH driver : cleaning & /proc entry modification to be completely independent from PHY driver - IP175 PHY driver : add connection autodetection mechnaism and 100M/Full static setting for PHY5 Please enter the commit message for your changes.
2010-09-16cleo/linux/drv/net: add mii ioCeline Buret
2010-09-10cleo/{linux/drivers/mtd,openocd}: add eon 25q64 flash referenceJean-Philippe SAVE
2010-09-02cleo/linux/net/bridge: Force bridge MAC addr to be plc0 MAC addr, closes #1839Jean-Philippe SAVE
2010-06-15Revert "cleo/linux: suppress warning for rx pkt with own addr as src addr, ↵lefranc
closes #1627" This reverts commit b509af3a849ef4749c729038bd20d8c48e36ebd9. git-svn-id: svn+ssh://pessac/svn/cesar/trunk@7212 017c9cb6-072f-447c-8318-d5b54f68fe89
2010-06-14cleo/linux: add new MME netlink ID, refs #1618lefranc
- add NETLINK_PLC_MME - change NETLINK_PLC to NETLINK_PLC_DRV git-svn-id: svn+ssh://pessac/svn/cesar/trunk@7206 017c9cb6-072f-447c-8318-d5b54f68fe89
2010-06-14Revert "cleo/linux: allow brige to resent HPAV MME to the same interface, ↵lefranc
closes #1526" - God of programming, forgive me... This reverts commit c646a2c09d3fa0dde6b2bac6b89b74c454f12f9e. git-svn-id: svn+ssh://pessac/svn/cesar/trunk@7205 017c9cb6-072f-447c-8318-d5b54f68fe89
2010-06-10cleo/linux: suppress warning for rx pkt with own addr as src addr, closes #1627save
git-svn-id: svn+ssh://pessac/svn/cesar/trunk@7189 017c9cb6-072f-447c-8318-d5b54f68fe89
2010-06-10cleo/linux/drivers/eth: add Operate on Second Frame IP flagsave
This flag allow DMA TX to process a frame even if the previous wasn't really sent. git-svn-id: svn+ssh://pessac/svn/cesar/trunk@7187 017c9cb6-072f-447c-8318-d5b54f68fe89
2010-06-10cleo/linux/drivers/eth: re-adapt netif_tx_queue, closes #1606save
Before this modification tx queue could be waked-up even if there was no place on DMA_TX_RING (due to synop3504_tx_done(ONE) called on rx process). git-svn-id: svn+ssh://pessac/svn/cesar/trunk@7186 017c9cb6-072f-447c-8318-d5b54f68fe89