summaryrefslogtreecommitdiffstats
path: root/sys/pccard/pcic.c
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2002-07-17 06:02:07 +0000
committerimp <imp@FreeBSD.org>2002-07-17 06:02:07 +0000
commitd5959a6ce3e440a1ba97dd32abef991e5183c73f (patch)
treeadb47da1618acf56c348fe4f8f320e898c1b7d65 /sys/pccard/pcic.c
parenta8a6ea13ae0e257e5651b27a08cd19753fefcdae (diff)
downloadFreeBSD-src-d5959a6ce3e440a1ba97dd32abef991e5183c73f.zip
FreeBSD-src-d5959a6ce3e440a1ba97dd32abef991e5183c73f.tar.gz
o Remove workaround that I put in to mask the BadVcc problem.
o Add preliminary support for Cirrus Logic CL-PD6729 using PCI interrupts. To use it you you need to set hw.pcic.pd6729_intr_path to 2. This is allow us to still default to ISA intrrupt path for this part (which is found much more often in laptops using ISA IRQs). But some PCI cards have this part on them and this should allow them to be used. It is untested on PCI, but it seems to not break the ISA case. o Better sysctl descriptions (I hope).
Diffstat (limited to 'sys/pccard/pcic.c')
-rw-r--r--sys/pccard/pcic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/pccard/pcic.c b/sys/pccard/pcic.c
index 252689e..3aafbdb 100644
--- a/sys/pccard/pcic.c
+++ b/sys/pccard/pcic.c
@@ -388,6 +388,7 @@ pcic_attach(device_t dev)
/* Check for changes */
sp->slt->laststate = sp->slt->state = empty;
+ sp->putb(sp, PCIC_POWER, 0);
if (pcic_boot_deactivated) {
if ((sp->getb(sp, PCIC_STATUS) & PCIC_CD) == PCIC_CD) {
sp->slt->state = inactive;
@@ -1282,7 +1283,6 @@ int
pcic_isa_mapirq(struct pcic_slot *sp, int irq)
{
irq = host_irq_to_pcic(irq);
- sp->sc->chip->func_intr_way(sp, pcic_iw_isa);
if (irq == 0)
pcic_clrb(sp, PCIC_INT_GEN, 0xF);
else
OpenPOWER on IntegriCloud