Date: Thu, 17 Dec 2015 21:01:19 +0000 (UTC) From: Gleb Smirnoff <glebius@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r292411 - head/sys/dev/if_ndis Message-ID: <201512172101.tBHL1JxS098952@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201512172101.tBHL1JxS098952>