mirror of
https://github.com/ipxe/ipxe
synced 2026-01-04 02:42:06 +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:
@@ -29,6 +29,12 @@ SMC8416 PIO support added by Andrew Bettison (andrewb@zip.com.au) on 4/3/02
|
||||
|
||||
#if 1
|
||||
|
||||
#if !defined(INCLUDE_NS8390) && !defined(INCLUDE_WD) && \
|
||||
!defined(INCLUDE_NE) && !defined(INCLUDE_3C503)
|
||||
/* The driver named ns8390 is the PCI driver, often called
|
||||
"PCI ne2000 clones". */
|
||||
# define INCLUDE_NS8390 1
|
||||
#endif
|
||||
|
||||
#include "etherboot.h"
|
||||
#include "nic.h"
|
||||
|
||||
Reference in New Issue
Block a user