[ipxe-devel] [PATCH 4/4] [sfc] Add build of the Solarflare driver

Martin Habets mhabets at solarflare.com
Fri Apr 7 09:48:41 UTC 2017


This adds the new directory to build, and reserves numbers for error
reporting.

Signed-off-by: Martin Habets <mhabets at solarflare.com>
---
 src/Makefile               | 1 +
 src/include/ipxe/errfile.h | 2 ++
 2 files changed, 3 insertions(+)

diff --git a/src/Makefile b/src/Makefile
index 582ffe81c9c6..adca15b03754 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -77,6 +77,7 @@ SRCDIRS		+= drivers/net/ath/ath9k
 SRCDIRS		+= drivers/net/vxge
 SRCDIRS		+= drivers/net/efi
 SRCDIRS		+= drivers/net/tg3
+SRCDIRS		+= drivers/net/sfc
 SRCDIRS		+= drivers/block
 SRCDIRS		+= drivers/nvs
 SRCDIRS		+= drivers/bitbash
diff --git a/src/include/ipxe/errfile.h b/src/include/ipxe/errfile.h
index d0b93d02f132..001b2b2110db 100644
--- a/src/include/ipxe/errfile.h
+++ b/src/include/ipxe/errfile.h
@@ -191,6 +191,8 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
 #define ERRFILE_golan		     ( ERRFILE_DRIVER | 0x007d0000 )
 #define ERRFILE_flexboot_nodnic	     ( ERRFILE_DRIVER | 0x007e0000 )
 #define ERRFILE_virtio_pci	     ( ERRFILE_DRIVER | 0x007f0000 )
+#define ERRFILE_sfc_hunt	     ( ERRFILE_DRIVER | 0x00800000 )
+#define ERRFILE_efx_hunt	     ( ERRFILE_DRIVER | 0x00810000 )
 #define ERRFILE_pciea		     ( ERRFILE_DRIVER | 0x00c00000 )
 #define ERRFILE_axge		     ( ERRFILE_DRIVER | 0x00c10000 )
 #define ERRFILE_thunderx	     ( ERRFILE_DRIVER | 0x00c20000 )
-- 
2.4.11




More information about the ipxe-devel mailing list