rt_via-rhine's PCI driver name was called via-rhine, equal to
the linux driver's name. Mixing RT with non-RT ethernet interfaces
by setting the cards module option and afterwards loading the
via-rhine module failed for this reason.

Signed-off-by: Sebastian Smolorz <[email protected]>
---
 drivers/rt_via-rhine.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/rt_via-rhine.c b/drivers/rt_via-rhine.c
index 80294d2..067dab9 100644
--- a/drivers/rt_via-rhine.c
+++ b/drivers/rt_via-rhine.c
@@ -2016,7 +2016,7 @@ static void __devexit via_rhine_remove_one (struct 
pci_dev *pdev)
 
 
 static struct pci_driver via_rhine_driver = {
-       .name           = "via-rhine",
+       .name           = DRV_NAME,
        .id_table       = via_rhine_pci_tbl,
        .probe          = via_rhine_init_one,
        .remove         = __devexit_p(via_rhine_remove_one),
-- 
1.7.2.2


------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload 
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve 
application availability and disaster protection. Learn more about boosting 
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
RTnet-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rtnet-developers

Reply via email to