1. 03 Sep, 2009 1 commit
  2. 02 Sep, 2009 2 commits
  3. 31 Aug, 2009 1 commit
    • Toru UCHIYAMA's avatar
      gianfar: gfar_remove needs to call unregister_netdev() · 38bddf04
      Toru UCHIYAMA authored
      This patch solves the problem that the Oops(BUG_ON) occurs by rmmod.
      
      	# rmmod gianfar_driver
      	------------[ cut here ]------------
      	Kernel BUG at c01fec48 [verbose debug info unavailable]
      	Oops: Exception in kernel mode, sig: 5 [#1]
      	MPC837x MDS
      	Modules linked in: gianfar_driver(-) usb_storage scsi_wait_scan
      	NIP: c01fec48 LR: c01febf4 CTR: c01feba8
      	REGS: dec5bd60 TRAP: 0700   Tainted: G        W   (2.6.31-rc2)
      	MSR: 00029032 <EE,ME,CE,IR,DR>  CR: 22000424  XER: 20000000
      	TASK = dec4cac0[1135] 'rmmod' THREAD: dec5a000
      	GPR00: 00000002 dec5be10 dec4cac0 dfba1820 c035d444 c035d478 ffffffff 00000000
      	GPR08: 0000002b 00000001 dfba193c 00000001 22000424 10019b34 1ffcb000 00000000
      	GPR16: 10012008 00000000 bf82ebe0 100017ec bf82ebec bf82ebe8 bf82ebd0 00000880
      	GPR24: 00000000 bf82ebf0 c03532f0 c03532e4 c036b594 dfba183c dfba1800 dfba1820
      	NIP [c01fec48] free_netdev+0xa0/0xb8
      	LR [c01febf4] free_netdev+0x4c/0xb8
      	Call Trace:
      	[dec5be10] [c01febf4] free_netdev+0x4c/0xb8 (unreliable)
      	[dec5be30] [e105f290] gfar_remove+0x50/0x68 [gianfar_driver]
      	[dec5be40] [c01ec534] of_platform_device_remove+0x30/0x44
      	[dec5be50] [c0181760] __device_release_driver+0x68/0xc8
      	[dec5be60] [c0181868] driver_detach+0xa8/0xac
      	[dec5be80] [c0180814] bus_remove_driver+0x9c/0xd8
      	[dec5bea0] [c0181efc] driver_unregister+0x60/0x98
      	[dec5beb0] [c01ec650] of_unregister_driver+0x14/0x24
      	[dec5bec0] [e10631bc] gfar_exit+0x18/0x4bc [gianfar_driver]
      	[dec5bed0] [c0047584] sys_delete_module+0x16c/0x228
      	[dec5bf40] [c00116bc] ret_from_syscall+0x0/0x38
      	--- Exception: c01 at 0xff3669c
      	    LR = 0x10000f34
      	Instruction dump:
      	409e0024 a07e00c0 7c63f050 4be74429 80010024 bba10014 38210020 7c0803a6
      	4e800020 68000003 3160ffff 7d2b0110 <0f090000> 38000004 387e01f0 901e01d4
      	---[ end trace 8c595bcd37230a0f ]---
      	 localhost kernel: ------------[ cut here ]------------
      
      Signed-off-by: Toru UCHIYAMA uchiyama.toru@jp.fujitsu.com
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      38bddf04
  4. 29 Aug, 2009 1 commit
  5. 28 Aug, 2009 1 commit
    • Zhu Yi's avatar
      ipw2200: firmware DMA loading rework · 11ebd1bf
      Zhu Yi authored
      Bartlomiej Zolnierkiewicz reported an atomic order-6 allocation failure
      for ipw2200 firmware loading in kernel 2.6.30. High order allocation is
      likely to fail and should always be avoided.
      
      The patch fixes this problem by replacing the original order-6
      pci_alloc_consistent() with an array of order-1 pages from a pci pool.
      This utilized the ipw2200 DMA command blocks (up to 64 slots). The
      maximum firmware size support remains the same (64*8K).
      
      This patch fixes bug http://bugzilla.kernel.org/show_bug.cgi?id=14016
      
      Cc: Andrew Morton <akpm@linux-foundation.org>
      Cc: Mel Gorman <mel@csn.ul.ie>
      Signed-off-by: default avatarZhu Yi <yi.zhu@intel.com>
      Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
      11ebd1bf
  6. 26 Aug, 2009 4 commits
  7. 25 Aug, 2009 1 commit
  8. 24 Aug, 2009 10 commits
  9. 23 Aug, 2009 1 commit
  10. 21 Aug, 2009 2 commits
  11. 20 Aug, 2009 1 commit
    • Petri Gynther's avatar
      ibm_newemac: emac_close() needs to call netif_carrier_off() · d3b325f9
      Petri Gynther authored
      When ibm_newemac netdev instance is shutdown with "ifconfig down",
      the netdev interface does not go properly down. netif_carrier_ok()
      keeps returning TRUE even after "ifconfig down".
      
      The problem can be seen when ibm_newemac instances are slaves of
      a bonding interface. The bonding interface code uses netif_carrier_ok()
      to determine the link status of its slaves. When ibm_newemac slave is
      shutdown with "ifconfig down", the bonding interface won't detect any
      link status change because netif_carrier_ok() keeps returning TRUE.
      Signed-off-by: default avatarPetri Gynther <pgynther@google.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      d3b325f9
  12. 19 Aug, 2009 3 commits
  13. 18 Aug, 2009 3 commits
  14. 17 Aug, 2009 2 commits
  15. 16 Aug, 2009 7 commits