summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/sfc/net_driver.h
diff options
context:
space:
mode:
authorBen Hutchings <bhutchings@solarflare.com>2012-02-14 00:40:12 +0000
committerBen Hutchings <bhutchings@solarflare.com>2012-02-16 00:25:09 +0000
commita16e5b246c5b1aff3141ca6ae443307f3241a133 (patch)
tree434fa46e6b0a8ee933cde9f61630576e424201ef /drivers/net/ethernet/sfc/net_driver.h
parent5bbe2f4f64cc7f6da6390035dcfc42b14bd80484 (diff)
downloadblackbird-op-linux-a16e5b246c5b1aff3141ca6ae443307f3241a133.tar.gz
blackbird-op-linux-a16e5b246c5b1aff3141ca6ae443307f3241a133.zip
sfc: Make all CPU/IRQ/channel/queue counts unsigned
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Diffstat (limited to 'drivers/net/ethernet/sfc/net_driver.h')
-rw-r--r--drivers/net/ethernet/sfc/net_driver.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/sfc/net_driver.h b/drivers/net/ethernet/sfc/net_driver.h
index 59c0583182a5..3260e7137918 100644
--- a/drivers/net/ethernet/sfc/net_driver.h
+++ b/drivers/net/ethernet/sfc/net_driver.h
@@ -52,7 +52,7 @@
*
**************************************************************************/
-#define EFX_MAX_CHANNELS 32
+#define EFX_MAX_CHANNELS 32U
#define EFX_MAX_RX_QUEUES EFX_MAX_CHANNELS
/* Checksum generation is a per-queue option in hardware, so each
OpenPOWER on IntegriCloud