aboutsummaryrefslogtreecommitdiffstats
path: root/src/drivers/net/etherfabric.c
diff options
context:
space:
mode:
authorMichael Brown <mcb30@etherboot.org>2006-12-04 18:23:06 +0000
committerMichael Brown <mcb30@etherboot.org>2006-12-04 18:23:06 +0000
commit946967f09ce0ab9ab438a0647d393601dd0fca23 (patch)
tree0e133cb2d481d3e683ecc5be7dcfa0610eaf2f79 /src/drivers/net/etherfabric.c
parentdc06c895fc089bcb9c050b2fb64494213f61e896 (diff)
downloadipxe-946967f09ce0ab9ab438a0647d393601dd0fca23.tar.gz
Abstracted out part of the concept of an SPI device to a generalised NVS
device. Separated the mechanisms of non-volatile storage access and non-volatile stored options.
Diffstat (limited to 'src/drivers/net/etherfabric.c')
-rw-r--r--src/drivers/net/etherfabric.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/drivers/net/etherfabric.c b/src/drivers/net/etherfabric.c
index 9afe65df1..790bfb54d 100644
--- a/src/drivers/net/etherfabric.c
+++ b/src/drivers/net/etherfabric.c
@@ -2388,11 +2388,6 @@ static int falcon_write_nvs ( struct nvs_device *nvs, unsigned int offset,
return 0;
}
-static struct nvs_operations falcon_nvs_operations = {
- .read = falcon_read_nvs,
- .write = falcon_write_nvs,
-};
-
/** RX descriptor */
typedef efab_qword_t falcon_rx_desc_t;
@@ -3046,10 +3041,12 @@ static int falcon_init_nic ( struct efab_nic *efab ) {
/* Register non-volatile storage */
if ( efab->has_eeprom ) {
+ /*
efab->nvs.op = &falcon_nvs_operations;
efab->nvs.len = 0x100;
if ( nvs_register ( &efab->nvs ) != 0 )
return 0;
+ */
}
return 1;