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.

44 lines
1.9 KiB

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