From owner-cvs-all Sun Aug 1 15:57:25 1999 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 2FDBB14CC2; Sun, 1 Aug 1999 15:57:22 -0700 (PDT) (envelope-from mdodd@FreeBSD.org) Received: (from mdodd@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id PAA61357; Sun, 1 Aug 1999 15:57:10 -0700 (PDT) (envelope-from mdodd@FreeBSD.org) Message-Id: <199908012257.PAA61357@freefall.freebsd.org> From: "Matthew N. Dodd" Date: Sun, 1 Aug 1999 15:57:10 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/i386/eisa 3c5x9.c adv_eisa.c ahb.c ahc_eisa.c bt_eisa.c dpt_eisa.c dpt_eisa.h eisaconf.c eisaconf.h if_fea.c if_vx_eisa.c Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk mdodd 1999/08/01 15:57:10 PDT Modified files: sys/i386/eisa 3c5x9.c adv_eisa.c ahb.c ahc_eisa.c bt_eisa.c dpt_eisa.c dpt_eisa.h eisaconf.c eisaconf.h if_fea.c if_vx_eisa.c Log: Move the specification of EDGE/LEVEL triggered interrupts to eisa_add_intr() which now takes an additional arguement (one of EISA_TRIGGER_LEVEL or EISA_TRIGGER_EDGE). The flag RR_SHAREABLE has no effect when passed to bus_alloc_resource(dev, SYS_RES_IRQ, ...) in an EISA device context as the eisa_alloc_resource() call (bus_alloc_resource method) now deals with this flag directly, depending on the device ivars. This change does nothing more than move all the 'shared = inb(foo + iobsse)' nonesense to the device probe methods rather than the device attach. Also, print out 'edge' or 'level' in the IRQ announcement message. Reviewed by: dfr Revision Changes Path 1.13 +2 -2 src/sys/i386/eisa/3c5x9.c 1.5 +2 -2 src/sys/i386/eisa/adv_eisa.c 1.13 +13 -6 src/sys/i386/eisa/ahb.c 1.11 +5 -5 src/sys/i386/eisa/ahc_eisa.c 1.8 +7 -2 src/sys/i386/eisa/bt_eisa.c 1.7 +11 -10 src/sys/i386/eisa/dpt_eisa.c 1.3 +3 -2 src/sys/i386/eisa/dpt_eisa.h 1.50 +27 -14 src/sys/i386/eisa/eisaconf.c 1.19 +5 -2 src/sys/i386/eisa/eisaconf.h 1.17 +3 -3 src/sys/i386/eisa/if_fea.c 1.12 +2 -4 src/sys/i386/eisa/if_vx_eisa.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message