[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20110927.005115.2030295462342658475.davem@davemloft.net>
Date: Tue, 27 Sep 2011 00:51:15 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: shemminger@...tta.com
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH net-next] sky2: manage irq better on single port card
From: Stephen Hemminger <shemminger@...tta.com>
Date: Fri, 23 Sep 2011 14:13:40 -0700
> Most sky2 hardware only has a single port, although some variations of the
> chip support two interfaces. For the single port case, use the standard
> Ethernet driver convention of allocating IRQ when device is brought up
> rather than at probe time.
>
> Also, change the error handling of dual port cards so that if second
> port can not be brought up, then just fail. No point in continuing, since
> the failure is most certainly because of out of memory.
>
> The dual port sky2 device has a single irq and a single status ring,
> therefore it has a single NAPI object shared by both ports.
>
> Signed-off-by: Stephen Hemminger <shemminger@...tta.com>
Applied, thanks.
--
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