Module: xenomai-3
Branch: next
Commit: 723087689a119eab41df5a32d36c99926055210c
URL:    
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=723087689a119eab41df5a32d36c99926055210c

Author: Gilles Chanteperdrix <gilles.chanteperd...@xenomai.org>
Date:   Tue Nov 11 22:52:25 2014 +0100

rtnet: rtskb_pool changes (2)

Move the per-driver rtskb_pool to rtnet_devices. At this chance, rework
rtdev_reference/rtdev_dereference to lock/unlock module loading, also lock
the module when an interface is up, so that an interface must be down in order
to allow removing it.

A new call rtnetdev_alloc_rtskb is added to be used instead of dev_alloc_rtskb
to allocate devices from the device pool, its first argument being a pointer to
a device instead of a pointer to a pool.

---

 kernel/drivers/net/addons/cap.c                    |   13 +-
 kernel/drivers/net/addons/proxy.c                  |   17 +
 kernel/drivers/net/drivers/8139too.c               | 2339 ++++++++++----------
 kernel/drivers/net/drivers/at91_ether.c            |   27 +-
 kernel/drivers/net/drivers/e1000/e1000.h           |    1 -
 kernel/drivers/net/drivers/e1000/e1000_main.c      |  151 +-
 kernel/drivers/net/drivers/e1000e/e1000.h          |   17 +-
 kernel/drivers/net/drivers/e1000e/netdev.c         |   32 +-
 kernel/drivers/net/drivers/eepro100.c              |   49 +-
 kernel/drivers/net/drivers/eth1394.c               |  182 +-
 kernel/drivers/net/drivers/experimental/3c59x.c    | 1134 +++++-----
 .../drivers/net/drivers/experimental/e1000/e1000.h |    3 +-
 .../net/drivers/experimental/e1000/e1000_main.c    |  557 +++--
 .../net/drivers/experimental/rt2500/rt2500pci.c    |  461 ++--
 .../net/drivers/experimental/rt2500/rt2x00core.c   |  239 +-
 kernel/drivers/net/drivers/fec.c                   |   19 +-
 kernel/drivers/net/drivers/igb/igb.h               |    1 -
 kernel/drivers/net/drivers/igb/igb_main.c          |   84 +-
 kernel/drivers/net/drivers/loopback.c              |   12 +-
 kernel/drivers/net/drivers/macb.c                  |   15 +-
 .../drivers/net/drivers/mpc52xx_fec/mpc52xx_fec.c  |   58 +-
 .../net/drivers/mpc52xx_fec/rt_mpc52xx_fec.h       |    8 +-
 kernel/drivers/net/drivers/mpc8260_fcc_enet.c      |   66 +-
 kernel/drivers/net/drivers/mpc8xx_enet.c           |   38 +-
 kernel/drivers/net/drivers/mpc8xx_fec.c            |   72 +-
 kernel/drivers/net/drivers/natsemi.c               |   27 +-
 kernel/drivers/net/drivers/pcnet32.c               |  106 +-
 kernel/drivers/net/drivers/r8169.c                 |  107 +-
 kernel/drivers/net/drivers/rt_at91_ether.h         |    1 -
 kernel/drivers/net/drivers/rt_eth1394.h            |    9 +-
 kernel/drivers/net/drivers/rt_macb.h               |  127 +-
 kernel/drivers/net/drivers/smc91111.c              |  148 +-
 kernel/drivers/net/drivers/tulip/interrupt.c       |   82 +-
 kernel/drivers/net/drivers/tulip/tulip.h           |  493 ++---
 kernel/drivers/net/drivers/tulip/tulip_core.c      |   81 +-
 kernel/drivers/net/drivers/via-rhine.c             |   63 +-
 kernel/drivers/net/stack/include/rtdev.h           |   48 +-
 kernel/drivers/net/stack/include/rtskb.h           |    1 -
 kernel/drivers/net/stack/include/rtwlan.h          |   68 +-
 kernel/drivers/net/stack/rtdev.c                   |  293 +--
 kernel/drivers/net/stack/rtmac/rtmac_vnic.c        |    2 +-
 kernel/drivers/net/stack/rtskb.c                   |   10 +-
 kernel/drivers/net/stack/rtwlan.c                  |   87 +-
 43 files changed, 3567 insertions(+), 3781 deletions(-)

Diff:   
http://git.xenomai.org/?p=xenomai-3.git;a=commitdiff;h=723087689a119eab41df5a32d36c99926055210c

_______________________________________________
Xenomai-git mailing list
Xenomai-git@xenomai.org
http://www.xenomai.org/mailman/listinfo/xenomai-git

Reply via email to