]> git.baikalelectronics.ru Git - kernel.git/commit
stmmac: pci: allocate memory resources dynamically
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 28 Nov 2014 13:40:56 +0000 (15:40 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sat, 6 Dec 2014 05:03:48 +0000 (21:03 -0800)
commit53fbc625a9a12cd02f86c7eef9d43415189660ac
tree5c52afee288b7857fd83806adf2e3d4fbe987a63
parent770efcab02e977674ced388d5aed5fb730eca93a
stmmac: pci: allocate memory resources dynamically

Instead of using global variables we are going to use dynamically allocated
memory. It allows to append a support of more than one ethernet adapter which
might have different settings simultaniously.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/stmmac_pci.c