summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet
diff options
context:
space:
mode:
authorJulian Wiedmann <jwi@linux.ibm.com>2021-07-20 09:38:49 +0300
committerDavid S. Miller <davem@davemloft.net>2021-07-20 16:17:06 +0300
commitae57ea7a19b784e5982ae25bdba3cdf7c98f3067 (patch)
tree59b8a1f763c6ea3918c91d6deb000243483c3e26 /drivers/net/ethernet
parenta37cfa28ebdc6a2286569ef783c4ba5c719f4902 (diff)
downloadlinux-ae57ea7a19b784e5982ae25bdba3cdf7c98f3067.tar.xz
s390/qeth: clean up device_type management
qeth uses three device_type structs - a generic one, and one for each sub-driver (which is used for fixed-layer devices only). Instead of exporting these device_types back&forth between the driver's modules, make all the logic self-contained within the sub-drivers. On disc->setup() they either install their own device_type, or add the sysfs attributes that are missing in the generic device_type. Later on disc->remove() these attributes are removed again from any device that has the generic device_type. Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet')
0 files changed, 0 insertions, 0 deletions