svn commit: r292411 - head/sys/dev/if_ndis

Gleb Smirnoff glebius at FreeBSD.org
Thu Dec 17 21:01:20 UTC 2015


Author: glebius
Date: Thu Dec 17 21:01:19 2015
New Revision: 292411
URL: https://svnweb.freebsd.org/changeset/base/292411

Log:
  Fix regression in if_ndis in r280347.
  
  Submitted by:	avos
  Reported by:	Ev Bogdanov <evbogdanov yahoo.com>
  Tested by:	Ivan Kormachev <ikormachev depit.ru>
  MFC after:	3 days

Modified:
  head/sys/dev/if_ndis/if_ndis_pci.c

Modified: head/sys/dev/if_ndis/if_ndis_pci.c
==============================================================================
--- head/sys/dev/if_ndis/if_ndis_pci.c	Thu Dec 17 20:42:05 2015	(r292410)
+++ head/sys/dev/if_ndis/if_ndis_pci.c	Thu Dec 17 21:01:19 2015	(r292411)
@@ -298,8 +298,7 @@ ndis_attach_pci(dev)
 			BUS_SPACE_MAXADDR_32BIT,/* lowaddr */
                         BUS_SPACE_MAXADDR,	/* highaddr */
 			NULL, NULL,		/* filter, filterarg */
-			BUS_SPACE_MAXSIZE_32BIT, /* maxsize */
-			NDIS_NSEG_NEW,		/* nsegments */
+			DFLTPHYS, NDIS_NSEG_NEW,/* maxsize, nsegments */
 			BUS_SPACE_MAXSIZE_32BIT,/* maxsegsize */
 			BUS_DMA_ALLOCNOW,       /* flags */
 			NULL, NULL,		/* lockfunc, lockarg */


More information about the svn-src-head mailing list