Commit Graph

77 Commits (1104a67439395584fd559d5da88ab102e31cfc48)

Author SHA1 Message Date
Gabor Juhos b624dec41b ramips: register ethernet device on the WHR-G300N and V22RW-2x2 boards
SVN-Revision: 18229
2009-10-30 15:15:41 +00:00
John Crispin 9364f83dbc missing header file changes, and fix mtu value
SVN-Revision: 18220
2009-10-30 09:18:40 +00:00
John Crispin ff5deeef08 fixes rx path for eth, spinlock it, increases buffer size, board now survives ping -f
SVN-Revision: 18212
2009-10-29 21:08:11 +00:00
John Crispin 135111a05b hopefully fixes dma issues seen on ethernet driver when under high load
SVN-Revision: 18203
2009-10-29 12:51:45 +00:00
Gabor Juhos bc59e3da51 ramips: move 'arch/mips/include/asm/mach-ralink/eth.h' to 'drivers/net/ramips_eth.h'
SVN-Revision: 18176
2009-10-26 17:17:51 +00:00
Gabor Juhos 5dd653a6bd ramips: use definitions from rt305x_regs, and nuke the duplicated ones
SVN-Revision: 18175
2009-10-26 17:17:48 +00:00
Gabor Juhos c170980c4f ramips: move ramips_eth_platform_data into a separate file
SVN-Revision: 18174
2009-10-26 17:17:45 +00:00
Gabor Juhos b98fa096a6 ramips: request_irq prior to dma allocation, and handle the case if it fails
SVN-Revision: 18173
2009-10-26 17:17:42 +00:00
Gabor Juhos 08f77d2e7e ramips: add error handling to ramips_alloc_dma
SVN-Revision: 18172
2009-10-26 17:17:39 +00:00
Gabor Juhos 941c1dae2c ramips: free allocated skbs in ramips_cleanup_dma
SVN-Revision: 18171
2009-10-26 17:17:37 +00:00
Gabor Juhos 82cc25d5f0 ramips: add ramips_setup_dma helper to the ethernet driver
SVN-Revision: 18170
2009-10-26 17:17:34 +00:00
Gabor Juhos f69b042df9 ramips: add ramips_cleanup_dma helper
SVN-Revision: 18169
2009-10-26 17:17:29 +00:00
Gabor Juhos defb7c0059 ramips: remove unnecessary includes in the ethernet driver
SVN-Revision: 18168
2009-10-26 17:17:26 +00:00
Gabor Juhos 36cb733d4f ramips: fix dma api usage in the ethernet driver
SVN-Revision: 18167
2009-10-26 17:17:22 +00:00
Gabor Juhos 69a3298ab5 ramips: use resource to pass irq and base address to the ethernet driver
SVN-Revision: 18166
2009-10-26 17:17:18 +00:00
Gabor Juhos 7c7f004875 ramips: add error-path handling to the ramips_eth_plat_probe
SVN-Revision: 18165
2009-10-26 17:17:13 +00:00
John Crispin f1ad6d3768 fixes licenses
SVN-Revision: 18152
2009-10-25 17:41:01 +00:00
John Crispin 6f63d7baf2 clean up dma api of ethernet driver
SVN-Revision: 18150
2009-10-25 16:58:00 +00:00
John Crispin 9126be5b6e fixes dma bug in eth driver, that was caused under high net load. the dma ring was not initialized on time
SVN-Revision: 18149
2009-10-25 14:34:55 +00:00
Gabor Juhos 984fe7992a ramips: nuke net_device stats from the private data of the ethernet driver
SVN-Revision: 18147
2009-10-25 09:37:30 +00:00
Gabor Juhos ec836476b0 ramips: remove unnecessary type-castings in the ethernet driver
SVN-Revision: 18146
2009-10-25 09:37:27 +00:00
Gabor Juhos ac92dc42d4 ramips: change debug message levels, and add missing LFs
SVN-Revision: 18145
2009-10-25 09:37:24 +00:00
Gabor Juhos 0fe967f6e6 ramips: make ethernet fuctions static
SVN-Revision: 18144
2009-10-25 09:37:21 +00:00
Gabor Juhos 7af7711f9f ramips: register ethernet device on the DIR-300 board
SVN-Revision: 18143
2009-10-25 09:37:17 +00:00
Gabor Juhos 2ad69183a8 ramips: change prom code to accept 'board=FOOBAR' from the command line
SVN-Revision: 18142
2009-10-25 07:10:16 +00:00
Gabor Juhos d681005ce3 ramips: modify {read,write}_config helpers
SVN-Revision: 18141
2009-10-25 07:10:14 +00:00
Gabor Juhos ebde2e4c90 ramips: nuke config_access helper
SVN-Revision: 18140
2009-10-25 07:10:11 +00:00
John Crispin c23f92244c fixes dma hangups in eth
SVN-Revision: 18139
2009-10-25 00:11:08 +00:00
John Crispin eff75d868b make ethernet a platform device
SVN-Revision: 18135
2009-10-24 20:58:41 +00:00
John Crispin 5c399c6f20 missing define to make mach for fonera20n work
SVN-Revision: 18134
2009-10-24 20:57:59 +00:00
John Crispin 81e5a2d14b make default llll/w vlan setup in esw
SVN-Revision: 18133
2009-10-24 20:56:31 +00:00
John Crispin e4e4aa90d3 adds mach type for fonera20n
SVN-Revision: 18132
2009-10-24 20:55:36 +00:00
John Crispin d95163658c adds ethernet driver, esw needs to be moved to swconfig, driver is missing rt288x support, not a platform device yet
SVN-Revision: 18128
2009-10-23 16:51:51 +00:00
Gabor Juhos 279c5dad25 ramips: add preliminary support for the DIR-300 revB board
SVN-Revision: 18058
2009-10-18 08:48:07 +00:00
Gabor Juhos 3b9cb8b673 ramips: fix return value in 'pcibios_map_irq' in the rt288x pci code
SVN-Revision: 17975
2009-10-07 11:37:12 +00:00
Gabor Juhos 13be9155c5 ramips: remove obsolete 'pcibios_fixups' from the rt288x pci code
SVN-Revision: 17974
2009-10-07 11:37:10 +00:00
Gabor Juhos f2470f7590 ramips: add rt2880_pci_get_cfgaddr helper
SVN-Revision: 17973
2009-10-07 11:37:07 +00:00
Gabor Juhos fe360a232b ramips: use switch statement instead of multiple if-else-if in the rt288x pci code
SVN-Revision: 17972
2009-10-07 11:37:03 +00:00
Gabor Juhos 37f5a64938 ramips: protect rt288x pci config accesses with a spinlock
SVN-Revision: 17971
2009-10-07 11:37:00 +00:00
Gabor Juhos 84e2f22465 ramips: make rt2880_pci_base static
SVN-Revision: 17970
2009-10-07 11:36:57 +00:00
Gabor Juhos ca82f13970 ramips: define some magic values in the rt288x pci code
SVN-Revision: 17969
2009-10-07 11:36:53 +00:00
Gabor Juhos 6a54d033fc ramips: add copyright header to the rt288x pci code
SVN-Revision: 17968
2009-10-07 11:36:49 +00:00
Gabor Juhos 7f3d685eec ramips: make {read,write}_config static
SVN-Revision: 17920
2009-10-05 18:44:24 +00:00
Gabor Juhos 2739177201 ramips: convert 'config_access' function to void
SVN-Revision: 17919
2009-10-05 18:44:22 +00:00
Gabor Juhos 5b07caf121 ramips: add register access functions into the rt288x pci code
SVN-Revision: 17918
2009-10-05 18:44:19 +00:00
Gabor Juhos 0f51ed2723 ramips: fix RT2880_PCI_BASE definition
SVN-Revision: 17917
2009-10-05 18:44:16 +00:00
Gabor Juhos 5a37945317 ramips: rt288x pci code cleanup
SVN-Revision: 17916
2009-10-05 18:44:13 +00:00
Gabor Juhos 0e0e945e33 ramips: cleanup coding-style of the rt288x pci code
SVN-Revision: 17915
2009-10-05 18:44:10 +00:00
Gabor Juhos 6ceea98b0a ramips: merge ops-rt288x.c and rt288x_pci.h into pci-rt288x.c
SVN-Revision: 17914
2009-10-05 18:44:06 +00:00
Gabor Juhos c8489ba3f8 ramips: remove unneccesary ifdefs from the rt288x pci code
SVN-Revision: 17862
2009-10-05 09:06:16 +00:00