Date: Sun, 27 May 2001 19:53:03 -0700 (PDT) From: Warner Losh <imp@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/pccard pcic.c pcic_isa.c pcicvar.h Message-ID: <200105280253.f4S2r3e84398@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200105280253.f4S2r3e84398>
