MAX_NPORTS
struct port_info port[MAX_NPORTS];
#define PORT_MASK ((1 << MAX_NPORTS) - 1)
for (i = 0; i < MAX_NPORTS; i++)
u32 seop[MAX_NPORTS];
struct sched_port p[MAX_NPORTS];
struct sk_buff *espibug_skb[MAX_NPORTS];
struct sge_port_stats __percpu *port_stats[MAX_NPORTS];
for (i = 0; i < MAX_NPORTS; i++)
for (i = 0; i < MAX_NPORTS; i++)
for (i = 0; i < MAX_NPORTS; i++) {
for (i = 0; i < MAX_NPORTS; i++) {
for (i = 0; i < MAX_NPORTS; i++) {
s->port = (s->port + 1) & (MAX_NPORTS - 1);
struct net_device *port[MAX_NPORTS];
unsigned char gpio_intr[MAX_NPORTS]; /* GPIO PHY IRQ pins */
u8 port_type[MAX_NPORTS];
#define PORT_MASK ((1 << MAX_NPORTS) - 1)
struct net_device *port[MAX_NPORTS];
u8 mps_bg_map[MAX_NPORTS]; /* MPS Buffer Group Map */
if (i >= MAX_NPORTS) {
if (adap->chan_map[tp.port & 3] >= MAX_NPORTS)
if (adap->chan_map[tp.port] >= MAX_NPORTS)
while (i < MAX_NPORTS) {
int timer[MAX_NPORTS];
for (i = 0; i < MAX_NPORTS; i++) {
for (p = 0; p < MAX_NPORTS; p++, val >>= 8)
struct net_device *port[MAX_NPORTS];
MAX_ETH_QSETS = MAX_NPORTS*MAX_PORT_QSETS,
if (adapter->params.nports > MAX_NPORTS) {
" allowed virtual interfaces\n", MAX_NPORTS,
adapter->params.nports = MAX_NPORTS;
u8 selectq[MAX_NPORTS][2];