Deleted Added
full compact
oce_if.h (338939) oce_if.h (343300)
1/*-
2 * Copyright (C) 2013 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
1/*-
2 * Copyright (C) 2013 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/* $FreeBSD: stable/11/sys/dev/oce/oce_if.h 338939 2018-09-25 23:59:45Z jpaetzel $ */
39/* $FreeBSD: stable/11/sys/dev/oce/oce_if.h 343300 2019-01-22 04:20:52Z delphij $ */
40
41#include <sys/param.h>
42#include <sys/endian.h>
43#include <sys/eventhandler.h>
44#include <sys/malloc.h>
45#include <sys/module.h>
46#include <sys/kernel.h>
47#include <sys/bus.h>

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

1181#define TRANSCEIVER_DATA_NUM_ELE 64
1182#define TRANSCEIVER_DATA_SIZE 256
1183#define TRANSCEIVER_A0_SIZE 128
1184#define TRANSCEIVER_A2_SIZE 128
1185#define PAGE_NUM_A0 0xa0
1186#define PAGE_NUM_A2 0xa2
1187#define IS_QNQ_OR_UMC(sc) ((sc->pvid && (sc->function_mode & FNM_UMC_MODE ))\
1188 || (sc->qnqid && (sc->function_mode & FNM_FLEX10_MODE)))
40
41#include <sys/param.h>
42#include <sys/endian.h>
43#include <sys/eventhandler.h>
44#include <sys/malloc.h>
45#include <sys/module.h>
46#include <sys/kernel.h>
47#include <sys/bus.h>

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

1181#define TRANSCEIVER_DATA_NUM_ELE 64
1182#define TRANSCEIVER_DATA_SIZE 256
1183#define TRANSCEIVER_A0_SIZE 128
1184#define TRANSCEIVER_A2_SIZE 128
1185#define PAGE_NUM_A0 0xa0
1186#define PAGE_NUM_A2 0xa2
1187#define IS_QNQ_OR_UMC(sc) ((sc->pvid && (sc->function_mode & FNM_UMC_MODE ))\
1188 || (sc->qnqid && (sc->function_mode & FNM_FLEX10_MODE)))
1189extern uint8_t sfp_vpd_dump_buffer[TRANSCEIVER_DATA_SIZE];
1189
1190struct oce_rdma_info;
1191extern struct oce_rdma_if *oce_rdma_if;
1192
1193
1194
1195/* OS2BMC related */
1196

--- 70 unchanged lines hidden ---
1190
1191struct oce_rdma_info;
1192extern struct oce_rdma_if *oce_rdma_if;
1193
1194
1195
1196/* OS2BMC related */
1197

--- 70 unchanged lines hidden ---