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 <sm...@rt...>
---
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
|