]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/net/sfc/selftest.h
sfc: Extend self-tests
[linux-2.6-omap-h63xx.git] / drivers / net / sfc / selftest.h
index cd59f00e28212d190072fae0a8bf1e9cdf1ba53a..fc15df15d76645c08b318988eadced248c5483cf 100644 (file)
@@ -29,14 +29,19 @@ struct efx_loopback_self_tests {
  * indicates failure.
  */
 struct efx_self_tests {
+       /* online tests */
+       int mii;
+       int nvram;
        int interrupt;
        int eventq_dma[EFX_MAX_CHANNELS];
        int eventq_int[EFX_MAX_CHANNELS];
        int eventq_poll[EFX_MAX_CHANNELS];
-       int phy_ok;
+       /* offline tests */
+       int registers;
+       int phy;
        int loopback_speed;
        int loopback_full_duplex;
-       struct efx_loopback_self_tests loopback[LOOPBACK_TEST_MAX];
+       struct efx_loopback_self_tests loopback[LOOPBACK_TEST_MAX + 1];
 };
 
 extern void efx_loopback_rx_packet(struct efx_nic *efx,