OSDN Git Service

s390/qdio: cleanly split alloc and establish
authorJulian Wiedmann <jwi@linux.ibm.com>
Fri, 20 Mar 2020 13:00:00 +0000 (14:00 +0100)
committerVasily Gorbik <gor@linux.ibm.com>
Mon, 6 Apr 2020 11:13:50 +0000 (13:13 +0200)
commit3db1db93e34325e14bb29f8f1d904020c409bea6
tree42f362b4aadca809806242170db0bb333d7cf3a1
parent143a3a735dfb1d6eecd7ef14183f823ff4b06027
s390/qdio: cleanly split alloc and establish

All that qdio_allocate() actually uses from the init_data is the cdev,
and the number of Input and Output Queues. Have the driver pass those as
parameters, and defer the init_data processing into qdio_establish().
This includes writing per-device(!) trace entries, and most of the
sanity checks.

Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com>
Reviewed-by: Benjamin Block <bblock@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
arch/s390/include/asm/qdio.h
drivers/s390/cio/qdio_debug.c
drivers/s390/cio/qdio_debug.h
drivers/s390/cio/qdio_main.c
drivers/s390/net/qeth_core_main.c
drivers/s390/scsi/zfcp_qdio.c