Deleted Added
sdiff udiff text old ( 231437 ) new ( 231879 )
full compact
1/*-
2 * Copyright (C) 2012 Emulex
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are met:
7 *
8 * 1. Redistributions of source code must retain the above copyright notice,

--- 22 unchanged lines hidden (view full) ---

31 * Contact Information:
32 * freebsd-drivers@emulex.com
33 *
34 * Emulex
35 * 3333 Susan Street
36 * Costa Mesa, CA 92626
37 */
38
39
40/* $FreeBSD: head/sys/dev/oce/oce_sysctl.c 231437 2012-02-10 21:03:04Z luigi $ */
41
42
43#include "oce_if.h"
44
45static void copy_stats_to_sc_xe201(POCE_SOFTC sc);
46static void copy_stats_to_sc_be3(POCE_SOFTC sc);
47static void copy_stats_to_sc_be2(POCE_SOFTC sc);
48static int oce_sysctl_loopback(SYSCTL_HANDLER_ARGS);
49static int oce_be3_fwupgrade(POCE_SOFTC sc, const struct firmware *fw);
50static int oce_sys_fwupgrade(SYSCTL_HANDLER_ARGS);

--- 52 unchanged lines hidden (view full) ---

103 0,"QOS Speed");
104 else
105 SYSCTL_ADD_UINT(ctx, child,
106 OID_AUTO, "speed",
107 CTLFLAG_RD,
108 &sc->speed,
109 0,"Link Speed");
110
111 SYSCTL_ADD_PROC(ctx, child, OID_AUTO, "loop_back",
112 CTLTYPE_INT | CTLFLAG_RW, (void *)sc, 0,
113 oce_sysctl_loopback, "I", "Loop Back Tests");
114
115 SYSCTL_ADD_PROC(ctx, child, OID_AUTO, "fw_upgrade",
116 CTLTYPE_STRING | CTLFLAG_RW, (void *)sc, 0,
117 oce_sys_fwupgrade, "A", "Firmware ufi file");
118

--- 1182 unchanged lines hidden ---