restructure and added stubs for vega10, vega20 and navi10

This commit is contained in:
Geoffrey McRae
2020-10-31 20:14:36 +11:00
parent 99d99cba4e
commit 5a32e3e3c2
8 changed files with 168 additions and 23 deletions

29
src/amd/navi10.c Normal file
View File

@@ -0,0 +1,29 @@
/*
Vendor Reset - Vendor Specific Reset
Copyright (C) 2020 Geoffrey McRae <geoff@hostfission.com>
This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
Foundation; either version 2 of the License, or (at your option) any later
version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with
this program; if not, write to the Free Software Foundation, Inc., 59 Temple
Place, Suite 330, Boston, MA 02111-1307 USA
*/
#include "vendor-reset-dev.h"
static int amd_navi10_reset(struct pci_dev * dev)
{
return 0;
}
const struct vendor_reset_ops amd_navi10_ops =
{
.reset = amd_navi10_reset
};