From owner-cvs-all@FreeBSD.ORG  Thu Dec 22 01:44:27 2005
Return-Path: <owner-cvs-all@FreeBSD.ORG>
X-Original-To: cvs-all@FreeBSD.org
Delivered-To: cvs-all@FreeBSD.org
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id B45A016A41F;
	Thu, 22 Dec 2005 01:44:27 +0000 (GMT)
	(envelope-from yongari@FreeBSD.org)
Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 7560043D66;
	Thu, 22 Dec 2005 01:44:27 +0000 (GMT)
	(envelope-from yongari@FreeBSD.org)
Received: from repoman.freebsd.org (localhost [127.0.0.1])
	by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id jBM1iRl8063409;
	Thu, 22 Dec 2005 01:44:27 GMT
	(envelope-from yongari@repoman.freebsd.org)
Received: (from yongari@localhost)
	by repoman.freebsd.org (8.13.1/8.13.1/Submit) id jBM1iRgI063408;
	Thu, 22 Dec 2005 01:44:27 GMT (envelope-from yongari)
Message-Id: <200512220144.jBM1iRgI063408@repoman.freebsd.org>
From: Pyun YongHyeon <yongari@FreeBSD.org>
Date: Thu, 22 Dec 2005 01:44:27 +0000 (UTC)
To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
X-FreeBSD-CVS-Branch: HEAD
Cc: 
Subject: cvs commit: src/sys/dev/bge if_bge.c
X-BeenThere: cvs-all@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: CVS commit messages for the entire tree <cvs-all.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/cvs-all>,
	<mailto:cvs-all-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/cvs-all>
List-Post: <mailto:cvs-all@freebsd.org>
List-Help: <mailto:cvs-all-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/cvs-all>,
	<mailto:cvs-all-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Thu, 22 Dec 2005 01:44:27 -0000

yongari     2005-12-22 01:44:27 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/bge          if_bge.c 
  Log:
  Add bge(4) support for big-endian architectures(part 2/2).
   - removed unused funtion bge_handle_events().
   - removed bus_dmamap_destroy(9) calls for DMA maps created by
     bus_dmamem_alloc(9). This should fix panics seen on sparc64
     in device detach.
   - added check for parent DMA tag creation.
   - switched to use __NO_STRICT_ALIGNMENT as bge(4) supports all
     architectures.
   - added missing bus_dmamap_sync(9) in bge_txeof().
   - added missing bus_dmamap_sync(9) in bge_encap().
   - corrected memory synchronization operation on status block.
     As the driver just read status block that was DMAed by NIC it
     should use BUS_DMASYNC_POSTREAD. Likewise the driver does not
     need to write status block back, so remove unnecessary
     bus_dmamap_sync(9) calls in bge_intr().
   - corrected memory synchronization operation on RX return ring.
     The driver only read the block so remove unnecessary
     bus_dmamap_sync(9) in bge_rxeof().
   - force bus_dmamap_sync(9) for only modified descriptors. Blindly
     synching all desciptor rings would reduce performance.
   - call bus_dmamap_sync(9) for DMA maps that were modified in bge_rxeof().
  
  Reviewed by:    jkim(initial version)
  Tested by:      glebius(i386), jkim(amd64 initial version)
  
  Revision  Changes    Path
  1.109     +75 -92    src/sys/dev/bge/if_bge.c