diff options
Diffstat (limited to 'drivers/net/bnx2x_reg.h')
-rw-r--r-- | drivers/net/bnx2x_reg.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/drivers/net/bnx2x_reg.h b/drivers/net/bnx2x_reg.h index b5313c209caa..3f65dffb6d76 100644 --- a/drivers/net/bnx2x_reg.h +++ b/drivers/net/bnx2x_reg.h | |||
@@ -1372,6 +1372,23 @@ | |||
1372 | be asserted). */ | 1372 | be asserted). */ |
1373 | #define MISC_REG_DRIVER_CONTROL_16 0xa5f0 | 1373 | #define MISC_REG_DRIVER_CONTROL_16 0xa5f0 |
1374 | #define MISC_REG_DRIVER_CONTROL_16_SIZE 2 | 1374 | #define MISC_REG_DRIVER_CONTROL_16_SIZE 2 |
1375 | /* [RW 32] The following driver registers(1...16) represent 16 drivers and | ||
1376 | 32 clients. Each client can be controlled by one driver only. One in each | ||
1377 | bit represent that this driver control the appropriate client (Ex: bit 5 | ||
1378 | is set means this driver control client number 5). addr1 = set; addr0 = | ||
1379 | clear; read from both addresses will give the same result = status. write | ||
1380 | to address 1 will set a request to control all the clients that their | ||
1381 | appropriate bit (in the write command) is set. if the client is free (the | ||
1382 | appropriate bit in all the other drivers is clear) one will be written to | ||
1383 | that driver register; if the client isn't free the bit will remain zero. | ||
1384 | if the appropriate bit is set (the driver request to gain control on a | ||
1385 | client it already controls the ~MISC_REGISTERS_INT_STS.GENERIC_SW | ||
1386 | interrupt will be asserted). write to address 0 will set a request to | ||
1387 | free all the clients that their appropriate bit (in the write command) is | ||
1388 | set. if the appropriate bit is clear (the driver request to free a client | ||
1389 | it doesn't controls the ~MISC_REGISTERS_INT_STS.GENERIC_SW interrupt will | ||
1390 | be asserted). */ | ||
1391 | #define MISC_REG_DRIVER_CONTROL_7 0xa3c8 | ||
1375 | /* [RW 1] e1hmf for WOL. If clr WOL signal o the PXP will be send on bit 0 | 1392 | /* [RW 1] e1hmf for WOL. If clr WOL signal o the PXP will be send on bit 0 |
1376 | only. */ | 1393 | only. */ |
1377 | #define MISC_REG_E1HMF_MODE 0xa5f8 | 1394 | #define MISC_REG_E1HMF_MODE 0xa5f8 |