Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

e1000_82541.h 3.4KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. /*******************************************************************************
  2. Intel PRO/1000 Linux driver
  3. Copyright(c) 1999 - 2008 Intel Corporation.
  4. This program is free software; you can redistribute it and/or modify it
  5. under the terms and conditions of the GNU General Public License,
  6. version 2, as published by the Free Software Foundation.
  7. This program is distributed in the hope it will be useful, but WITHOUT
  8. ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  9. FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
  10. more details.
  11. You should have received a copy of the GNU General Public License along with
  12. this program; if not, write to the Free Software Foundation, Inc.,
  13. 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
  14. The full GNU General Public License is included in this distribution in
  15. the file called "COPYING".
  16. Contact Information:
  17. Linux NICS <linux.nics@intel.com>
  18. e1000-devel Mailing List <e1000-devel@lists.sourceforge.net>
  19. Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497
  20. *******************************************************************************/
  21. FILE_LICENCE ( GPL2_OR_LATER );
  22. #ifndef _E1000_82541_H_
  23. #define _E1000_82541_H_
  24. #define NVM_WORD_SIZE_BASE_SHIFT_82541 (NVM_WORD_SIZE_BASE_SHIFT + 1)
  25. #define IGP01E1000_PHY_CHANNEL_NUM 4
  26. #define IGP01E1000_PHY_AGC_A 0x1172
  27. #define IGP01E1000_PHY_AGC_B 0x1272
  28. #define IGP01E1000_PHY_AGC_C 0x1472
  29. #define IGP01E1000_PHY_AGC_D 0x1872
  30. #define IGP01E1000_PHY_AGC_PARAM_A 0x1171
  31. #define IGP01E1000_PHY_AGC_PARAM_B 0x1271
  32. #define IGP01E1000_PHY_AGC_PARAM_C 0x1471
  33. #define IGP01E1000_PHY_AGC_PARAM_D 0x1871
  34. #define IGP01E1000_PHY_EDAC_MU_INDEX 0xC000
  35. #define IGP01E1000_PHY_EDAC_SIGN_EXT_9_BITS 0x8000
  36. #define IGP01E1000_PHY_DSP_RESET 0x1F33
  37. #define IGP01E1000_PHY_DSP_FFE 0x1F35
  38. #define IGP01E1000_PHY_DSP_FFE_CM_CP 0x0069
  39. #define IGP01E1000_PHY_DSP_FFE_DEFAULT 0x002A
  40. #define IGP01E1000_IEEE_FORCE_GIG 0x0140
  41. #define IGP01E1000_IEEE_RESTART_AUTONEG 0x3300
  42. #define IGP01E1000_AGC_LENGTH_SHIFT 7
  43. #define IGP01E1000_AGC_RANGE 10
  44. #define FFE_IDLE_ERR_COUNT_TIMEOUT_20 20
  45. #define FFE_IDLE_ERR_COUNT_TIMEOUT_100 100
  46. #define IGP01E1000_ANALOG_FUSE_STATUS 0x20D0
  47. #define IGP01E1000_ANALOG_SPARE_FUSE_STATUS 0x20D1
  48. #define IGP01E1000_ANALOG_FUSE_CONTROL 0x20DC
  49. #define IGP01E1000_ANALOG_FUSE_BYPASS 0x20DE
  50. #define IGP01E1000_ANALOG_SPARE_FUSE_ENABLED 0x0100
  51. #define IGP01E1000_ANALOG_FUSE_FINE_MASK 0x0F80
  52. #define IGP01E1000_ANALOG_FUSE_COARSE_MASK 0x0070
  53. #define IGP01E1000_ANALOG_FUSE_COARSE_THRESH 0x0040
  54. #define IGP01E1000_ANALOG_FUSE_COARSE_10 0x0010
  55. #define IGP01E1000_ANALOG_FUSE_FINE_1 0x0080
  56. #define IGP01E1000_ANALOG_FUSE_FINE_10 0x0500
  57. #define IGP01E1000_ANALOG_FUSE_POLY_MASK 0xF000
  58. #define IGP01E1000_ANALOG_FUSE_ENABLE_SW_CONTROL 0x0002
  59. #define IGP01E1000_MSE_CHANNEL_D 0x000F
  60. #define IGP01E1000_MSE_CHANNEL_C 0x00F0
  61. #define IGP01E1000_MSE_CHANNEL_B 0x0F00
  62. #define IGP01E1000_MSE_CHANNEL_A 0xF000
  63. #endif