summaryrefslogtreecommitdiff
path: root/sys/dev/pci/if_oce.c
diff options
context:
space:
mode:
authorMike Belopuhov <mikeb@cvs.openbsd.org>2012-10-26 18:05:51 +0000
committerMike Belopuhov <mikeb@cvs.openbsd.org>2012-10-26 18:05:51 +0000
commitfca9fd5bc6db76d1428bb61b31eaa426a858a203 (patch)
tree24b3812e2c74b1afbcd169f598226819470c04bd /sys/dev/pci/if_oce.c
parent1b2b3d6bfc8b2aa5bb9b1412faf53c091b8b20a7 (diff)
cleanup oce_init_fw; use less bitfields
Diffstat (limited to 'sys/dev/pci/if_oce.c')
-rw-r--r--sys/dev/pci/if_oce.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/if_oce.c b/sys/dev/pci/if_oce.c
index b0a1405a57e..d183c3d4565 100644
--- a/sys/dev/pci/if_oce.c
+++ b/sys/dev/pci/if_oce.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_oce.c,v 1.28 2012/10/26 17:56:24 mikeb Exp $ */
+/* $OpenBSD: if_oce.c,v 1.29 2012/10/26 18:05:50 mikeb Exp $ */
/*
* Copyright (c) 2012 Mike Belopuhov
@@ -546,7 +546,7 @@ oce_pci_alloc(struct oce_softc *sc)
if (OCE_SLI_IFTYPE(reg) == OCE_INTF_IF_TYPE_1)
sc->flags |= OCE_FLAGS_MBOX_ENDIAN_RQD;
if (OCE_SLI_HINT1(reg) == OCE_INTF_FUNC_RESET_REQD)
- sc->flags |= OCE_FLAGS_FUNCRESET_RQD;
+ sc->flags |= OCE_FLAGS_RESET_RQD;
if (OCE_SLI_FUNCTION(reg) == OCE_INTF_VIRT_FUNC)
sc->flags |= OCE_FLAGS_VIRTUAL_PORT;