1. 07 6月, 2012 1 次提交
    • J
      ethernet: Remove casts to same type · 64699336
      Joe Perches 提交于
      Adding casts of objects to the same type is unnecessary
      and confusing for a human reader.
      
      For example, this cast:
      
              int y;
              int *p = (int *)&y;
      
      I used the coccinelle script below to find and remove these
      unnecessary casts.  I manually removed the conversions this
      script produces of casts with __force, __iomem and __user.
      
      @@
      type T;
      T *p;
      @@
      
      -       (T *)p
      +       p
      
      A function in atl1e_main.c was passed a const pointer
      when it actually modified elements of the structure.
      
      Change the argument to a non-const pointer.
      
      A function in stmmac needed a __force to avoid a sparse
      warning.  Added it.
      Signed-off-by: NJoe Perches <joe@perches.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      64699336
  2. 18 5月, 2012 1 次提交
    • P
      drivers/net: delete all code/drivers depending on CONFIG_MCA · a5e371f6
      Paul Gortmaker 提交于
      The support for CONFIG_MCA is being removed, since the 20
      year old hardware simply isn't capable of meeting today's
      software demands on CPU and memory resources.
      
      This commit removes any MCA specific net drivers, and removes
      any MCA specific probe/support code from drivers that were
      doing a dual ISA/MCA role.
      
      Cc: "David S. Miller" <davem@davemloft.net>
      Cc: James Bottomley <James.Bottomley@HansenPartnership.com>
      Cc: netdev@vger.kernel.org
      Signed-off-by: NPaul Gortmaker <paul.gortmaker@windriver.com>
      a5e371f6
  3. 22 4月, 2012 1 次提交
  4. 04 4月, 2012 2 次提交
  5. 29 3月, 2012 2 次提交
  6. 07 2月, 2012 1 次提交
  7. 31 1月, 2012 1 次提交
  8. 11 1月, 2012 1 次提交
  9. 29 11月, 2011 1 次提交
    • A
      net/ethernet: convert drivers/net/ethernet/* to use module_platform_driver() · db62f684
      Axel Lin 提交于
      This patch converts the drivers in drivers/net/ethernet/* to use the
      module_platform_driver() macro which makes the code smaller and a bit
      simpler.
      
      Cc: "David S. Miller" <davem@davemloft.net>
      Cc: Pantelis Antoniou <pantelis.antoniou@gmail.com>
      Cc: Vitaly Bordug <vbordug@ru.mvista.com>
      Cc: Wan ZongShun <mcuos.com@gmail.com>
      Cc: Nicolas Pitre <nico@fluxnic.net>
      Cc: Giuseppe Cavallaro <peppe.cavallaro@st.com>
      Cc: Marc Kleine-Budde <mkl@pengutronix.de>
      Cc: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
      Cc: Jiri Pirko <jpirko@redhat.com>
      Cc: Daniel Hellstrom <daniel@gaisler.com>
      Cc: Alexey Dobriyan <adobriyan@gmail.com>
      Cc: Tobias Klauser <tklauser@distanz.ch>
      Cc: Grant Likely <grant.likely@secretlab.ca>
      Cc: Jiri Kosina <jkosina@suse.cz>
      Cc: Richard Cochran <richard.cochran@omicron.at>
      Cc: Jonas Bonn <jonas@southpole.se>
      Cc: Sebastian Poehn <sebastian.poehn@belden.com>
      Cc: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
      Cc: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
      Cc: "Michał Mirosław" <mirq-linux@rere.qmqm.pl>
      Signed-off-by: NAxel Lin <axel.lin@gmail.com>
      Acked-by: NWan ZongShun <mcuos.com@gmail.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      db62f684
  10. 17 11月, 2011 1 次提交
  11. 09 11月, 2011 1 次提交
  12. 27 8月, 2011 1 次提交
    • J
      drivers/net/ethernet/*: Enabled vendor Kconfig options · 88f07484
      Jeff Kirsher 提交于
      Based on finds for Stephen Rothwell, where current defconfig's
      enable a ethernet driver and it is not compiled due to the newly
      added NET_VENDOR_* component of Kconfig.
      
      This patch enables all the "new" Kconfig options so that current
      defconfig's will continue to compile the expected drivers.  In
      addition, by enabling all the new Kconfig options does not add
      any un-expected options.
      
      CC: Stephen Rothwll <sfc@canb.auug.org.au>
      Signed-off-by: NJeff Kirsher <jeffrey.t.kirsher@intel.com>
      88f07484
  13. 18 8月, 2011 1 次提交
  14. 12 8月, 2011 1 次提交
    • J
      *sonic/natsemi/ns83829: Move the National Semi-conductor drivers · d9fb9f38
      Jeff Kirsher 提交于
      Move the National Semi-conductor drivers into drivers/net/ethernet/natsemi/
      and make the necessary Kconfig and Makefile changes.  Also moved the 8390
      (National Semi-conductor) devices as a sub-menu of National Semi-conductor
      devices.
      
      - moved the ibmlana driver as well into this directory since it is a
        "SONIC" driver
      
      CC: Alfred Arnold <alfred.arnold@lancom.de>
      CC: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
      CC: Harald Welte <laforge@gnumonks.org>
      CC: Tim Hockin <thockin@hockin.org>
      CC: <linux-ns83820@kvack.org>
      CC: Kevin Chea <kchea@yahoo.com>
      CC: Marc Gauthier <marc@linux-xtensa.org>
      CC: Chris Zankel <chris@zankel.net>
      Signed-off-by: NJeff Kirsher <jeffrey.t.kirsher@intel.com>
      Acked-by: NMarc Gauthier <marc@tensilica.com>
      d9fb9f38
  15. 11 8月, 2011 2 次提交
    • J
      smsc: Move the SMC (SMSC) drivers · ae150435
      Jeff Kirsher 提交于
      Moves the SMC (SMSC) drivers into drivers/net/ethernet/smsc/ and the
      necessary Kconfig and Makefile changes.  Also did some cleanup
      of NET_VENDOR_SMC Kconfig tag for the 8390 based drivers.
      
      CC: Nicolas Pitre <nico@fluxnic.net>
      CC: Donald Becker <becker@scyld.com>
      CC: Erik Stahlman <erik@vt.edu>
      CC: Dustin McIntire <dustin@sensoria.com>
      CC: Steve Glendinning <steve.glendinning@smsc.com>
      CC: David Hinds <dahinds@users.sourceforge.net>
      Signed-off-by: NJeff Kirsher <jeffrey.t.kirsher@intel.com>
      ae150435
    • J
      8390: Move the 8390 related drivers · 644570b8
      Jeff Kirsher 提交于
      Moves the drivers for the National Semi-conductor 8390 chipset into
      drivers/net/ethernet/8390/ and the necessary Kconfig and Makefile
      changes.
      
      CC: Donald Becker <becker@scyld.com>
      CC: Paul Gortmaker <paul.gortmaker@windriver.com>
      CC: Alain Malek <alain.malek@cryogen.com>
      CC: Peter De Schrijver <p2@mind.be>
      CC: "David Huggins-Daines" <dhd@debian.org>
      CC: Wim Dumon <wimpie@kotnet.org>
      CC: Yoshinori Sato <ysato@users.sourceforge.jp>
      CC: David Hinds <dahinds@users.sourceforge.net>
      CC: Russell King <linux@arm.linux.org.uk>
      Signed-off-by: NJeff Kirsher <jeffrey.t.kirsher@intel.com>
      644570b8