1
0

430-add_ath5k_platform.patch 1.2 KB

123456789101112131415161718192021222324252627282930313233
  1. --- /dev/null
  2. +++ b/include/linux/ath5k_platform.h
  3. @@ -0,0 +1,30 @@
  4. +/*
  5. + * Copyright (c) 2008 Atheros Communications Inc.
  6. + * Copyright (c) 2009 Gabor Juhos <juhosg@openwrt.org>
  7. + * Copyright (c) 2009 Imre Kaloz <kaloz@openwrt.org>
  8. + * Copyright (c) 2010 Daniel Golle <daniel.golle@gmail.com>
  9. + *
  10. + * Permission to use, copy, modify, and/or distribute this software for any
  11. + * purpose with or without fee is hereby granted, provided that the above
  12. + * copyright notice and this permission notice appear in all copies.
  13. + *
  14. + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
  15. + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
  16. + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
  17. + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
  18. + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
  19. + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
  20. + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  21. + */
  22. +
  23. +#ifndef _LINUX_ATH5K_PLATFORM_H
  24. +#define _LINUX_ATH5K_PLATFORM_H
  25. +
  26. +#define ATH5K_PLAT_EEP_MAX_WORDS 2048
  27. +
  28. +struct ath5k_platform_data {
  29. + u16 *eeprom_data;
  30. + u8 *macaddr;
  31. +};
  32. +
  33. +#endif /* _LINUX_ATH5K_PLATFORM_H */