From b41ca882a2269461db5edaadbf199748784859db Mon Sep 17 00:00:00 2001 From: Reyk Floeter Date: Sun, 8 Jun 2008 21:15:35 +0000 Subject: more cleanup, removed unused code. we don't do LRO/RSS yet, code can be added later if we ever support it. --- sys/dev/pci/ixgbe_82598.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sys/dev/pci/ixgbe_82598.c') 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; } -- cgit v1.2.3