diff options
author | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2011-05-13 01:00:03 -0700 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2011-08-11 02:41:14 -0700 |
commit | f844a0ead401c3ce0f01a8bb4d6cea2f0f6ad863 (patch) | |
tree | b929c2ecdac479844e503e51164dd9bf09609a32 /drivers/net/bna/bfa_cee.h | |
parent | 9aebddd11be42366f89b0296590770c02797aa98 (diff) | |
download | lwn-f844a0ead401c3ce0f01a8bb4d6cea2f0f6ad863.tar.gz lwn-f844a0ead401c3ce0f01a8bb4d6cea2f0f6ad863.zip |
bna: Move the Brocade driver
Moves the Brocade driver into drivers/net/ethernet/brocade/ and make
the necessary Kconfig and Makefile changes.
CC: Rasesh Mody <rmody@brocade.com>
CC: Debashis Dutt <ddutt@brocade.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/bna/bfa_cee.h')
-rw-r--r-- | drivers/net/bna/bfa_cee.h | 63 |
1 files changed, 0 insertions, 63 deletions
diff --git a/drivers/net/bna/bfa_cee.h b/drivers/net/bna/bfa_cee.h deleted file mode 100644 index 58d54e98d595..000000000000 --- a/drivers/net/bna/bfa_cee.h +++ /dev/null @@ -1,63 +0,0 @@ -/* - * Linux network driver for Brocade Converged Network 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. - */ -/* - * Copyright (c) 2005-2010 Brocade Communications Systems, Inc. - * All rights reserved - * www.brocade.com - */ - -#ifndef __BFA_CEE_H__ -#define __BFA_CEE_H__ - -#include "bfa_defs_cna.h" -#include "bfa_ioc.h" - -typedef void (*bfa_cee_get_attr_cbfn_t) (void *dev, enum bfa_status status); -typedef void (*bfa_cee_get_stats_cbfn_t) (void *dev, enum bfa_status status); -typedef void (*bfa_cee_reset_stats_cbfn_t) (void *dev, enum bfa_status status); - -struct bfa_cee_cbfn { - bfa_cee_get_attr_cbfn_t get_attr_cbfn; - void *get_attr_cbarg; - bfa_cee_get_stats_cbfn_t get_stats_cbfn; - void *get_stats_cbarg; - bfa_cee_reset_stats_cbfn_t reset_stats_cbfn; - void *reset_stats_cbarg; -}; - -struct bfa_cee { - void *dev; - bool get_attr_pending; - bool get_stats_pending; - bool reset_stats_pending; - enum bfa_status get_attr_status; - enum bfa_status get_stats_status; - enum bfa_status reset_stats_status; - struct bfa_cee_cbfn cbfn; - struct bfa_ioc_notify ioc_notify; - struct bfa_cee_attr *attr; - struct bfa_cee_stats *stats; - struct bfa_dma attr_dma; - struct bfa_dma stats_dma; - struct bfa_ioc *ioc; - struct bfa_mbox_cmd get_cfg_mb; - struct bfa_mbox_cmd get_stats_mb; - struct bfa_mbox_cmd reset_stats_mb; -}; - -u32 bfa_nw_cee_meminfo(void); -void bfa_nw_cee_mem_claim(struct bfa_cee *cee, u8 *dma_kva, - u64 dma_pa); -void bfa_nw_cee_attach(struct bfa_cee *cee, struct bfa_ioc *ioc, void *dev); - -#endif /* __BFA_CEE_H__ */ |