summaryrefslogtreecommitdiff
path: root/sys/dev/pci/ixgbe_82598.c
diff options
context:
space:
mode:
authorReyk Floeter <reyk@cvs.openbsd.org>2008-06-08 21:15:35 +0000
committerReyk Floeter <reyk@cvs.openbsd.org>2008-06-08 21:15:35 +0000
commitb41ca882a2269461db5edaadbf199748784859db (patch)
tree06fdb1a9967a14b025573f6f677c38168d4f2f98 /sys/dev/pci/ixgbe_82598.c
parenta0b9ab372c5391bfeabb1165489306f75642fb8e (diff)
more cleanup, removed unused code. we don't do LRO/RSS yet, code can
be added later if we ever support it.
Diffstat (limited to 'sys/dev/pci/ixgbe_82598.c')
-rw-r--r--sys/dev/pci/ixgbe_82598.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/pci/ixgbe_82598.c b/sys/dev/pci/ixgbe_82598.c
index 9f1cad43a6e..be8c130a712 100644
--- a/sys/dev/pci/ixgbe_82598.c
+++ b/sys/dev/pci/ixgbe_82598.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ixgbe_82598.c,v 1.2 2008/06/08 20:33:51 reyk Exp $ */
+/* $OpenBSD: ixgbe_82598.c,v 1.3 2008/06/08 21:15:34 reyk Exp $ */
/******************************************************************************
@@ -288,7 +288,7 @@ int32_t ixgbe_setup_fc_82598(struct ixgbe_hw *hw, int32_t packetbuf_num)
if (packetbuf_num < 0 || packetbuf_num > 7) {
DEBUGOUT1("Invalid packet buffer number [%d], expected range is"
" 0-7\n", packetbuf_num);
- ASSERT(0);
+ panic("ixgbe");
}
frctl_reg = IXGBE_READ_REG(hw, IXGBE_FCTRL);
@@ -349,7 +349,7 @@ int32_t ixgbe_setup_fc_82598(struct ixgbe_hw *hw, int32_t packetbuf_num)
default:
/* We should never get here. The value should be 0-3. */
DEBUGOUT("Flow control param set incorrectly\n");
- ASSERT(0);
+ panic("ixgbe");
break;
}