1/* 2 * Copyright (c) 2005-2009 Brocade Communications Systems, Inc. 3 * All rights reserved 4 * www.brocade.com 5 * 6 * Linux driver for Brocade Fibre Channel Host Bus Adapter. 7 * 8 * This program is free software; you can redistribute it and/or modify it 9 * under the terms of the GNU General Public License (GPL) Version 2 as 10 * published by the Free Software Foundation 11 * 12 * This program is distributed in the hope that it will be useful, but 13 * WITHOUT ANY WARRANTY; without even the implied warranty of 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 15 * General Public License for more details. 16 */ 17 18/** 19 * types.h Protocol defined base types 20 */ 21 22#ifndef __TYPES_H__ 23#define __TYPES_H__ 24 25#include <bfa_os_inc.h> 26 27#define wwn_t u64 28#define lun_t u64 29 30#define WWN_NULL (0) 31#define FC_SYMNAME_MAX 256 /* max name server symbolic name size */ 32#define FC_ALPA_MAX 128 33 34#pragma pack(1) 35 36#define MAC_ADDRLEN (6) 37struct mac_s { u8 mac[MAC_ADDRLEN]; }; 38#define mac_t struct mac_s 39 40#pragma pack() 41 42#endif 43