diff options
author | Mark McLoughlin <markmc@redhat.com> | 2008-04-02 13:54:06 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-04-24 17:57:33 -0400 |
commit | 4f93f09b72d6ff47b2399b79ed6d1cbc7dbf991b (patch) | |
tree | 8f29c6914c3c9a8932c1dc715376034663b8511d | |
parent | d2f0c52bec954460e72dee48f3a29c6f310d76be (diff) |
xen: Add compatibility aliases for frontend drivers
Before getting merged, xen-blkfront was xenblk and
xen-netfront was xennet.
Temporarily adding compatibility module aliases
eases upgrades from older versions by e.g. allowing
mkinitrd to find the new version of the module.
Signed-off-by: Mark McLoughlin <markmc@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
-rw-r--r-- | drivers/block/xen-blkfront.c | 1 | ||||
-rw-r--r-- | drivers/net/xen-netfront.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/drivers/block/xen-blkfront.c b/drivers/block/xen-blkfront.c index ffa0b436129b..d771da816d95 100644 --- a/drivers/block/xen-blkfront.c +++ b/drivers/block/xen-blkfront.c | |||
@@ -1016,3 +1016,4 @@ MODULE_DESCRIPTION("Xen virtual block device frontend"); | |||
1016 | MODULE_LICENSE("GPL"); | 1016 | MODULE_LICENSE("GPL"); |
1017 | MODULE_ALIAS_BLOCKDEV_MAJOR(XENVBD_MAJOR); | 1017 | MODULE_ALIAS_BLOCKDEV_MAJOR(XENVBD_MAJOR); |
1018 | MODULE_ALIAS("xen:vbd"); | 1018 | MODULE_ALIAS("xen:vbd"); |
1019 | MODULE_ALIAS("xenblk"); | ||
diff --git a/drivers/net/xen-netfront.c b/drivers/net/xen-netfront.c index b3fa27e6c78a..e62018a36133 100644 --- a/drivers/net/xen-netfront.c +++ b/drivers/net/xen-netfront.c | |||
@@ -1810,3 +1810,4 @@ module_exit(netif_exit); | |||
1810 | MODULE_DESCRIPTION("Xen virtual network device frontend"); | 1810 | MODULE_DESCRIPTION("Xen virtual network device frontend"); |
1811 | MODULE_LICENSE("GPL"); | 1811 | MODULE_LICENSE("GPL"); |
1812 | MODULE_ALIAS("xen:vif"); | 1812 | MODULE_ALIAS("xen:vif"); |
1813 | MODULE_ALIAS("xennet"); | ||