Date: Sun, 2 Jan 2000 22:45:17 -0800 (PST) From: Warner Losh <imp@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/pccard pccard.c src/sys/dev/pcic i82365.c i82365_isa.c i82365var.h Message-ID: <200001030645.WAA06541@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
imp 2000/01/02 22:45:17 PST
Modified files:
sys/dev/pccard pccard.c
sys/dev/pcic i82365.c i82365_isa.c i82365var.h
Log:
Connect interrupts and start processing them. We panic on card removal
now, but we're getting interrupts!
o Add pcic_suspend/pcic_resume so we can detach our children on suspention
and fix the state of the pcic on resume.
o Remove some unused parts of softc.
o Centralize resource activation/deactivation for pcic bridge chip in
the stylistic pcic_activate/pcic_deactivate.
o Add bus_print_child method so we can see the pccard attachment.
o Add pcic_identify in an attempt to make it possible to automatically id
the pcic devices. This works great, but we cannot divine the irq to use
from this method, nor the memory hole. For the moment, KLUDGE irq to be
10 and memory hold to be 0xd0000.
o Loose the pnp probe stuff. This may be a big mistake, but it is easy
enough to add back later. I did this so the identify routines can do their
thing unmolested by pnp information. The whole identify thing may be a bad
idea to be ripped out later.
o change return type of pcic_intr to void, make it static and ripple
this through the code.
o Add explicit call to bus_generic_attach at the end of pcic_attach to
get any children probed/attached.
o add some comments about future directions/questionable things being
done at different layers, etc.
Revision Changes Path
1.6 +3 -3 src/sys/dev/pccard/pccard.c
1.14 +131 -16 src/sys/dev/pcic/i82365.c
1.12 +57 -61 src/sys/dev/pcic/i82365_isa.c
1.13 +10 -12 src/sys/dev/pcic/i82365var.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?200001030645.WAA06541>
