1. 06 12月, 2008 1 次提交
  2. 13 11月, 2008 1 次提交
    • W
      netdevice: safe convert to netdev_priv() #part-2 · 4cf1653a
      Wang Chen 提交于
      We have some reasons to kill netdev->priv:
      1. netdev->priv is equal to netdev_priv().
      2. netdev_priv() wraps the calculation of netdev->priv's offset, obviously
         netdev_priv() is more flexible than netdev->priv.
      But we cann't kill netdev->priv, because so many drivers reference to it
      directly.
      
      This patch is a safe convert for netdev->priv to netdev_priv(netdev).
      Since all of the netdev->priv is only for read.
      But it is too big to be sent in one mail.
      I split it to 4 parts and make every part smaller than 100,000 bytes,
      which is max size allowed by vger.
      Signed-off-by: NWang Chen <wangchen@cn.fujitsu.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      4cf1653a
  3. 04 11月, 2008 1 次提交
  4. 02 11月, 2008 1 次提交
  5. 18 10月, 2008 2 次提交
  6. 16 10月, 2008 1 次提交
  7. 08 10月, 2008 1 次提交
  8. 23 9月, 2008 1 次提交
  9. 07 8月, 2008 2 次提交
  10. 31 7月, 2008 2 次提交
  11. 21 7月, 2008 1 次提交
    • A
      tty: Ldisc revamp · a352def2
      Alan Cox 提交于
      Move the line disciplines towards a conventional ->ops arrangement.  For
      the moment the actual 'tty_ldisc' struct in the tty is kept as part of
      the tty struct but this can then be changed if it turns out that when it
      all settles down we want to refcount ldiscs separately to the tty.
      
      Pull the ldisc code out of /proc and put it with our ldisc code.
      Signed-off-by: NAlan Cox <alan@redhat.com>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      a352def2
  12. 10 7月, 2008 3 次提交
  13. 08 7月, 2008 3 次提交
  14. 12 6月, 2008 1 次提交
  15. 10 6月, 2008 1 次提交
  16. 22 5月, 2008 1 次提交
  17. 05 5月, 2008 2 次提交
    • I
      irda: fix !PNP support for drivers/net/irda/smsc-ircc2.c · 7a1aa309
      Ingo Molnar 提交于
      x86.git testing found this build bug on v2.6.26-rc1:
      
        ERROR: "pnp_get_resource" [drivers/net/irda/smsc-ircc2.ko] undefined!
        make[1]: *** [__modpost] Error 1
        make: *** [modules] Error 2
      
      the driver did not anticipate the case of !CONFIG_PNP which is rare but 
      still possible. Instead of restricting the driver to PNP-only in the 
      Kconfig space, add the (trivial) dummy struct pnp_driver - this is that 
      other drivers use in the !PNP case too.
      
      The driver itself can in theory be initialized on !PNP too in certain 
      cases, via smsc_ircc_legacy_probe().
      
      Patch only minimally build tested, i dont have this hardware.
      Signed-off-by: NIngo Molnar <mingo@elte.hu>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      7a1aa309
    • I
      irda: fix !PNP support in drivers/net/irda/nsc-ircc.c · c17f888f
      Ingo Molnar 提交于
      x86.git testing found the following build failure in latest -git:
      
       drivers/built-in.o: In function `nsc_ircc_pnp_probe':
       nsc-ircc.c:(.text+0xdf1b6): undefined reference to `pnp_get_resource'
       nsc-ircc.c:(.text+0xdf1d4): undefined reference to `pnp_get_resource'
       nsc-ircc.c:(.text+0xdf1ee): undefined reference to `pnp_get_resource'
       nsc-ircc.c:(.text+0xdf237): undefined reference to `pnp_get_resource'
       nsc-ircc.c:(.text+0xdf24c): undefined reference to `pnp_get_resource'
       drivers/built-in.o:nsc-ircc.c:(.text+0xdf266): more undefined references to `pnp_get_resource' follow
       make: *** [.tmp_vmlinux1] Error 1
      
      triggered via this config:
      
        http://redhat.com/~mingo/misc/config-Sat_May__3_20_53_13_CEST_2008.bad
      
      while generally most users will have PNP enabled, drivers can support
      non-PNP build mode too - and most drivers implement it. That is typically
      done by providing a dummy pnp_driver structure that will not probe anything.
      
      The fallback routines in the driver will handle this dumber mode of
      operation too.
      
      This patch implements that. I have not tested whether this actually
      works on real hardware so take care. It does resolve the build bug.
      
      [ Another solution that is used by a few drivers is to exclude the driver
        in the Kconfig if PNP is disabled, via "depends on PNP", but this would
        limit the availability of the driver needlessly. ]
      Signed-off-by: NIngo Molnar <mingo@elte.hu>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      c17f888f
  18. 30 4月, 2008 1 次提交
    • A
      tty: The big operations rework · f34d7a5b
      Alan Cox 提交于
      - Operations are now a shared const function block as with most other Linux
        objects
      
      - Introduce wrappers for some optional functions to get consistent behaviour
      
      - Wrap put_char which used to be patched by the tty layer
      
      - Document which functions are needed/optional
      
      - Make put_char report success/fail
      
      - Cache the driver->ops pointer in the tty as tty->ops
      
      - Remove various surplus lock calls we no longer need
      
      - Remove proc_write method as noted by Alexey Dobriyan
      
      - Introduce some missing sanity checks where certain driver/ldisc
        combinations would oops as they didn't check needed methods were present
      
      [akpm@linux-foundation.org: fix fs/compat_ioctl.c build]
      [akpm@linux-foundation.org: fix isicom]
      [akpm@linux-foundation.org: fix arch/ia64/hp/sim/simserial.c build]
      [akpm@linux-foundation.org: fix kgdb]
      Signed-off-by: NAlan Cox <alan@redhat.com>
      Acked-by: NGreg Kroah-Hartman <gregkh@suse.de>
      Cc: Jason Wessel <jason.wessel@windriver.com>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      f34d7a5b
  19. 29 4月, 2008 2 次提交
  20. 25 4月, 2008 1 次提交
    • K
      net drivers: fix platform driver hotplug/coldplug · 72abb461
      Kay Sievers 提交于
      Since 43cc71ee, the platform modalias is
      prefixed with "platform:".  Add MODULE_ALIAS() to the hotpluggable network
      platform drivers, to re-enable auto loading.
      
      NOTE: didn't change drivers/net/fs_enet/fs_enet-main.c "old binding" support.
      That looks problematic in the first place (it even uses the ancient "struct
      device_driver" binding scheme for platform_bus!) and I suspect it will vanish
      soonish when arch/powerpc rules the world.  Also, drivers/net/ne.c would have
      needed more thought to sort out.
      
      [akpm@linux-foundation.org: fix sgiseeq.c]
      [dbrownell@users.sourceforge.net: more drivers, registration fixes]
      Signed-off-by: NKay Sievers <kay.sievers@vrfy.org>
      Signed-off-by: NDavid Brownell <dbrownell@users.sourceforge.net>
      Cc: Scott Wood <scottwood@freescale.com>
      Cc: Vitaly Bordug <vitb@kernel.crashing.org>
      Cc: Dale Farnsworth <dale@farnsworth.org>
      Cc: Ben Dooks <ben-linux@fluff.org>
      Cc: Ralf Baechle <ralf@linux-mips.org>
      Cc: Andrew Victor <andrew@sanpeople.com>
      Cc: Bryan Wu <bryan.wu@analog.com>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NJeff Garzik <jgarzik@redhat.com>
      72abb461
  21. 19 4月, 2008 2 次提交
  22. 03 2月, 2008 1 次提交
  23. 29 1月, 2008 3 次提交
  24. 17 12月, 2007 3 次提交
  25. 07 11月, 2007 1 次提交
  26. 29 10月, 2007 1 次提交