Lines Matching refs:xen_emul_unplug
24 /* store the value of xen_emul_unplug after the unplug is done */
26 static int xen_emul_unplug;
144 if (xen_emul_unplug & XEN_UNPLUG_NEVER)
153 (xen_emul_unplug & XEN_UNPLUG_UNNECESSARY)))
155 /* Set the default value of xen_emul_unplug depending on whether or
158 if (!xen_emul_unplug) {
162 xen_emul_unplug |= XEN_UNPLUG_ALL_NICS;
170 xen_emul_unplug |= XEN_UNPLUG_ALL_IDE_DISKS;
174 if (!(xen_emul_unplug & XEN_UNPLUG_UNNECESSARY))
175 outw(xen_emul_unplug, XEN_IOPORT_UNPLUG);
176 xen_platform_pci_unplug = xen_emul_unplug;
193 xen_emul_unplug |= XEN_UNPLUG_ALL;
195 xen_emul_unplug |= XEN_UNPLUG_ALL_IDE_DISKS;
197 xen_emul_unplug |= XEN_UNPLUG_AUX_IDE_DISKS;
199 xen_emul_unplug |= XEN_UNPLUG_ALL_NICS;
201 xen_emul_unplug |= XEN_UNPLUG_UNNECESSARY;
203 xen_emul_unplug |= XEN_UNPLUG_NEVER;
206 "in parameter 'xen_emul_unplug'\n", p);
210 early_param("xen_emul_unplug", parse_xen_emul_unplug);