ar6000_diag.h 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. //------------------------------------------------------------------------------
  2. // <copyright file="ar6000_diag.h" company="Atheros">
  3. // Copyright (c) 2004-2008 Atheros Corporation. All rights reserved.
  4. //
  5. // This program is free software; you can redistribute it and/or modify
  6. // it under the terms of the GNU General Public License version 2 as
  7. // published by the Free Software Foundation;
  8. //
  9. // Software distributed under the License is distributed on an "AS
  10. // IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
  11. // implied. See the License for the specific language governing
  12. // rights and limitations under the License.
  13. //
  14. //
  15. //------------------------------------------------------------------------------
  16. //==============================================================================
  17. // Author(s): ="Atheros"
  18. //==============================================================================
  19. #ifndef AR6000_DIAG_H_
  20. #define AR6000_DIAG_H_
  21. A_STATUS
  22. ar6000_ReadRegDiag(HIF_DEVICE *hifDevice, A_UINT32 *address, A_UINT32 *data);
  23. A_STATUS
  24. ar6000_WriteRegDiag(HIF_DEVICE *hifDevice, A_UINT32 *address, A_UINT32 *data);
  25. A_STATUS
  26. ar6000_ReadDataDiag(HIF_DEVICE *hifDevice, A_UINT32 address,
  27. A_UCHAR *data, A_UINT32 length);
  28. A_STATUS
  29. ar6000_WriteDataDiag(HIF_DEVICE *hifDevice, A_UINT32 address,
  30. A_UCHAR *data, A_UINT32 length);
  31. #endif /*AR6000_DIAG_H_*/