From owner-cvs-src@FreeBSD.ORG Sat Oct 18 08:22:44 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 460A616A4B3; Sat, 18 Oct 2003 08:22:44 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id C5DA243FBF; Sat, 18 Oct 2003 08:22:43 -0700 (PDT) (envelope-from imp@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id h9IFMhXJ025004; Sat, 18 Oct 2003 08:22:43 -0700 (PDT) (envelope-from imp@repoman.freebsd.org) Received: (from imp@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id h9IFMhrS025003; Sat, 18 Oct 2003 08:22:43 -0700 (PDT) (envelope-from imp) Message-Id: <200310181522.h9IFMhrS025003@repoman.freebsd.org> From: Warner Losh Date: Sat, 18 Oct 2003 08:22:43 -0700 (PDT) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/dev/ep if_ep.c if_ep_isa.c if_ep_pccard.c if_epreg.h if_epvar.h 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: Sat, 18 Oct 2003 15:22:44 -0000 imp 2003/10/18 08:22:43 PDT FreeBSD src repository Modified files: sys/dev/ep if_ep.c if_ep_isa.c if_ep_pccard.c if_epreg.h if_epvar.h Log: Transition to using bus_space macros rather than the inb/outb/etc. Use EP_{READ,WRITE}{,_MULTI}_{1,2,4} instead. I've had several people submit patches like this over the years of varying qualities, markm being the last. The names were chosen in consulation with mdodd on irc. I've tested this with only PCMCIA cards: 3CCE589EC and 3CCSH572BT. I've not tried with my more extensive ISA, EISA and cbus collection. Reviewed by: mdodd Revision Changes Path 1.122 +97 -99 src/sys/dev/ep/if_ep.c 1.21 +1 -1 src/sys/dev/ep/if_ep_isa.c 1.32 +20 -14 src/sys/dev/ep/if_ep_pccard.c 1.32 +4 -9 src/sys/dev/ep/if_epreg.h 1.9 +21 -4 src/sys/dev/ep/if_epvar.h