Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 May 2010 20:01:54 +0000 (UTC)
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r208362 - head/sys/dev/e1000
Message-ID:  <201005202001.o4KK1sPZ095208@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jhb
Date: Thu May 20 20:01:54 2010
New Revision: 208362
URL: http://svn.freebsd.org/changeset/base/208362

Log:
  Restore part of 200671 which was lost in previous driver changes:
  - Add interrupt descriptions when using mulitple MSI-X interrupts.

Modified:
  head/sys/dev/e1000/if_igb.c

Modified: head/sys/dev/e1000/if_igb.c
==============================================================================
--- head/sys/dev/e1000/if_igb.c	Thu May 20 19:45:11 2010	(r208361)
+++ head/sys/dev/e1000/if_igb.c	Thu May 20 20:01:54 2010	(r208362)
@@ -2194,6 +2194,7 @@ igb_allocate_msix(struct adapter *adapte
 			device_printf(dev, "Failed to register Queue handler");
 			return (error);
 		}
+		bus_describe_intr(dev, que->res, que->tag, "que %d", i);
 		que->msix = vector;
 		if (adapter->hw.mac.type == e1000_82575)
 			que->eims = E1000_EICR_TX_QUEUE0 << i;
@@ -2229,6 +2230,7 @@ igb_allocate_msix(struct adapter *adapte
 		device_printf(dev, "Failed to register Link handler");
 		return (error);
 	}
+	bus_describe_intr(dev, adapter->res, adapter->tag, "link");
 	adapter->linkvec = vector;
 
 	/* Make tasklet for deferred handling */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201005202001.o4KK1sPZ095208>