[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20091112210751.06e2d3c6@nehalam>
Date: Thu, 12 Nov 2009 21:07:51 -0800
From: Stephen Hemminger <shemminger@...tta.com>
To: Rasesh Mody <rmody@...cade.com>
Cc: <netdev@...r.kernel.org>, <adapter_linux_open_src_team@...cade.com>
Subject: Re: Subject: [PATCH 5/6] bna: Brocade 10Gb Ethernet device driver
On Thu, 12 Nov 2009 19:46:52 -0800
Rasesh Mody <rmody@...cade.com> wrote:
> +
> +#define wwn_t u64
> +#define lun_t u64
No need for obfuscation, at least use a typedef.
> +
> +#define WWN_NULL (0)
Why is NULL not good enuf
> +#define FC_SYMNAME_MAX 256 /* max name server symbolic name size */
> +#define FC_ALPA_MAX 128
> +
> +#pragma pack(1)
> +
> +#define MAC_ADDRLEN (6)
> +struct mac { u8 mac[MAC_ADDRLEN]; };
Cant you use ETH_ALEN instead?
--
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists