diff options
author | Michael Brown | 2008-04-22 18:49:29 +0200 |
---|---|---|
committer | Michael Brown | 2008-04-22 18:50:30 +0200 |
commit | 3430226d4006b10077b35d71a2e5ff1fa448c520 (patch) | |
tree | a4b5478e11033d243a253d7001ad653899f0a5f8 /src/include/gpxe/errfile.h | |
parent | [NETDEV] Add notion of link state (diff) | |
download | ipxe-3430226d4006b10077b35d71a2e5ff1fa448c520.tar.gz ipxe-3430226d4006b10077b35d71a2e5ff1fa448c520.tar.xz ipxe-3430226d4006b10077b35d71a2e5ff1fa448c520.zip |
[MTNIC] Minor cleanups of vendor-provided driver for Mellanox 10GigE cards
Drivers are not allowed to call printf(). Converted eprintf() to DBG(),
and removed spurious startup banner.
Fixed hardcoded inclusion of little_bswap.h
Use EIO rather than 1 as an error number.
Diffstat (limited to 'src/include/gpxe/errfile.h')
-rw-r--r-- | src/include/gpxe/errfile.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/gpxe/errfile.h b/src/include/gpxe/errfile.h index 011ff1f1..42952d7d 100644 --- a/src/include/gpxe/errfile.h +++ b/src/include/gpxe/errfile.h @@ -104,6 +104,7 @@ #define ERRFILE_ipoib ( ERRFILE_DRIVER | 0x00470000 ) #define ERRFILE_e1000 ( ERRFILE_DRIVER | 0x00480000 ) #define ERRFILE_e1000_hw ( ERRFILE_DRIVER | 0x00490000 ) +#define ERRFILE_mtnic ( ERRFILE_DRIVER | 0x004a0000 ) #define ERRFILE_scsi ( ERRFILE_DRIVER | 0x00700000 ) #define ERRFILE_arbel ( ERRFILE_DRIVER | 0x00710000 ) |