mirror of
https://github.com/ipxe/ipxe
synced 2025-12-26 01:22:37 +03:00
[ns8390] Use stub files instead of src/Config
ns8390.c can produce four different drivers (one PCI, three ISA.) The ISA driver requires setting a few macros; do that by setting defines in stub files instead of using src/Config. Currently, all the ISA drivers are broken (they were not enabled by default), so #if 0 them out. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
This commit is contained in:
6
src/drivers/net/ne.c
Normal file
6
src/drivers/net/ne.c
Normal file
@@ -0,0 +1,6 @@
|
||||
/* ISA I/O mapped NS8390-based cards, including NE2000 */
|
||||
#if 0 /* Currently broken! */
|
||||
#define INCLUDE_NE 1
|
||||
#define NE_SCAN 0x300,0x280,0x320,0x340,0x380
|
||||
#include "ns8390.c"
|
||||
#endif
|
||||
Reference in New Issue
Block a user