Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
[vxge] Add stub vxge.c file so bin/vxge.usb can be built
The vxge driver code is split over several files, including vxge_main.c. This causes the build system and ROM-o-matic to see the driver as "vxge_main". This patch adds a stub vxge.c which takes up no space but gives the driver its proper name, "vxge". Signed-off-by: Stefan Hajnoczi <stefanha@gmail.com> Signed-off-by: Marty Connor <mdc@etherboot.org>
- Loading branch information
Showing
2 changed files
with
23 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
/** @file Stub file for vxge driver | ||
* | ||
* This file drags in the rest of the driver for Neterion Inc's X3100 Series | ||
* 10GbE PCIe I/O Virtualized Server Adapter, allowing the driver to be built | ||
* as "vxge" even though the code is in vxge_* named files. | ||
*/ | ||
|
||
FILE_LICENCE(GPL2_OR_LATER); | ||
|
||
#include <gpxe/pci.h> | ||
|
||
REQUIRE_OBJECT(vxge_main); | ||
|
||
/** vxge PCI IDs for util/parserom.pl which are put into bin/NIC */ | ||
static struct pci_device_id vxge_nics[] __unused = { | ||
/* If you change this, also adjust vxge_main_nics[] in vxge_main.c */ | ||
PCI_ROM(0x17d5, 0x5833, "vxge-x3100", "Neterion X3100 Series", 0), | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters