bfa_defs_pm.h 971 B

123456789101112131415161718192021222324252627282930313233
  1. /*
  2. * Copyright (c) 2005-2009 Brocade Communications Systems, Inc.
  3. * All rights reserved
  4. * www.brocade.com
  5. *
  6. * Linux driver for Brocade Fibre Channel Host Bus Adapter.
  7. *
  8. * This program is free software; you can redistribute it and/or modify it
  9. * under the terms of the GNU General Public License (GPL) Version 2 as
  10. * published by the Free Software Foundation
  11. *
  12. * This program is distributed in the hope that it will be useful, but
  13. * WITHOUT ANY WARRANTY; without even the implied warranty of
  14. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  15. * General Public License for more details.
  16. */
  17. #ifndef __BFA_DEFS_PM_H__
  18. #define __BFA_DEFS_PM_H__
  19. #include <bfa_os_inc.h>
  20. /**
  21. * BFA power management device states
  22. */
  23. enum bfa_pm_ds {
  24. BFA_PM_DS_D0 = 0, /* full power mode */
  25. BFA_PM_DS_D1 = 1, /* power save state 1 */
  26. BFA_PM_DS_D2 = 2, /* power save state 2 */
  27. BFA_PM_DS_D3 = 3, /* power off state */
  28. };
  29. #endif /* __BFA_DEFS_PM_H__ */