summaryrefslogtreecommitdiffstats
path: root/target/linux/cns3xxx/files
Commit message (Collapse)AuthorAgeFilesLines
* cns3xxx: fix USB ehci/ohci platform driverFelix Fietkau2013-04-101-3/+51
| | | | | | | | | | | Update ehci/ohci driver registration to conform to the new platform drivers. This fixes missing USB host support in 3.8.x Signed-off-by: Tim Harvey <tharvey@gateworks.com> SVN-Revision: 36309
* cns3xxx: remove the watchdog IRQ from the resources, it breaks the driver ↵Felix Fietkau2013-04-071-5/+0
| | | | | | | | init and is useful only for testing Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 36241
* cns3xxx: ethernet - clean the tx ring before refilling the rx ring to reduce ↵Felix Fietkau2013-03-111-4/+4
| | | | | | memory pressure SVN-Revision: 35953
* cns3xxx: ethernet - clean the tx ring only in the poll function, not in the ↵Felix Fietkau2013-03-111-6/+11
| | | | | | xmit handler SVN-Revision: 35952
* cns3xxx: increase number of ethernet driver rx buffersFelix Fietkau2013-03-101-1/+1
| | | | SVN-Revision: 35951
* cns3xxx: prevent the ethernet driver from accessing uninitialized dma ↵Felix Fietkau2013-03-101-1/+2
| | | | | | descriptor entries SVN-Revision: 35950
* cns3xxx: minor ethernet driver cleanupFelix Fietkau2013-03-101-35/+19
| | | | SVN-Revision: 35949
* cns3xxx: use kmalloc instead of kzalloc for ethernet rx buffersFelix Fietkau2013-03-101-1/+1
| | | | SVN-Revision: 35943
* cns3xxx: fix an rx irq handling corner caseFelix Fietkau2013-03-101-5/+5
| | | | | | | | | | | | | | | | When an rx interrupt comes in, rx interrupts are disabled and NAPI polling is scheduled. During the NAPI poll, the driver first processes received frames in the ring, then fills the dma descriptor slots with new buffers and calls tx complete, before finally re-enabling rx interrupts and completing NAPI (if below the budget). If the hardware rx queue overflows before the napi complete is called, the hardware will not throw any further rx interrupts and rx processing stops completely. Fix this by keeping NAPI polling scheduled until it completes a poll without receiving any packets, and also handle NAPI completion before refilling rx or completing tx. SVN-Revision: 35942
* cns3xxx: fix ethernet driver memory barrier usageFelix Fietkau2013-03-101-5/+8
| | | | SVN-Revision: 35941
* cns3xxx: reduce buffer allocation size to 2048 bytes, improves ethernet ↵Felix Fietkau2013-03-101-1/+1
| | | | | | performance SVN-Revision: 35917
* cns3xxx: add linux 3.8 support and use it by defaultFelix Fietkau2013-03-097-24/+25
| | | | SVN-Revision: 35908
* clean up PCI bus topologyImre Kaloz2013-01-101-2/+2
| | | | | | | | This makes the PCI bus topology more standard for devices behind a bridge Signed-off-by: Tim Harvey <tharvey@gateworks.com> SVN-Revision: 35078
* add nol2x0 cmdline to disable l2x0 cacheImre Kaloz2012-12-231-2/+0
| | | | | | | | | | | L2 cache via L2X0 cache controller available on some ARM boards can provide a performance boost in some situations but decrease performance in others. This adds a kernel cmdline to disable L2X0 for cns3xxx based boards. Signed-off-by: Tim Harvey <tharvey@gateworks.com> SVN-Revision: 34874
* cns3xxx: fix dwc_otg driver compat with udc-coreFlorian Fainelli2012-12-041-83/+0
| | | | | | | | | | | function. This removes those from the dwc_otg driver and removes the patch that comments out the linkage of udc-core so that the dwc_otg driver can co-exist happily with other USB Device Controllers. Signed-off-by: Tim Harvey <tharvey@gateworks.com> Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 34475
* split spi patch, follow mainline file namingImre Kaloz2012-11-121-0/+449
| | | | SVN-Revision: 34168
* split the i2c patch, merge the retry fixupImre Kaloz2012-11-121-0/+396
| | | | SVN-Revision: 34167
* cns3xxx: convert dwc_otg patches to filesLuka Perkov2012-11-1118-0/+22666
| | | | SVN-Revision: 34162
* cns3xxx: convert ethernet patches to filesLuka Perkov2012-11-113-0/+1378
| | | | SVN-Revision: 34161
* cns3xxx: exit from laguna late_initcall if not running on laguna boardLuka Perkov2012-11-081-0/+3
| | | | SVN-Revision: 34120
* cns3xxx: add PPS support for lagunaImre Kaloz2012-11-081-0/+20
| | | | | | | | | | Many Laguna products have on-board GPS with Pulse-per-second (PPS) support. This patch adds kernel support (statically) and adds the platform data in laguna board support. Signed-off-by: Tim Harvey <tharvey@gateworks.com> SVN-Revision: 34115
* cns3xxx: use files directoryLuka Perkov2012-11-0610-0/+1907
SVN-Revision: 34101