Page MenuHomeFreeBSD

D11413.1775546360.diff
No OneTemporary

Size
2 KB
Referenced Files
None
Subscribers
None

D11413.1775546360.diff

Index: head/sys/dev/qlnx/qlnxe/ecore_hw.h
===================================================================
--- head/sys/dev/qlnx/qlnxe/ecore_hw.h
+++ head/sys/dev/qlnx/qlnxe/ecore_hw.h
@@ -90,15 +90,6 @@
#define DMAE_MAX_CLIENTS 32
/**
-* @brief ecore_gtt_init - Initialize GTT windows
-*
-* @param p_hwfn
-* @param p_ptt
-*/
-void ecore_gtt_init(struct ecore_hwfn *p_hwfn,
- struct ecore_ptt *p_ptt);
-
-/**
* @brief ecore_ptt_invalidate - Forces all ptt entries to be re-configured
*
* @param p_hwfn
Index: head/sys/dev/qlnx/qlnxe/qlnx_ioctl.c
===================================================================
--- head/sys/dev/qlnx/qlnxe/qlnx_ioctl.c
+++ head/sys/dev/qlnx/qlnxe/qlnx_ioctl.c
@@ -534,12 +534,13 @@
return (rval);
}
+extern char qlnx_name_str[];
+extern char qlnx_ver_str[];
+
static int
qlnx_drv_info(qlnx_host_t *ha, qlnx_drvinfo_t *drv_info)
{
int i;
- extern char qlnx_name_str[];
- extern char qlnx_ver_str[];
bzero(drv_info, sizeof(qlnx_drvinfo_t));
Index: head/sys/dev/qlnx/qlnxe/qlnx_os.c
===================================================================
--- head/sys/dev/qlnx/qlnxe/qlnx_os.c
+++ head/sys/dev/qlnx/qlnxe/qlnx_os.c
@@ -396,7 +396,7 @@
qlnx_host_t *ha;
struct ifnet *ifp;
struct mbuf *mp;
- int ret;
+ int ret = -1;
int lro_enable;
int rx_int = 0, total_rx_count = 0;
struct thread *cthread;
Index: head/sys/modules/qlnx/Makefile
===================================================================
--- head/sys/modules/qlnx/Makefile
+++ head/sys/modules/qlnx/Makefile
@@ -32,6 +32,8 @@
# $FreeBSD$
#
+SYSDIR?=${SRCTOP}/sys
+.include "${SYSDIR}/conf/kern.opts.mk"
SUBDIR=qlnxe
Index: head/sys/modules/qlnx/qlnxe/Makefile
===================================================================
--- head/sys/modules/qlnx/qlnxe/Makefile
+++ head/sys/modules/qlnx/qlnxe/Makefile
@@ -50,7 +50,7 @@
SRCS+= bus_if.h
SRCS+= pci_if.h
-CWARNEXTRA += -Wno-cast-qual
+.include <bsd.kmod.mk>
CFLAGS += -DQLNX_DEBUG
CFLAGS += -DECORE_PACKAGE
@@ -66,6 +66,4 @@
#CFLAGS += -DQLNX_QSORT_LRO
#CFLAGS += -DQLNX_MAX_COALESCE
-
-.include <bsd.kmod.mk>
-
+CWARNFLAGS+= -Wno-cast-qual

File Metadata

Mime Type
text/plain
Expires
Tue, Apr 7, 7:19 AM (9 h, 5 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28288166
Default Alt Text
D11413.1775546360.diff (2 KB)

Event Timeline