Commit graph

269 commits

Author SHA1 Message Date
Gabor Juhos
3e6b3ea088 rtl8366_smi: coding style cleanup
SVN-Revision: 19246
2010-01-20 17:40:39 +00:00
Gabor Juhos
5e5451a54d rtl8366_smi: add Kconfig option for the debugfs stuff
SVN-Revision: 19243
2010-01-20 09:30:36 +00:00
Gabor Juhos
0d48b043b1 rtl8366_smi: fix error checking in rtl8366s_set_vlan_4k_entry
SVN-Revision: 19242
2010-01-20 09:30:32 +00:00
Gabor Juhos
0296b24f80 rtl8366_smi: fix parameter checking in rtl8366_attr_get_vlan_info
SVN-Revision: 19241
2010-01-20 09:30:25 +00:00
Gabor Juhos
743e7617b0 rtl8366_smi: fix return codes in rtl8366s_reset_vlan
SVN-Revision: 19240
2010-01-20 07:06:18 +00:00
Gabor Juhos
43815d730b rtl8366_smi: move variable initialization out from the loop
SVN-Revision: 19239
2010-01-20 07:06:15 +00:00
Gabor Juhos
fbc389ae9d rtl8366_smi: fix port->flags calculation in rtl8366_get_ports
SVN-Revision: 19237
2010-01-20 07:06:10 +00:00
Gabor Juhos
c4838a0f9e rtl8366_smi: use inline function instead of a macro on top of container_of
SVN-Revision: 19215
2010-01-18 09:01:40 +00:00
Felix Fietkau
88ddc59655 rtl8366_smi: reset the vlan table when resetting the switch and use vlan get/set ports for vlan member lists
SVN-Revision: 19206
2010-01-18 00:12:12 +00:00
Felix Fietkau
b228fd428a rtl8366_smi: fix excessive stack usage and buffer handling bugs
SVN-Revision: 19205
2010-01-18 00:12:07 +00:00
Felix Fietkau
8394a32815 ar71xx: fix return statement in the rtl8366 driver
SVN-Revision: 19204
2010-01-17 22:57:08 +00:00
Gabor Juhos
d2229cb1cc rtl8366_smi: register the switch directly from the probe routine
SVN-Revision: 19202
2010-01-17 21:37:09 +00:00
Gabor Juhos
088ba7e1db rtl8366_smi: use vlanmc name for all vlanconfig variables
SVN-Revision: 19201
2010-01-17 21:17:59 +00:00
Gabor Juhos
639212697d rtl8366_smi: use vlan4k name for all vlan4kentry variables
SVN-Revision: 19200
2010-01-17 21:17:57 +00:00
Gabor Juhos
9cb11e2eef rtl8366_smi: move memset into the rtl8366s_get_member_config function
SVN-Revision: 19199
2010-01-17 21:17:53 +00:00
Gabor Juhos
f55beb9e9b rtl8366_smi: move memset into the rtl8366s_get_vlan_4k_entry function
SVN-Revision: 19198
2010-01-17 21:17:49 +00:00
Gabor Juhos
7f9b0eca90 rtl8366_smi: add vid parameter to the rtl8366s_get_vlan_4k_entry function
SVN-Revision: 19197
2010-01-17 21:17:46 +00:00
Gabor Juhos
a90792056c ar71xx: upgrade rtl8366_smi driver
Thanks to Antti Seppälä.
Patch from https://forum.openwrt.org/viewtopic.php?pid=100150#p100150

SVN-Revision: 19196
2010-01-17 21:17:42 +00:00
Gabor Juhos
e92c0c7830 ar71xx: add GPIO driver for the NXP 74HC153 chip
SVN-Revision: 19149
2010-01-15 12:07:58 +00:00
Gabor Juhos
d8ace8978a ar71xx: add NAPI statistics to the ag71xx driver
SVN-Revision: 19079
2010-01-08 20:22:55 +00:00
Jo-Philipp Wich
d8bd549d71 fix typo after r19054
SVN-Revision: 19059
2010-01-06 20:16:07 +00:00
Gabor Juhos
51c76750fc ar71xx: add detailed interrupt statistics for the ag71xx driver
SVN-Revision: 19054
2010-01-06 15:24:01 +00:00
Gabor Juhos
46b572636b ar71xx: update Kconfig of the ag71xx driver
SVN-Revision: 19032
2010-01-04 14:28:28 +00:00
Gabor Juhos
63a320c8f7 ar71xx: add dummy debugfs support for the ag71xx driver
SVN-Revision: 19031
2010-01-04 14:28:25 +00:00
Felix Fietkau
6a90a35f2b Revert "ar71xx: move phy_connect call to ag71xx_open" (r18691) It's causing issues with switch drivers that register with swconfig and makes fixing those unnecessarily complicated. Fixes rtl8306 switch support on the WRT160NL.
SVN-Revision: 18789
2009-12-15 22:37:54 +00:00
Gabor Juhos
4734a69891 ar71xx: add driver for the USB LED on the WNDR3700
SVN-Revision: 18758
2009-12-11 20:32:31 +00:00
Gabor Juhos
8956009fa6 ar71xx: fix NULL pointer dereference in the ethernet driver
SVN-Revision: 18755
2009-12-11 19:32:58 +00:00
Gabor Juhos
18885b425c ar71xx: merge ag71xx specific patches
SVN-Revision: 18751
2009-12-11 16:41:40 +00:00
Gabor Juhos
d38fd20cb7 ar71xx: move mdio_bus reset code
SVN-Revision: 18749
2009-12-11 12:21:15 +00:00
Gabor Juhos
cc1b9a6046 ar71xx: add mdio bus driver for the rtl8366 switch
SVN-Revision: 18694
2009-12-08 10:29:35 +00:00
Gabor Juhos
18867965f7 ar71xx: add support for external mii_bus
SVN-Revision: 18692
2009-12-08 10:29:27 +00:00
Gabor Juhos
0e79007faf ar71xx: move phy_connect call to ag71xx_open
SVN-Revision: 18691
2009-12-08 10:29:19 +00:00
Gabor Juhos
8a7e19e7db ar71xx: change mii_bus name
SVN-Revision: 18619
2009-12-03 14:17:12 +00:00
Gabor Juhos
35dbf66787 ar71xx: override fifo_cfg[123] values on AR7240
SVN-Revision: 18614
2009-11-30 13:53:39 +00:00
Felix Fietkau
cb85dcb1a8 ar71xx: mask out reserved bits from the dma tx status in the ethernet driver
SVN-Revision: 18599
2009-11-29 13:38:03 +00:00
Gabor Juhos
21fc9ffe63 ar71xx: use soc specific divider for mdio clock
SVN-Revision: 18225
2009-10-30 12:26:22 +00:00
Gabor Juhos
f336f8748c ar71xx: update mdio_reset code
SVN-Revision: 18224
2009-10-30 12:26:17 +00:00
Gabor Juhos
8458d7c73b ar71xx: flush mii register writes
SVN-Revision: 17695
2009-09-23 17:44:08 +00:00
Gabor Juhos
0eba7ba4ff ar71xx: don't use mac_base2 in the ag71xx driver
SVN-Revision: 17693
2009-09-23 17:44:02 +00:00
Gabor Juhos
6ed55b43d7 ar71xx: remove some extern directives in the ag71xx driver
SVN-Revision: 17692
2009-09-23 17:43:57 +00:00
Gabor Juhos
214f39d46d WRT160NL: more mtd parser cleanup
SVN-Revision: 17201
2009-08-09 12:56:06 +00:00
Gabor Juhos
c202ef57b1 WRT160NL: mtd parser cleanup
SVN-Revision: 17177
2009-08-08 13:06:28 +00:00
Gabor Juhos
8f854e27c8 move the trx parser out from the patch
SVN-Revision: 17176
2009-08-08 12:08:41 +00:00
Gabor Juhos
c23ddf2d27 update ar71xx_spi driver
SVN-Revision: 17143
2009-08-06 10:56:48 +00:00
Gabor Juhos
bbab2a48b4 ag71xx driver: rename ag71xx_debug module parameter
SVN-Revision: 16833
2009-07-13 17:45:25 +00:00
Gabor Juhos
d99dcbca9f ag71xx driver: fix a typo
SVN-Revision: 16827
2009-07-13 12:20:02 +00:00
Gabor Juhos
a579511dbf ag71xx driver: align descriptors on cache_line boundary
SVN-Revision: 16825
2009-07-13 11:40:10 +00:00
Gabor Juhos
82a084680a ag71xx driver: store descriptor pointers in ag71xx_buf
SVN-Revision: 16824
2009-07-13 11:38:37 +00:00
Gabor Juhos
b1f5f1d3b0 ag71xx driver: descriptors always aligned on 4 byte boundary
SVN-Revision: 16818
2009-07-12 16:04:28 +00:00
Gabor Juhos
10357fc180 ag71xx driver: don't flush ddr on tx path
SVN-Revision: 16817
2009-07-12 16:02:27 +00:00
Gabor Juhos
eced3f210e add SPI controller driver for the PB44 board
SVN-Revision: 16781
2009-07-11 15:55:55 +00:00
Gabor Juhos
218298becf use platform data to setup the MAC_CFG register in the spi_vsc7385 driver
SVN-Revision: 16780
2009-07-11 14:59:31 +00:00
Gabor Juhos
292775eb34 add definitions for some magic values in the spi_vsc7385 driver
SVN-Revision: 16779
2009-07-11 14:56:54 +00:00
Gabor Juhos
6b033e9bec fix a bug in the SPI driver (closes #5485)
SVN-Revision: 16767
2009-07-10 19:29:58 +00:00
Gabor Juhos
a6e3c605bc add AR7240 specific fixes for the ag71xx driver
SVN-Revision: 16737
2009-07-07 18:06:02 +00:00
Gabor Juhos
0fd8d0fad8 fix a bitmask in the ag71xx driver
SVN-Revision: 16658
2009-07-02 17:23:11 +00:00
Gabor Juhos
5d21be0e31 move definition of ar91xx_flash_platform_data into a separate header file (closes #5321)
SVN-Revision: 16417
2009-06-11 08:07:14 +00:00
Gabor Juhos
67ace05bfe update flash locking code
SVN-Revision: 16359
2009-06-06 15:56:03 +00:00
Gabor Juhos
ba08043ce4 add parallel flash driver
SVN-Revision: 16353
2009-06-06 08:41:47 +00:00
Gabor Juhos
08bd604941 add SPI driver for the Vitesse VSC7385 switch
SVN-Revision: 16324
2009-06-04 07:51:29 +00:00
Gabor Juhos
0755481965 add another SPI controller driver for the earlier AP83 boards
SVN-Revision: 16315
2009-06-03 19:50:04 +00:00
Gabor Juhos
c2c496868e add support for board specific PLL settings
SVN-Revision: 16133
2009-05-28 13:00:08 +00:00
Gabor Juhos
ed861cf5e9 use dev_name() instead of bus_id in ag71xx, ohci-ar71xx, ehci-ar71xx drivers
SVN-Revision: 15629
2009-05-05 19:21:39 +00:00
Gabor Juhos
432136fba6 select ar8216 support for the WRT400N (thanks to netprince)
SVN-Revision: 15427
2009-04-26 18:47:41 +00:00
Gabor Juhos
6931d43546 enable the synopsys woarkaround in the ehci-ar71xx driver
SVN-Revision: 15349
2009-04-23 12:25:49 +00:00
Gabor Juhos
2242545e56 ag71xx driver: forgot to add a new file
SVN-Revision: 14657
2009-02-25 17:52:14 +00:00
Gabor Juhos
0e8a23d053 ag71xx driver: add a workaround for the ar8216 chip, until we get a suitable switch driver
SVN-Revision: 14655
2009-02-25 16:47:11 +00:00
Gabor Juhos
db0a4e48f9 micrel phy driver: change initcall level if compiled into the kernel
SVN-Revision: 14628
2009-02-22 20:52:12 +00:00
Gabor Juhos
df267a8e2e ag71xx driver: add Kconfig option for enabling debug messages
SVN-Revision: 14517
2009-02-15 13:12:43 +00:00
Gabor Juhos
bc8dc1cdba ag71xx driver: apply 2.6.28 specific patches
SVN-Revision: 14515
2009-02-15 07:57:29 +00:00
Gabor Juhos
e697d8c27f ag71xx driver: fix a kernel crash caused by r14496
SVN-Revision: 14504
2009-02-13 20:36:39 +00:00
Gabor Juhos
39628cdd5f ag71xx driver: fix return code of the napi poll routine, was broken since [13545] (patch by Ubiquiti Networks)
SVN-Revision: 14496
2009-02-13 11:16:57 +00:00
Gabor Juhos
4bcc027e97 ag71xx driver: update phy connecting code
SVN-Revision: 14495
2009-02-13 10:43:40 +00:00
Gabor Juhos
09e02ec5a7 remove netif schedule from the ag71xx driver
SVN-Revision: 14494
2009-02-13 08:58:59 +00:00
Gabor Juhos
e746170640 pull ethernet mac out of reset before registering the mdio_bus
SVN-Revision: 14486
2009-02-12 14:06:58 +00:00
Gabor Juhos
6bea544949 move random MAC address generation into the platform initialization code
SVN-Revision: 14204
2009-01-26 14:55:09 +00:00
Gabor Juhos
5ea042a30d ag71xx driver: increase size of dma descriptors
SVN-Revision: 13561
2008-12-09 10:16:49 +00:00
Gabor Juhos
4b6e4d88a9 ag71xx driver: use same FIFO configuration for all SOC
SVN-Revision: 13560
2008-12-09 09:42:57 +00:00
Gabor Juhos
206ccdf4ae ag71xx driver: add OOM handler
SVN-Revision: 13545
2008-12-08 13:15:12 +00:00
Gabor Juhos
2a680498b3 ag71xx driver: don't refill rx buffers twice
SVN-Revision: 13544
2008-12-08 08:31:25 +00:00
Gabor Juhos
d058a11ada ag71xx driver: interrupt status is masked by hw, don't mask it again
SVN-Revision: 13543
2008-12-08 08:24:47 +00:00
Gabor Juhos
9d5a38adad ag71xx driver: remove unused code
SVN-Revision: 13542
2008-12-08 08:22:56 +00:00
Gabor Juhos
c33682316e ag71xx driver: NAPI poll cleanup
SVN-Revision: 13538
2008-12-07 09:46:41 +00:00
Gabor Juhos
398ff859da ag71xx driver: handle TX timout
SVN-Revision: 13537
2008-12-07 06:43:02 +00:00
Gabor Juhos
d6382555f4 ag71xx driver: always use NAPI to transmit packets
SVN-Revision: 13529
2008-12-06 10:03:36 +00:00
Gabor Juhos
fcbd66fef1 ag71xx driver: improve poll routine
SVN-Revision: 13525
2008-12-05 20:08:00 +00:00
Gabor Juhos
a6be4564b7 ag71xx driver: always flush register writes
SVN-Revision: 13524
2008-12-05 19:42:02 +00:00
Gabor Juhos
9afbc8dd61 ag71xx driver: don't use dma_cache_wback_inv
SVN-Revision: 13523
2008-12-05 10:39:46 +00:00
Gabor Juhos
17cc4d671c ag71xx driver: don't use CHECKSUM_UNNECCESARY (closes #4161)
SVN-Revision: 13522
2008-12-05 07:15:45 +00:00
Gabor Juhos
05ea87a13f EHCI driver: add AR913x support
SVN-Revision: 13519
2008-12-04 18:16:05 +00:00
Gabor Juhos
d5bbef37fe rename reset register definitions
SVN-Revision: 13516
2008-12-04 16:55:43 +00:00
Gabor Juhos
fbe5c883a0 OHCI driver cleanup
SVN-Revision: 13508
2008-12-04 09:42:26 +00:00
Gabor Juhos
b4e4fa4b89 create platform data for the EHCI driver
SVN-Revision: 13499
2008-12-03 15:54:08 +00:00
Gabor Juhos
4c98f47b14 ag71xx driver: minor cleanup
SVN-Revision: 13496
2008-12-03 08:55:39 +00:00
Gabor Juhos
19a57a7794 ag71xx driver: fix RX_STATUS_OF bitmask, and add DMA status register bit descriptions
SVN-Revision: 13463
2008-12-02 08:49:22 +00:00
Gabor Juhos
2d3a12991c ag71xx driver: add some debug stuff
SVN-Revision: 13462
2008-12-02 08:46:37 +00:00
Gabor Juhos
6d0181c4fb ag71xx driver: reset DMA registers in hardware initialization
SVN-Revision: 13459
2008-12-01 21:21:36 +00:00
Gabor Juhos
a89b690fdc more ehci driver cleanup
SVN-Revision: 13454
2008-11-30 20:09:43 +00:00
Gabor Juhos
4e61cbbf5e ag71xx driver: fix a typo
SVN-Revision: 13445
2008-11-30 13:20:12 +00:00
Gabor Juhos
05184c7c38 ehci driver cleanup
SVN-Revision: 13441
2008-11-30 11:07:22 +00:00
Gabor Juhos
cbc625ee70 ag71xx driver: clean up hardware initialization
SVN-Revision: 13395
2008-11-28 14:08:53 +00:00
Gabor Juhos
f506e75eb0 ag71xx driver: add more register bit definitions
SVN-Revision: 13387
2008-11-27 22:40:34 +00:00
Gabor Juhos
bd20af97c2 ag71xx driver: unregister MDIO bus in module exit
SVN-Revision: 13385
2008-11-27 22:25:43 +00:00
Gabor Juhos
d841d5cfc7 ag71xx driver: use SoC specific PLL values
SVN-Revision: 13377
2008-11-27 18:54:58 +00:00
Gabor Juhos
c9ae01d3c8 ag71xx: introduce SoC specific fuctions for DDR flush and PLL setup
SVN-Revision: 13369
2008-11-26 20:00:41 +00:00
Gabor Juhos
0bb95d5754 ag71xx: dump additional registers in debug mode
SVN-Revision: 13361
2008-11-26 14:09:00 +00:00
Gabor Juhos
77cff176bf ethernet driver preparation for gigabit support
SVN-Revision: 13340
2008-11-24 16:56:36 +00:00
Gabor Juhos
f0a9ec964b define some bits of the ethernet controller's registers
SVN-Revision: 13201
2008-11-14 08:57:31 +00:00
Gabor Juhos
0c58b4ebbc cosmetic changes in the ag71xx driver
SVN-Revision: 13193
2008-11-12 18:08:32 +00:00
Gabor Juhos
e0fc95a2ab setup speed/duplex on RB-433/450 (closes #4151)
SVN-Revision: 13087
2008-10-31 11:50:47 +00:00
Gabor Juhos
a312d0611d minor ethernet driver update
SVN-Revision: 12985
2008-10-15 18:31:21 +00:00
Gabor Juhos
3994f8e4c3 add hardware watchdog driver
SVN-Revision: 12810
2008-09-30 08:05:18 +00:00
Gabor Juhos
f9afbda3d6 fix EHCI driver
SVN-Revision: 12518
2008-09-03 17:11:51 +00:00
Gabor Juhos
6ce62982dd ag71xx: add initial message level support
SVN-Revision: 12262
2008-08-10 09:18:42 +00:00
Gabor Juhos
c2187c736e reorder nand partitions on RB-4xx (closes #3852)
SVN-Revision: 12201
2008-08-06 07:33:13 +00:00
Gabor Juhos
970f41ad18 ethernet driver updates * new mii bus code, mac0 and mac1 can use the mac0's miii bus from now on * swap eth0 & eth1 on RB433/450
SVN-Revision: 11995
2008-07-29 18:22:38 +00:00
Gabor Juhos
029ef41bb1 fix the name of the micrel PHY driver
SVN-Revision: 11990
2008-07-29 12:46:05 +00:00
Gabor Juhos
7564923517 parse mac address on RouterBOARDs
SVN-Revision: 11910
2008-07-22 16:35:29 +00:00
Gabor Juhos
f529a37420 surprise :p
SVN-Revision: 11894
2008-07-21 17:08:14 +00:00