From owner-cvs-src@FreeBSD.ORG Sun Dec 28 13:28:37 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9BE1716A4CE; Sun, 28 Dec 2003 13:28:37 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id CF77443D4C; Sun, 28 Dec 2003 13:28:36 -0800 (PST) (envelope-from wpaul@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.10/8.12.10) with ESMTP id hBSLSa0B056828; Sun, 28 Dec 2003 13:28:36 -0800 (PST) (envelope-from wpaul@repoman.freebsd.org) Received: (from wpaul@localhost) by repoman.freebsd.org (8.12.10/8.12.10/Submit) id hBSLSawt056827; Sun, 28 Dec 2003 13:28:36 -0800 (PST) (envelope-from wpaul) Message-Id: <200312282128.hBSLSawt056827@repoman.freebsd.org> From: Bill Paul Date: Sun, 28 Dec 2003 13:28:36 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/compat/ndis subr_ndis.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Dec 2003 21:28:37 -0000 wpaul 2003/12/28 13:28:36 PST FreeBSD src repository Modified files: sys/compat/ndis subr_ndis.c Log: Remove the sanity test in ndis_adjust_buflen(). I'm not sure what the nb_size field in an ndis_buffer is meant to represent, but it does not represent the original allocation size, so the sanity check doesn't make any sense now that we're using the Windows-mandated initialization method. Among other things, this makes the following card work with the NDISulator: ndis0: mem 0xda004000-0xda004fff irq 10 at device 9.0 on pci0 This is that notoriously undocumented 10Mbps HomePNA Broadcom chipset that people wanted support for many moons ago. Sadly, the only other HomePNA NIC I have handy is a 1Mbps device, so I can't actually do any 10Mbps performance tests, but it talks to my 1Mbps ADMtek card just fine. Revision Changes Path 1.17 +0 -2 src/sys/compat/ndis/subr_ndis.c