diff options
author | yongari <yongari@FreeBSD.org> | 2006-12-29 03:33:33 +0000 |
---|---|---|
committer | yongari <yongari@FreeBSD.org> | 2006-12-29 03:33:33 +0000 |
commit | 8a9474122e8956f836ac6863fd4ac5bdb2989159 (patch) | |
tree | 728ecfb85d56d0345c4040dfdb8e9848ca1acd3c /sys/dev/msk/if_mskreg.h | |
parent | a15ca76770485d6fdc32bb6c754263816b96336d (diff) | |
download | FreeBSD-src-8a9474122e8956f836ac6863fd4ac5bdb2989159.zip FreeBSD-src-8a9474122e8956f836ac6863fd4ac5bdb2989159.tar.gz |
Fix MSI support. Now it correctly allocates SYS_RES_IRQ resources
on Yukon II which reports it can handle two messages.
Submitted by: jhb
Tested by: bms
Diffstat (limited to 'sys/dev/msk/if_mskreg.h')
-rw-r--r-- | sys/dev/msk/if_mskreg.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/dev/msk/if_mskreg.h b/sys/dev/msk/if_mskreg.h index e9208e5..dd061d7 100644 --- a/sys/dev/msk/if_mskreg.h +++ b/sys/dev/msk/if_mskreg.h @@ -2314,9 +2314,11 @@ struct msk_if_softc; /* Softc for the Marvell Yukon II controller. */ struct msk_softc { - struct resource *msk_res[2]; /* I/O and IRQ resources */ + struct resource *msk_res[1]; /* I/O resource */ struct resource_spec *msk_res_spec; - void *msk_intrhand; /* irq handler handle */ + struct resource *msk_irq[2]; /* IRQ resources */ + struct resource_spec *msk_irq_spec; + void *msk_intrhand[2]; /* irq handler handle */ device_t msk_dev; uint8_t msk_hw_id; uint8_t msk_hw_rev; |