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.

91 lines
3.2 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../madwifi/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 madwifi-ng-r1614-20060601/ath/if_ath.c madwifi-ng-r1614-20060601-unified/ath/if_ath.c
  17. --- madwifi-ng-r1614-20060601/ath/if_ath.c 2006-05-31 23:05:08.000000000 +0200
  18. +++ madwifi-ng-r1614-20060601-unified/ath/if_ath.c 2006-06-06 17:07:02.000000000 +0200
  19. @@ -895,7 +895,7 @@
  20. if (autocreatemode != -1) {
  21. rtnl_lock();
  22. - error = ieee80211_create_vap(ic, "ath%d", dev,
  23. + error = ieee80211_create_vap(ic, "eth%d", dev,
  24. autocreatemode, IEEE80211_CLONE_BSSID);
  25. rtnl_unlock();
  26. if (error)
  27. diff -ur madwifi-ng-r1614-20060601/tools/80211debug.c madwifi-ng-r1614-20060601-unified/tools/80211debug.c
  28. --- madwifi-ng-r1614-20060601/tools/80211debug.c 2006-03-10 14:23:50.000000000 +0100
  29. +++ madwifi-ng-r1614-20060601-unified/tools/80211debug.c 2006-06-06 17:01:39.000000000 +0200
  30. @@ -38,7 +38,7 @@
  31. /*
  32. * 80211debug [-i interface] flags
  33. - * (default interface is ath0).
  34. + * (default interface is eth1).
  35. */
  36. #include <sys/types.h>
  37. @@ -183,7 +183,7 @@
  38. int
  39. main(int argc, char *argv[])
  40. {
  41. - const char *ifname = "ath0";
  42. + const char *ifname = "eth1";
  43. const char *cp, *tp;
  44. const char *sep;
  45. int op, i;
  46. diff -ur madwifi-ng-r1614-20060601/tools/80211stats.c madwifi-ng-r1614-20060601-unified/tools/80211stats.c
  47. --- madwifi-ng-r1614-20060601/tools/80211stats.c 2006-05-27 08:21:18.000000000 +0200
  48. +++ madwifi-ng-r1614-20060601-unified/tools/80211stats.c 2006-06-06 17:02:27.000000000 +0200
  49. @@ -250,7 +250,7 @@
  50. struct iwreq iwr;
  51. int allnodes = 0;
  52. - const char *ifname = "ath0";
  53. + const char *ifname = "eth1";
  54. s = socket(AF_INET, SOCK_DGRAM, 0);
  55. if (s < 0)
  56. diff -ur madwifi-ng-r1614-20060601/tools/athdebug.c madwifi-ng-r1614-20060601-unified/tools/athdebug.c
  57. --- madwifi-ng-r1614-20060601/tools/athdebug.c 2006-05-05 06:17:59.000000000 +0200
  58. +++ madwifi-ng-r1614-20060601-unified/tools/athdebug.c 2006-06-06 17:01:55.000000000 +0200
  59. @@ -183,9 +183,9 @@
  60. main(int argc, char *argv[])
  61. {
  62. #ifdef __linux__
  63. - const char *ifname = "wifi0";
  64. + const char *ifname = "eth1";
  65. #else
  66. - const char *ifname = "ath0";
  67. + const char *ifname = "eth1";
  68. #endif
  69. const char *cp, *tp;
  70. const char *sep;
  71. diff -ur madwifi-ng-r1614-20060601/tools/athstats.c madwifi-ng-r1614-20060601-unified/tools/athstats.c
  72. --- madwifi-ng-r1614-20060601/tools/athstats.c 2006-05-05 06:20:50.000000000 +0200
  73. +++ madwifi-ng-r1614-20060601-unified/tools/athstats.c 2006-06-06 17:02:06.000000000 +0200
  74. @@ -231,9 +231,9 @@
  75. main(int argc, char *argv[])
  76. {
  77. #ifdef __linux__
  78. - const char *ifname = "wifi0";
  79. + const char *ifname = "eth1";
  80. #else
  81. - const char *ifname = "ath0";
  82. + const char *ifname = "eth1";
  83. #endif
  84. int s;
  85. struct ifreq ifr;