On Tue, 2017-05-23 at 06:19 -0700, Dupuis, Chad wrote:
> + snprintf(fc_host_serial_number(lport->host),
> + FC_SERIAL_NUMBER_SIZE,
> + "%02X%02X%02X%02X%02X%02X%02X%02X",
> + buf[7], buf[6], buf[5], buf[4],
> + buf[3],
For libfc to register FDMI attributes we need to do two things:
- Set the appropriate fc_host attributes that libfc will use to form the
FDMI registration commands
- Set lport->fdmi_enabled to 1
Signed-off-by: Chad Dupuis
---
drivers/scsi/qedf/qedf_main.c | 57
2 matches
Mail list logo