Files
linux/drivers/scsi/bfa/include/fcb/bfa_fcb_vport.h
Jing Huang d9883548a0 [SCSI] bfa: PBC vport create
This patch enables creating PBC vport.
During fcs init, fcs will read PBC vport using bfa iocfc API and invoke fcb
callback to add the pbc vport entries into a list. The pbc vport list will be
traversed in the subsequent pci probe process and vport will be created using
fc transport provided vport create function.

Signed-off-by: Jing Huang <huangj@brocade.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
2010-07-27 12:04:04 -05:00

49 lines
1.2 KiB
C

/*
* Copyright (c) 2005-2009 Brocade Communications Systems, Inc.
* All rights reserved
* www.brocade.com
*
* Linux driver for Brocade Fibre Channel Host Bus Adapter.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License (GPL) Version 2 as
* published by the Free Software Foundation
*
* This program is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* General Public License for more details.
*/
/**
* bfa_fcb_vport.h BFA FCS virtual port driver interfaces
*/
#ifndef __BFA_FCB_VPORT_H__
#define __BFA_FCB_VPORT_H__
/**
* fcs_vport_fcb Virtual port driver interfaces
*/
struct bfad_vport_s;
/*
* Callback functions from BFA FCS to driver
*/
/**
* Completion callback for bfa_fcs_vport_delete().
*
* @param[in] vport_drv - driver instance of vport
*
* @return None
*/
void bfa_fcb_vport_delete(struct bfad_vport_s *vport_drv);
void bfa_fcb_pbc_vport_create(struct bfad_s *bfad, struct bfi_pbc_vport_s);
#endif /* __BFA_FCB_VPORT_H__ */