mirror of
https://github.com/ipxe/ipxe
synced 2026-01-23 04:29:01 +03:00
[bofm] Allow BOFM tests to be run without a BOFM-capable device driver
The BOFM tests are not part of the standard unit test suite, since they are designed to allow for exercising real BOFM driver code outside of the context of a real IBM blade server. Allow for the BOFM tests to be run without a real BOFM driver, by providing a dummy driver for the specified PCI test device. Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -328,6 +328,9 @@ struct bofm_operations {
|
||||
#define __bofm_driver
|
||||
#endif
|
||||
|
||||
/** Declare a BOFM test driver */
|
||||
#define __bofm_test_driver __table_entry ( BOFM_DRIVERS, 02 )
|
||||
|
||||
/**
|
||||
* Initialise BOFM device
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user