diff options
| author | Sivakumar Subramani <[email protected]> | 2007-09-17 20:05:35 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2007-10-10 23:51:09 +0000 |
| commit | 8116f3cf4a2a5a4fa2335e6f32023ac50506698f (patch) | |
| tree | 4db08fb067fd37c892f9a98e127854acd0fa3956 /drivers/net/ibm_emac/ibm_emac_debug.c | |
| parent | S2io: Enable all the error and alarm indications (diff) | |
| download | kernel-8116f3cf4a2a5a4fa2335e6f32023ac50506698f.tar.gz kernel-8116f3cf4a2a5a4fa2335e6f32023ac50506698f.zip | |
[S2IO]: Handle and monitor all of the device errors and alarms
- Added support to poll entire set of device errors and alarams.
- A note on how device errors and alarms are handled:
- The adapter will automatically recover from uncorrectable ECC errors.
Packets containing corrupted data will be dropped (not transmitted) or tagged
as invalid before being passed to the host.
- The adapter cannot recover from any internal state machine errors. A state
machine error requires a device reset.
- Any internal error that could potentially result in .store trampling.
(undesirable PCI behaviour)is tagged as a "serious error". In such cases
the adapter will give up its ability to be a bus master. In this situation
the host will still be able to read internal device registers in order to
generate an error report. A device reset is necessary to return to normal
operation.
- In the event of a pcix data parity error, the adapter will automatically
disable itself. Adapter_En will automatically transition from '1' to '0' and
the adapter will enter its clean-up routine. Once the device has achieved
quiescence, an adapter reset should be performed.
- Replaced alarm_intr_handler() with s2io_handle_errors().
- Added statistic counters to monitor the alarms.
[ Fix warnings wrt. do_s2io_chk_alarm_bit(), Callers pass in an
"unsigned long long *" but the function takes a "u64 *" which is
different on many 64-bit platforms. -DaveM ]
Signed-off-by: Sivakumar Subramani <[email protected]>
Signed-off-by: Santosh Rastapur <[email protected]>
Signed-off-by: Ramkrishna Vepa <[email protected]>
Signed-off-by: Jeff Garzik <[email protected]>
Diffstat (limited to 'drivers/net/ibm_emac/ibm_emac_debug.c')
0 files changed, 0 insertions, 0 deletions
