diff options
| author | Thomas Moestl <tmm@FreeBSD.org> | 2003-07-01 13:54:10 +0000 |
|---|---|---|
| committer | Thomas Moestl <tmm@FreeBSD.org> | 2003-07-01 13:54:10 +0000 |
| commit | 036c2cfbfa1d67fb0358ac291d0ff25522c866b4 (patch) | |
| tree | 2c01cb043d369e0634a2234e2fb6f67f6243f9f6 | |
| parent | 3cc956548f4524d338ca1f6a579758e074a0891e (diff) | |
Notes
| -rw-r--r-- | sys/dev/pci/pci.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/pci/pci.c b/sys/dev/pci/pci.c index f5cd677a06e6..71865a81690a 100644 --- a/sys/dev/pci/pci.c +++ b/sys/dev/pci/pci.c @@ -1232,6 +1232,9 @@ pci_write_ivar(device_t dev, device_t child, int which, uintptr_t value) dinfo = device_get_ivars(child); switch (which) { + case PCI_IVAR_INTPIN: + dinfo->cfg.intpin = value; + return (0); case PCI_IVAR_ETHADDR: case PCI_IVAR_SUBVENDOR: case PCI_IVAR_SUBDEVICE: @@ -1242,7 +1245,6 @@ pci_write_ivar(device_t dev, device_t child, int which, uintptr_t value) case PCI_IVAR_SUBCLASS: case PCI_IVAR_PROGIF: case PCI_IVAR_REVID: - case PCI_IVAR_INTPIN: case PCI_IVAR_IRQ: case PCI_IVAR_BUS: case PCI_IVAR_SLOT: |
