Skip to content
Snippets Groups Projects
  1. Jun 15, 2008
    • Felix Fietkau's avatar
      a0999831
    • Felix Fietkau's avatar
      add another check to the dependencies · 351b6391
      Felix Fietkau authored
      SVN-Revision: 11475
      351b6391
    • Felix Fietkau's avatar
      fix typo · 980b80dd
      Felix Fietkau authored
      SVN-Revision: 11474
      980b80dd
    • Felix Fietkau's avatar
      add some sanity checking · 8b41afa5
      Felix Fietkau authored
      SVN-Revision: 11473
      8b41afa5
    • Felix Fietkau's avatar
      remove some unused crap · f2e997ac
      Felix Fietkau authored
      SVN-Revision: 11472
      f2e997ac
    • Felix Fietkau's avatar
      (6/6) bcm57xx: package · ddd809f9
      Felix Fietkau authored
      This is the bcm57xx package.  I have tested default vlan functions,
      but I dont have the equipment to test more advanced setups.  The default
      vlan setup seems to be working fine.  I also added the activate_gpio
      parameter which will make the driver activate the switch via gpio before
      probing for it.
      
      I'm not sure which method is best for autoload.  For the wrt350n, I
      need the activate_gpio parameter.  But its probably not a good idea
      to add that to the autoload file.  On a system without a bcm57xx switch,
      isn't it a bad idea to mess with the gpios looking for the switch? Ideally,
      wouldn't it be best to load the bcm57xx module from broadcom-diag, after
      it has determined which router its on?  I tried using 'request_module' from
      there, but had no success.  For now, I am relying on preinit to load
      the bcm57xx module with activate_gpio param, after it has failed to load
      switch_robo and switch_adm.
      
      Signed-off-by: Ben Pfountz <netprince (at) vt (dot) edu>
      
      SVN-Revision: 11471
      ddd809f9
    • Felix Fietkau's avatar
      (5/6) bcm57xx: bcm4785 incomplete reboot · 20937ce8
      Felix Fietkau authored
      I noticed my wrt350n would not reliably reboot after entering
      the reboot command.  I found this code in the source for the
      wrt600n.  It corrects the problem, and the wrt350n reboots
      reliably now.
      
      Signed-off-by: Ben Pfountz <netprince (at) vt (dot) edu>
      
      SVN-Revision: 11470
      20937ce8
    • Felix Fietkau's avatar
      (4/6) bcm57xx: switch-core.c/switch-robo.c check for port already registered · 40990382
      Felix Fietkau authored
      This patch prevents switch-robo.c from attempting robo_probe on a port
      that is already registered.  robo_probe will adjust kernel reference counts
      if it detects a switch on the port.  If this patch wasn't applied, the
      wrt350n would hang on reboot, waiting for the network driver reference count
      to reach zero indefinitely.
      
      Signed-off-by: Ben Pfountz <netprince (at) vt (dot) edu>
      
      SVN-Revision: 11469
      40990382
    • Felix Fietkau's avatar
      (3/6) bcm57xx: preinit · 9621d872
      Felix Fietkau authored
      This patch allows the bcm57xx module to work correctly with failsafe mode.
      
      insmod doesn't return an error when a module loads but doesn't detect a switch.
      I added the check_module function to load the module, then make sure
      it doesn't just exit immediately.  This allows preinit to only attempt to
      load the bcm57xx module when switch-robo and switch-adm dont detect a switch.
      
      The activate_gpio parameter to bcm57xx simply instructs the module to attempt
      to activate the switch via gpio before probing for the switch.
      
      Tested on wrt350n.
      
      Signed-off-by: Ben Pfountz <netprince (at) vt (dot) edu>
      
      SVN-Revision: 11468
      9621d872
    • Felix Fietkau's avatar
      (2/6) bcm57xx: netconfig · f9ad520e
      Felix Fietkau authored
      Update the netconfig script to support boardtype 0x478.  I've tested this
      on the wrt350n, hopefully it will match the 600n as well.
      
      Signed-off-by: Ben Pfountz <netprince (at) vt (dot) edu>
      
      SVN-Revision: 11467
      f9ad520e
    • Felix Fietkau's avatar
      (1/6) bcm57xx: init from diag · f7e09198
      Felix Fietkau authored
      I've been working to finish up the bcm57xx module package nbd
      posted a few months ago.  I am no expert, just had some spare
      time and some motivation.  Here is the background:
      
      https://dev.openwrt.org/ticket/2744
      
      This first patch disables the bcm57xx gpio setup in broadcom-diag.
      The switch needs to be initialized by the driver so the driver can
      then reset the switch ASAP.  If the switch isn't reset quickly enough,
      it will forward packets between the WAN and LAN, which will cause
      problems with modems that only allow one mac to access the internet.
      
      Tested on wrt350n.
      
      Signed-off-by: Ben Pfountz <netprince (at) vt (dot) edu>
      
      SVN-Revision: 11466
      f7e09198
  2. Jun 13, 2008
  3. Jun 12, 2008
  4. Jun 11, 2008
  5. Jun 10, 2008
  6. Jun 09, 2008
Loading