aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/sfc/net_driver.h
diff options
context:
space:
mode:
authorBen Hutchings <bhutchings@solarflare.com>2008-09-01 07:47:16 -0400
committerJeff Garzik <jgarzik@redhat.com>2008-09-03 09:53:45 -0400
commit4a5b504d0c582db80813b70359b616ea30e91743 (patch)
treec3b10e411914a42c21d2a525e26eb440e37c6651 /drivers/net/sfc/net_driver.h
parent4d566063a799231b99d9a21128634ea78b89ab72 (diff)
sfc: Export boot configuration in EEPROM through ethtool
Extend the SPI device setup code to support this. Signed-off-by: Ben Hutchings <bhutchings@solarflare.com> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/net/sfc/net_driver.h')
-rw-r--r--drivers/net/sfc/net_driver.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/net/sfc/net_driver.h b/drivers/net/sfc/net_driver.h
index 1b92186bec5a..390275710ef4 100644
--- a/drivers/net/sfc/net_driver.h
+++ b/drivers/net/sfc/net_driver.h
@@ -638,6 +638,10 @@ union efx_multicast_hash {
638 * This register is written with the SMP processor ID whenever an 638 * This register is written with the SMP processor ID whenever an
639 * interrupt is handled. It is used by falcon_test_interrupt() 639 * interrupt is handled. It is used by falcon_test_interrupt()
640 * to verify that an interrupt has occurred. 640 * to verify that an interrupt has occurred.
641 * @spi_flash: SPI flash device
642 * This field will be %NULL if no flash device is present.
643 * @spi_eeprom: SPI EEPROM device
644 * This field will be %NULL if no EEPROM device is present.
641 * @n_rx_nodesc_drop_cnt: RX no descriptor drop count 645 * @n_rx_nodesc_drop_cnt: RX no descriptor drop count
642 * @nic_data: Hardware dependant state 646 * @nic_data: Hardware dependant state
643 * @mac_lock: MAC access lock. Protects @port_enabled, efx_monitor() and 647 * @mac_lock: MAC access lock. Protects @port_enabled, efx_monitor() and
@@ -709,6 +713,9 @@ struct efx_nic {
709 struct efx_buffer irq_status; 713 struct efx_buffer irq_status;
710 volatile signed int last_irq_cpu; 714 volatile signed int last_irq_cpu;
711 715
716 struct efx_spi_device *spi_flash;
717 struct efx_spi_device *spi_eeprom;
718
712 unsigned n_rx_nodesc_drop_cnt; 719 unsigned n_rx_nodesc_drop_cnt;
713 720
714 struct falcon_nic_data *nic_data; 721 struct falcon_nic_data *nic_data;