From owner-cvs-all Sun May 27 19:53: 8 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 8F4C337B422; Sun, 27 May 2001 19:53:03 -0700 (PDT) (envelope-from imp@FreeBSD.org) Received: (from imp@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f4S2r3e84398; Sun, 27 May 2001 19:53:03 -0700 (PDT) (envelope-from imp) Message-Id: <200105280253.f4S2r3e84398@freefall.freebsd.org> From: Warner Losh Date: Sun, 27 May 2001 19:53:03 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/pccard pcic.c pcic_isa.c pcicvar.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 imp 2001/05/27 19:53:03 PDT Modified files: sys/pccard pcic.c pcic_isa.c pcicvar.h Log: Turns out that one bit isn't enough. Introduce two new fields csc_route and func_route to hold the way that each interrupt is routed. csc is Card Status Change in the datasheets and standard, but is called "Management Interrupt" in FreeBSDese. There are three types of interrupt routing: ISA parallel, PCI parallel and ISA serial (some chipsets support other types as well, but I don't plan on supporting them). When we try to allocate an interrupt, and the type for that interrupt is pci_parallel, allow it to be shared by oring in RF_SHAREABLE to the flags argument. Introduce pcic_alloc_resource to allow this to happen. Revision Changes Path 1.140 +18 -2 src/sys/pccard/pcic.c 1.10 +4 -2 src/sys/pccard/pcic_isa.c 1.13 +20 -15 src/sys/pccard/pcicvar.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message