[nvo] Allow resizing of non-volatile stored option blocks

Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
Michael Brown
2011-01-11 00:53:50 +00:00
parent 1651d4f6d7
commit 17d28f4877
8 changed files with 120 additions and 54 deletions

View File

@@ -288,7 +288,7 @@ static void rtl_init_eeprom ( struct net_device *netdev ) {
DBGC ( rtl, "rtl8139 %p EEPROM in use for VPD; cannot use "
"for options\n", rtl );
} else {
nvo_init ( &rtl->nvo, &rtl->eeprom.nvs, 0x20, 0x40,
nvo_init ( &rtl->nvo, &rtl->eeprom.nvs, 0x20, 0x40, NULL,
&netdev->refcnt );
}
}