[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>
This commit is contained in:
Stefan Hajnoczi
2010-03-12 06:39:06 -05:00
committed by Marty Connor
parent 6a6f26f74d
commit 6877c844e5
2 changed files with 23 additions and 4 deletions
+5 -4
View File
@@ -712,13 +712,14 @@ static struct net_device_operations vxge_operations = {
.irq = vxge_irq,
};
static struct pci_device_id vxge_nics[] = {
PCI_ROM(0x17d5, 0x5833, "vxge-x3100", "Neterion X3100 Series", 0),
static struct pci_device_id vxge_main_nics[] = {
/* If you change this, also adjust vxge_nics[] in vxge.c */
PCI_ID(0x17d5, 0x5833, "vxge-x3100", "Neterion X3100 Series", 0),
};
struct pci_driver vxge_driver __pci_driver = {
.ids = vxge_nics,
.id_count = (sizeof(vxge_nics) / sizeof(vxge_nics[0])),
.ids = vxge_main_nics,
.id_count = (sizeof(vxge_main_nics) / sizeof(vxge_main_nics[0])),
.probe = vxge_probe,
.remove = vxge_remove,
};