@@ -2,7 +2,7 @@ use crate::{capability::PciCapabilityAddress, ConfigRegionAccess};
2
2
use bit_field:: BitField ;
3
3
use core:: convert:: TryFrom ;
4
4
5
- /// Specifies, how much MSI interrupts one device can have.
5
+ /// Specifies how many MSI interrupts one device can have.
6
6
/// Device will modify lower bits of interrupt vector to send multiple messages, so interrupt block
7
7
/// must be aligned accordingly.
8
8
#[ derive( Debug , Copy , Clone , Ord , PartialOrd , Eq , PartialEq ) ]
@@ -77,7 +77,7 @@ impl MsiCapability {
77
77
self . is_64bit
78
78
}
79
79
80
- /// How much interrupts this device has?
80
+ /// How many interrupts this device has?
81
81
#[ inline]
82
82
pub fn get_multiple_message_capable ( & self ) -> MultipleMessageSupport {
83
83
self . multiple_message_capable
@@ -96,7 +96,7 @@ impl MsiCapability {
96
96
unsafe { access. write ( self . address . address , self . address . offset , reg) } ;
97
97
}
98
98
99
- /// Set how much interrupts the device will use. If requested count is bigger than supported count,
99
+ /// Set how many interrupts the device will use. If requested count is bigger than supported count,
100
100
/// the second will be used.
101
101
pub fn set_multiple_message_enable (
102
102
& self ,
@@ -108,7 +108,7 @@ impl MsiCapability {
108
108
unsafe { access. write ( self . address . address , self . address . offset , reg) } ;
109
109
}
110
110
111
- /// Return how much interrupts the device is using
111
+ /// Return how many interrupts the device is using
112
112
pub fn get_multiple_message_enable (
113
113
& self ,
114
114
access : & impl ConfigRegionAccess ,
0 commit comments