summaryrefslogtreecommitdiffstats
path: root/sys/dev/ata/ata-pci.h
diff options
context:
space:
mode:
authormav <mav@FreeBSD.org>2009-02-15 20:37:55 +0000
committermav <mav@FreeBSD.org>2009-02-15 20:37:55 +0000
commit9f9ad318fe2f0efe745e2cd7276c5459034ff760 (patch)
treefaf3e1fcfb3ccea44caa61e2dac601ffe3b4c640 /sys/dev/ata/ata-pci.h
parent3132a1839bd260889d01ff5eb3989b1c4daf419f (diff)
downloadFreeBSD-src-9f9ad318fe2f0efe745e2cd7276c5459034ff760.zip
FreeBSD-src-9f9ad318fe2f0efe745e2cd7276c5459034ff760.tar.gz
Add initial single-vector MSI support into atapci driver.
Works fine with AHCI and theoretically other MSI capable devices. At this moment support disabled by default. To enable it, set "hint.atapci.X.msi=1" device hint.
Diffstat (limited to 'sys/dev/ata/ata-pci.h')
-rw-r--r--sys/dev/ata/ata-pci.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/ata/ata-pci.h b/sys/dev/ata/ata-pci.h
index e5edd87..a31f30e 100644
--- a/sys/dev/ata/ata-pci.h
+++ b/sys/dev/ata/ata-pci.h
@@ -45,6 +45,7 @@ struct ata_pci_controller {
int r_type2;
int r_rid2;
struct resource *r_res2;
+ int r_irq_rid;
struct resource *r_irq;
void *handle;
struct ata_chip_id *chip;
OpenPOWER on IntegriCloud