1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-13 14:40:22 +00:00

ToPIC fixes. scale back what we do for functional interrupts because

it appears to break at least the ToPIC 100.

Submitted by: Mark Santcroos <marks@ripe.net>
This commit is contained in:
Warner Losh 2001-10-17 05:20:56 +00:00
parent 311508cccd
commit b79e6caffe
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=85045

View File

@ -772,6 +772,7 @@ pcic_pci_ti_init(device_t dev)
static int
pcic_pci_topic_func(struct pcic_slot *sp, enum pcic_intr_way way)
{
#ifdef THIS_BRAEKS_THINGS
device_t dev = sp->sc->dev;
u_int32_t scr;
@ -781,7 +782,7 @@ pcic_pci_topic_func(struct pcic_slot *sp, enum pcic_intr_way way)
else
scr &= ~TOPIC_SOCKET_CTRL_SCR_IRQSEL;
pci_write_config(dev, TOPIC_SLOT_CTRL, scr, 4);
#endif
return (pcic_pci_gen_func(sp, way));
}