safe.c (223026) | safe.c (227309) |
---|---|
1/*- 2 * Copyright (c) 2003 Sam Leffler, Errno Consulting 3 * Copyright (c) 2003 Global Technology Associates, Inc. 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 12 unchanged lines hidden (view full) --- 21 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 22 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 23 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 24 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 25 * SUCH DAMAGE. 26 */ 27 28#include <sys/cdefs.h> | 1/*- 2 * Copyright (c) 2003 Sam Leffler, Errno Consulting 3 * Copyright (c) 2003 Global Technology Associates, Inc. 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 12 unchanged lines hidden (view full) --- 21 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 22 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 23 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 24 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 25 * SUCH DAMAGE. 26 */ 27 28#include <sys/cdefs.h> |
29__FBSDID("$FreeBSD: head/sys/dev/safe/safe.c 223026 2011-06-12 23:33:08Z delphij $"); | 29__FBSDID("$FreeBSD: head/sys/dev/safe/safe.c 227309 2011-11-07 15:43:11Z ed $"); |
30 31/* 32 * SafeNet SafeXcel-1141 hardware crypto accelerator 33 */ 34#include "opt_safe.h" 35 36#include <sys/param.h> 37#include <sys/systm.h> --- 104 unchanged lines hidden (view full) --- 142static void safe_reset_board(struct safe_softc *); 143static void safe_init_board(struct safe_softc *); 144static void safe_init_pciregs(device_t dev); 145static void safe_cleanchip(struct safe_softc *); 146static void safe_totalreset(struct safe_softc *); 147 148static int safe_free_entry(struct safe_softc *, struct safe_ringentry *); 149 | 30 31/* 32 * SafeNet SafeXcel-1141 hardware crypto accelerator 33 */ 34#include "opt_safe.h" 35 36#include <sys/param.h> 37#include <sys/systm.h> --- 104 unchanged lines hidden (view full) --- 142static void safe_reset_board(struct safe_softc *); 143static void safe_init_board(struct safe_softc *); 144static void safe_init_pciregs(device_t dev); 145static void safe_cleanchip(struct safe_softc *); 146static void safe_totalreset(struct safe_softc *); 147 148static int safe_free_entry(struct safe_softc *, struct safe_ringentry *); 149 |
150SYSCTL_NODE(_hw, OID_AUTO, safe, CTLFLAG_RD, 0, "SafeNet driver parameters"); | 150static SYSCTL_NODE(_hw, OID_AUTO, safe, CTLFLAG_RD, 0, 151 "SafeNet driver parameters"); |
151 152#ifdef SAFE_DEBUG 153static void safe_dump_dmastatus(struct safe_softc *, const char *); 154static void safe_dump_ringstate(struct safe_softc *, const char *); 155static void safe_dump_intrstate(struct safe_softc *, const char *); 156static void safe_dump_request(struct safe_softc *, const char *, 157 struct safe_ringentry *); 158 --- 2101 unchanged lines hidden --- | 152 153#ifdef SAFE_DEBUG 154static void safe_dump_dmastatus(struct safe_softc *, const char *); 155static void safe_dump_ringstate(struct safe_softc *, const char *); 156static void safe_dump_intrstate(struct safe_softc *, const char *); 157static void safe_dump_request(struct safe_softc *, const char *, 158 struct safe_ringentry *); 159 --- 2101 unchanged lines hidden --- |