From owner-cvs-all Sat Jan 18 16:24: 1 2003 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 E561037B401; Sat, 18 Jan 2003 16:23:59 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9CD2D43EB2; Sat, 18 Jan 2003 16:23:59 -0800 (PST) (envelope-from tmm@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h0J0Nxfh068256; Sat, 18 Jan 2003 16:23:59 -0800 (PST) (envelope-from tmm@repoman.freebsd.org) Received: (from tmm@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h0J0Nx0N068255; Sat, 18 Jan 2003 16:23:59 -0800 (PST) Message-Id: <200301190023.h0J0Nx0N068255@repoman.freebsd.org> From: Thomas Moestl Date: Sat, 18 Jan 2003 16:23:59 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/pci if_xl.c if_xlreg.h X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG tmm 2003/01/18 16:23:59 PST Modified files: sys/pci if_xl.c if_xlreg.h Log: Make the xl driver work on sparc64: - Add conversions to/from little endian for fields that the NIC accesses by DMA as required. - Add some bus_dmamap_sync() calls, and correct some existing ones. - Read the receiver information from the EEPROM in an endian-neutral manner. - Load all RX and TX descriptors in a single DMA map up front, and get the bus addresses of individual descriptors by address arithmetic; this fixes multiple use of the descriptor tags, which would have undesired effects. It seems that xl still does not work on e250 boxen, for reasons which are not clear yet. Reviewed by: mux Revision Changes Path 1.122 +99 -67 src/sys/pci/if_xl.c 1.42 +1 -0 src/sys/pci/if_xlreg.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message