be.h (e5451c8f8330e03ad3cfa16048b4daf961af434f) | be.h (c03a50f7098bed9150a9ac0468f699a93bc7b081) |
---|---|
1/** 2 * Copyright (C) 2005 - 2015 Emulex 3 * All rights reserved. 4 * 5 * This program is free software; you can redistribute it and/or 6 * modify it under the terms of the GNU General Public License version 2 7 * as published by the Free Software Foundation. The full GNU General 8 * Public License is included in this distribution in the file called COPYING. --- 110 unchanged lines hidden (view full) --- 119 120struct be_ctrl_info { 121 u8 __iomem *csr; 122 u8 __iomem *db; /* Door Bell */ 123 u8 __iomem *pcicfg; /* PCI config space */ 124 struct pci_dev *pdev; 125 126 /* Mbox used for cmd request/response */ | 1/** 2 * Copyright (C) 2005 - 2015 Emulex 3 * All rights reserved. 4 * 5 * This program is free software; you can redistribute it and/or 6 * modify it under the terms of the GNU General Public License version 2 7 * as published by the Free Software Foundation. The full GNU General 8 * Public License is included in this distribution in the file called COPYING. --- 110 unchanged lines hidden (view full) --- 119 120struct be_ctrl_info { 121 u8 __iomem *csr; 122 u8 __iomem *db; /* Door Bell */ 123 u8 __iomem *pcicfg; /* PCI config space */ 124 struct pci_dev *pdev; 125 126 /* Mbox used for cmd request/response */ |
127 spinlock_t mbox_lock; /* For serializing mbox cmds to BE card */ | 127 struct mutex mbox_lock; /* For serializing mbox cmds to BE card */ |
128 struct be_dma_mem mbox_mem; 129 /* Mbox mem is adjusted to align to 16 bytes. The allocated addr 130 * is stored for freeing purpose */ 131 struct be_dma_mem mbox_mem_alloced; 132 133 /* MCC Rings */ 134 struct be_mcc_obj mcc_obj; 135 spinlock_t mcc_lock; /* For serializing mcc cmds to BE card */ --- 76 unchanged lines hidden --- | 128 struct be_dma_mem mbox_mem; 129 /* Mbox mem is adjusted to align to 16 bytes. The allocated addr 130 * is stored for freeing purpose */ 131 struct be_dma_mem mbox_mem_alloced; 132 133 /* MCC Rings */ 134 struct be_mcc_obj mcc_obj; 135 spinlock_t mcc_lock; /* For serializing mcc cmds to BE card */ --- 76 unchanged lines hidden --- |