~ubuntu-branches/ubuntu/saucy/linux-ti-omap4/saucy-proposed

« back to all changes in this revision

Viewing changes to drivers/net/xen-netfront.c

  • Committer: Package Import Robot
  • Author(s): Paolo Pisati, Paolo Pisati, Stefan Bader, Upstream Kernel Changes
  • Date: 2012-08-15 17:17:43 UTC
  • Revision ID: package-import@ubuntu.com-20120815171743-h5wnuf51xe7pvdid
Tags: 3.5.0-207.13
[ Paolo Pisati ]

* Start new release

[ Stefan Bader ]

* (config) Enable getabis to use local package copies

[ Upstream Kernel Changes ]

* fixup: gargabe collect iva_seq[0|1] init
* [Config] enable all SND_OMAP_SOC_*s
* fixup: cm2xxx_3xxx.o is needed for omap2_cm_read|write_reg
* fixup: add some snd_soc_dai* helper functions
* fixup: s/snd_soc_dpcm_params/snd_soc_dpcm/g
* fixup: typo, no_host_mode and useless SDP4430 init
* fixup: enable again aess hwmod

Show diffs side-by-side

added added

removed removed

Lines of Context:
1935
1935
 
1936
1936
        dev_dbg(&dev->dev, "%s\n", dev->nodename);
1937
1937
 
 
1938
        xennet_disconnect_backend(info);
 
1939
 
 
1940
        xennet_sysfs_delif(info->netdev);
 
1941
 
1938
1942
        unregister_netdev(info->netdev);
1939
1943
 
1940
 
        xennet_disconnect_backend(info);
1941
 
 
1942
1944
        del_timer_sync(&info->rx_refill_timer);
1943
1945
 
1944
 
        xennet_sysfs_delif(info->netdev);
1945
 
 
1946
1946
        free_percpu(info->stats);
1947
1947
 
1948
1948
        free_netdev(info->netdev);
1962
1962
        if (!xen_domain())
1963
1963
                return -ENODEV;
1964
1964
 
1965
 
        if (xen_initial_domain())
1966
 
                return 0;
1967
 
 
1968
1965
        if (xen_hvm_domain() && !xen_platform_pci_unplug)
1969
1966
                return -ENODEV;
1970
1967
 
1977
1974
 
1978
1975
static void __exit netif_exit(void)
1979
1976
{
1980
 
        if (xen_initial_domain())
1981
 
                return;
1982
 
 
1983
1977
        xenbus_unregister_driver(&netfront_driver);
1984
1978
}
1985
1979
module_exit(netif_exit);