aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/sfc
diff options
context:
space:
mode:
authorBen Hutchings <bhutchings@solarflare.com>2010-04-28 05:30:00 -0400
committerDavid S. Miller <davem@davemloft.net>2010-04-28 15:44:41 -0400
commitc28884c57400de326ba4c1ff9608f1d425bdd0fd (patch)
treed1b0ed122c727f58071393984360dafa38752779 /drivers/net/sfc
parent3d07df11c4be368681c0b8228c3d80eeb1fcfabd (diff)
sfc: Clean up efx_nic::irq_zero_count
There is no need for this to be unsigned long; make it unsigned int. It does need a line in kernel-doc, so add that. Signed-off-by: Ben Hutchings <bhutchings@solarflare.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/sfc')
-rw-r--r--drivers/net/sfc/net_driver.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/sfc/net_driver.h b/drivers/net/sfc/net_driver.h
index bdea03c54e07..d68331c7fb5d 100644
--- a/drivers/net/sfc/net_driver.h
+++ b/drivers/net/sfc/net_driver.h
@@ -672,6 +672,7 @@ union efx_multicast_hash {
672 * This register is written with the SMP processor ID whenever an 672 * This register is written with the SMP processor ID whenever an
673 * interrupt is handled. It is used by efx_nic_test_interrupt() 673 * interrupt is handled. It is used by efx_nic_test_interrupt()
674 * to verify that an interrupt has occurred. 674 * to verify that an interrupt has occurred.
675 * @irq_zero_count: Number of legacy IRQs seen with queue flags == 0
675 * @fatal_irq_level: IRQ level (bit number) used for serious errors 676 * @fatal_irq_level: IRQ level (bit number) used for serious errors
676 * @spi_flash: SPI flash device 677 * @spi_flash: SPI flash device
677 * This field will be %NULL if no flash device is present (or for Siena). 678 * This field will be %NULL if no flash device is present (or for Siena).
@@ -756,7 +757,7 @@ struct efx_nic {
756 757
757 struct efx_buffer irq_status; 758 struct efx_buffer irq_status;
758 volatile signed int last_irq_cpu; 759 volatile signed int last_irq_cpu;
759 unsigned long irq_zero_count; 760 unsigned irq_zero_count;
760 unsigned fatal_irq_level; 761 unsigned fatal_irq_level;
761 762
762 struct efx_spi_device *spi_flash; 763 struct efx_spi_device *spi_flash;