2
1

busybox-1.9.0-nameif.patch 1.5 KB

123456789101112131415161718192021222324252627282930313233
  1. diff -urN busybox-1.9.0/networking/nameif.c busybox-1.9.0-nameif/networking/nameif.c
  2. --- busybox-1.9.0/networking/nameif.c 2007-12-24 14:08:25.000000000 +0000
  3. +++ busybox-1.9.0-nameif/networking/nameif.c 2008-01-04 20:05:48.000000000 +0000
  4. @@ -50,18 +50,18 @@
  5. #define ETHTOOL_BUSINFO_LEN 32
  6. /* these strings are set to whatever the driver author decides... */
  7. struct ethtool_drvinfo {
  8. - __u32 cmd;
  9. - char driver[32]; /* driver short name, "tulip", "eepro100" */
  10. - char version[32]; /* driver version string */
  11. - char fw_version[32]; /* firmware version string, if applicable */
  12. - char bus_info[ETHTOOL_BUSINFO_LEN]; /* Bus info for this IF. */
  13. + uint32_t cmd;
  14. + char driver[32]; /* driver short name, "tulip", "eepro100" */
  15. + char version[32]; /* driver version string */
  16. + char fw_version[32]; /* firmware version string, if applicable */
  17. + char bus_info[ETHTOOL_BUSINFO_LEN]; /* Bus info for this IF. */
  18. /* For PCI devices, use pci_dev->slot_name. */
  19. - char reserved1[32];
  20. - char reserved2[16];
  21. - __u32 n_stats; /* number of u64's from ETHTOOL_GSTATS */
  22. - __u32 testinfo_len;
  23. - __u32 eedump_len; /* Size of data from ETHTOOL_GEEPROM (bytes) */
  24. - __u32 regdump_len; /* Size of data from ETHTOOL_GREGS (bytes) */
  25. + char reserved1[32];
  26. + char reserved2[16];
  27. + uint32_t n_stats; /* number of u64's from ETHTOOL_GSTATS */
  28. + uint32_t testinfo_len;
  29. + uint32_t eedump_len; /* Size of data from ETHTOOL_GEEPROM (bytes) */
  30. + uint32_t regdump_len; /* Size of data from ETHTOOL_GREGS (bytes) */
  31. };
  32. #define ETHTOOL_GDRVINFO 0x00000003 /* Get driver info. */
  33. #endif