diff --git a/sys/dev/nve/if_nve.c b/sys/dev/nve/if_nve.c index 8122c6c3562..69176e80b23 100644 --- a/sys/dev/nve/if_nve.c +++ b/sys/dev/nve/if_nve.c @@ -1,4 +1,4 @@ -/* +/*- * Copyright (c) 2005 by David E. O'Brien . * Copyright (c) 2003,2004 by Quinton Dolan . * All rights reserved. @@ -26,7 +26,6 @@ * * $Id: if_nv.c,v 1.19 2004/08/12 14:00:05 q Exp $ */ - /* * NVIDIA nForce MCP Networking Adapter driver * @@ -70,7 +69,6 @@ * Written by Quinton Dolan * Portions based on existing FreeBSD network drivers. * NVIDIA API usage derived from distributed NVIDIA NVNET driver source files. - * */ #include @@ -112,6 +110,7 @@ __FBSDID("$FreeBSD$"); #include "miibus_if.h" /* Include NVIDIA Linux driver header files */ +#include #define linux #include #include @@ -309,6 +308,9 @@ nve_attach(device_t dev) ADAPTER_OPEN_PARAMS OpenParams; int error = 0, i, rid; + if (bootverbose) + device_printf(dev, "nvenetlib.o version %s\n", DRIVER_VERSION); + DEBUGOUT(NVE_DEBUG_INIT, "nve: nve_attach - entry\n"); sc = device_get_softc(dev); diff --git a/sys/dev/nve/if_nvereg.h b/sys/dev/nve/if_nvereg.h index 88c5a4ac58c..f9e09008567 100644 --- a/sys/dev/nve/if_nvereg.h +++ b/sys/dev/nve/if_nvereg.h @@ -51,7 +51,7 @@ #define TX_RING_SIZE 64 #define RX_RING_SIZE 64 -#define NV_MAX_FRAGS 63 +#define NV_MAX_FRAGS 32 // match adapter.h:ADAPTER_WRITE_DATA.sElement[] #define FCS_LEN 4