771febc40626f2757c4c9e8d02d46b317f3e586bvboxsync/** @file $Id$
771febc40626f2757c4c9e8d02d46b317f3e586bvboxsync * VirtualBox Additions Linux kernel video driver
771febc40626f2757c4c9e8d02d46b317f3e586bvboxsync * Copyright (C) 2013 Oracle Corporation
771febc40626f2757c4c9e8d02d46b317f3e586bvboxsync * This file is part of VirtualBox Open Source Edition (OSE), as
771febc40626f2757c4c9e8d02d46b317f3e586bvboxsync * available from http://www.virtualbox.org. This file is free software;
771febc40626f2757c4c9e8d02d46b317f3e586bvboxsync * you can redistribute it and/or modify it under the terms of the GNU
771febc40626f2757c4c9e8d02d46b317f3e586bvboxsync * General Public License (GPL) as published by the Free Software
771febc40626f2757c4c9e8d02d46b317f3e586bvboxsync * Foundation, in version 2 as it comes in the "COPYING" file of the
771febc40626f2757c4c9e8d02d46b317f3e586bvboxsync * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
771febc40626f2757c4c9e8d02d46b317f3e586bvboxsync * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
771febc40626f2757c4c9e8d02d46b317f3e586bvboxsync * --------------------------------------------------------------------
771febc40626f2757c4c9e8d02d46b317f3e586bvboxsync * This code is based on
771febc40626f2757c4c9e8d02d46b317f3e586bvboxsync * with the following copyright and permission notice:
771febc40626f2757c4c9e8d02d46b317f3e586bvboxsync * Copyright 2012 Red Hat Inc.
771febc40626f2757c4c9e8d02d46b317f3e586bvboxsync * Permission is hereby granted, free of charge, to any person obtaining a
771febc40626f2757c4c9e8d02d46b317f3e586bvboxsync * copy of this software and associated documentation files (the
771febc40626f2757c4c9e8d02d46b317f3e586bvboxsync * "Software"), to deal in the Software without restriction, including
771febc40626f2757c4c9e8d02d46b317f3e586bvboxsync * without limitation the rights to use, copy, modify, merge, publish,
771febc40626f2757c4c9e8d02d46b317f3e586bvboxsync * distribute, sub license, and/or sell copies of the Software, and to
771febc40626f2757c4c9e8d02d46b317f3e586bvboxsync * permit persons to whom the Software is furnished to do so, subject to
771febc40626f2757c4c9e8d02d46b317f3e586bvboxsync * the following conditions:
771febc40626f2757c4c9e8d02d46b317f3e586bvboxsync * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
771febc40626f2757c4c9e8d02d46b317f3e586bvboxsync * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
771febc40626f2757c4c9e8d02d46b317f3e586bvboxsync * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL
771febc40626f2757c4c9e8d02d46b317f3e586bvboxsync * THE COPYRIGHT HOLDERS, AUTHORS AND/OR ITS SUPPLIERS BE LIABLE FOR ANY CLAIM,
771febc40626f2757c4c9e8d02d46b317f3e586bvboxsync * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
771febc40626f2757c4c9e8d02d46b317f3e586bvboxsync * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
771febc40626f2757c4c9e8d02d46b317f3e586bvboxsync * USE OR OTHER DEALINGS IN THE SOFTWARE.
771febc40626f2757c4c9e8d02d46b317f3e586bvboxsync * The above copyright notice and this permission notice (including the
771febc40626f2757c4c9e8d02d46b317f3e586bvboxsync * next paragraph) shall be included in all copies or substantial portions
771febc40626f2757c4c9e8d02d46b317f3e586bvboxsync * of the Software.
771febc40626f2757c4c9e8d02d46b317f3e586bvboxsync * Authors: Dave Airlie <airlied@redhat.com>
771febc40626f2757c4c9e8d02d46b317f3e586bvboxsyncMODULE_PARM_DESC(modeset, "Disable/Enable modesetting");
771febc40626f2757c4c9e8d02d46b317f3e586bvboxsyncmodule_param_named(modeset, vbox_modeset, int, 0400);
771febc40626f2757c4c9e8d02d46b317f3e586bvboxsyncstatic int vbox_pci_probe(struct pci_dev *pdev, const struct pci_device_id *ent)