OpenSDE Packages Database (without history before r20070)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

45 lines
2.0 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../linux26-rt/eth-naming.patch
  5. # Copyright (C) 2007 The OpenSDE Project
  6. # Copyright (C) 2006 The T2 SDE Project
  7. #
  8. # More information can be found in the files COPYING and README.
  9. #
  10. # This patch file is dual-licensed. It is available under the license the
  11. # patched project is licensed under, as long as it is an OpenSource license
  12. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  13. # of the GNU General Public License as published by the Free Software
  14. # Foundation; either version 2 of the License, or (at your option) any later
  15. # version.
  16. # --- SDE-COPYRIGHT-NOTE-END ---
  17. diff -ur linux-2.6.16/drivers/net/wireless/airo.c linux-2.6.16/drivers/net/wireless-unified/airo.c
  18. --- linux-2.6.16/drivers/net/wireless/airo.c 2006-03-20 06:53:29.000000000 +0100
  19. +++ linux-2.6.16/drivers/net/wireless-unified/airo.c 2006-06-06 17:25:52.000000000 +0200
  20. @@ -2659,7 +2659,7 @@
  21. struct net_device *ethdev)
  22. {
  23. int err;
  24. - struct net_device *dev = alloc_netdev(0, "wifi%d", wifi_setup);
  25. + struct net_device *dev = alloc_netdev(0, "eth%d", wifi_setup);
  26. if (!dev)
  27. return NULL;
  28. dev->priv = ethdev->priv;
  29. diff -ur linux-2.6.16/drivers/net/wireless/hostap/hostap_hw.c linux-2.6.16/drivers/net/wireless-unified/hostap/hostap_hw.c
  30. --- linux-2.6.16/drivers/net/wireless/hostap/hostap_hw.c 2006-03-20 06:53:29.000000000 +0100
  31. +++ linux-2.6.16/drivers/net/wireless-unified/hostap/hostap_hw.c 2006-06-06 17:26:58.000000000 +0200
  32. @@ -82,10 +82,10 @@
  33. module_param_array(dtim_period, int, NULL, 0444);
  34. MODULE_PARM_DESC(dtim_period, "DTIM period");
  35. -static char dev_template[16] = "wlan%d";
  36. +static char dev_template[16] = "eth%d";
  37. module_param_string(dev_template, dev_template, sizeof(dev_template), 0444);
  38. MODULE_PARM_DESC(dev_template, "Prefix for network device name (default: "
  39. - "wlan%d)");
  40. + "eth%d)");
  41. #ifdef final_version
  42. #define EXTRA_EVENTS_WTERR 0