]> Git Repo - J-u-boot.git/commit
net: pcnet: Wrap devbusfn into private data
authorMarek Vasut <[email protected]>
Sun, 17 May 2020 16:24:19 +0000 (18:24 +0200)
committerDaniel Schwierzeck <[email protected]>
Mon, 29 Jun 2020 20:36:35 +0000 (22:36 +0200)
commitab6ecbdc3c25761756538129c26d1396dd5b02a9
tree63880ad5f94f3333e721b934090f2aa03c76203a
parent553286a63ca5e60beb4cf5af68795c7d78a19ceb
net: pcnet: Wrap devbusfn into private data

Instead of using eth_device priv for this PCI devbusfn, free it
so it could be used for driver private data, and wrap devbusfn
into those driver private data.

Note that using the name dev for the variable is a trick left for
later, when DM support is in place, so dm_pci_virt_to_mem() can be
used with minimal ifdeffery.

Signed-off-by: Marek Vasut <[email protected]>
Cc: Daniel Schwierzeck <[email protected]>
Cc: Joe Hershberger <[email protected]>
drivers/net/pcnet.c
This page took 0.036108 seconds and 4 git commands to generate.