1This directory contains the 'common code' to the ixgbe driver. This code
2comes from FreeBSD.
3
4The following are a subset of the current modifications that are being
5made to this common code to facilitate illumos specific features:
6
7o IXGBE_REMOVED
8
9The IXGBE_REMOVED macro normally taks a pointer to the hardware address.
10However, that does not allow us to go through and actually do a useful
11check. Instead we modify all users of this macro to pass the struct
12ixgbe_hw of the ixgbe_t. Importantly, we also remove the current
13definition of IXGBE_REMOVED in ixbe_common.h and instead use the
14definition in ixgbe_osdep.h.
15
16o ixgbe_get_oem_prod_version()
17
18This function has a smatch error. It checks for:
19
20	if (offset == 0x0 && offset == NVM_INVALID_PTR)
21
22That condition can never occur. It should instead be:
23
24	if (offset == 0x0 || offset == NVM_INVALID_PTR)
25