@@ -778,7 +778,7 @@ define_error! {
778778 /// [`InterruptLine::set_priority`]: super::InterruptLine::set_priority
779779 /// [`InterruptLine::set_priority_unchecked`]: super::InterruptLine::set_priority_unchecked
780780 pub enum SetInterruptLinePriorityError {
781- /// The operation is not supported by the port .
781+ /// The operation is not supported by the kernel .
782782 NotSupported ,
783783 /// CPU Lock is active, or the current context is not [a task context].
784784 ///
@@ -797,7 +797,7 @@ define_error! {
797797 /// [`InterruptLine::enable`]: super::InterruptLine::enable
798798 /// [`InterruptLine::disable`]: super::InterruptLine::disable
799799 pub enum EnableInterruptLineError {
800- /// The operation is not supported by the port .
800+ /// The operation is not supported by the kernel .
801801 NotSupported ,
802802 /// Enabling or disabling the specified interrupt line is not supported.
803803 BadParam ,
@@ -810,7 +810,7 @@ define_error! {
810810 ///
811811 /// [`InterruptLine::pend`]: super::InterruptLine::pend
812812 pub enum PendInterruptLineError {
813- /// Setting a pending flag is not supported by the port .
813+ /// Setting a pending flag is not supported by the kernel .
814814 NotSupported ,
815815 /// Setting the pending flag of the specified interrupt line is not
816816 /// supported.
@@ -819,7 +819,7 @@ define_error! {
819819 /// example, this operation is invalid for an level-triggered interrupt
820820 /// line.
821821 ///
822- /// A port is not required to detect this condition.
822+ /// A kernel is not required to detect this condition.
823823 BadObjectState ,
824824 }
825825}
@@ -830,7 +830,7 @@ define_error! {
830830 ///
831831 /// [`InterruptLine::clear`]: super::InterruptLine::clear
832832 pub enum ClearInterruptLineError {
833- /// Clearing a pending flag is not supported by the port .
833+ /// Clearing a pending flag is not supported by the kernel .
834834 NotSupported ,
835835 /// Clearing the pending flag of the specified interrupt line is not
836836 /// supported.
@@ -839,7 +839,7 @@ define_error! {
839839 /// example, this operation is invalid for an level-triggered interrupt
840840 /// line.
841841 ///
842- /// A port is not required to detect this condition.
842+ /// A kernel is not required to detect this condition.
843843 BadObjectState ,
844844 }
845845}
@@ -850,7 +850,7 @@ define_error! {
850850 ///
851851 /// [`InterruptLine::is_pending`]: super::InterruptLine::is_pending
852852 pub enum QueryInterruptLineError {
853- /// Reading a pending flag is not supported by the port .
853+ /// Reading a pending flag is not supported by the kernel .
854854 NotSupported ,
855855 /// Reading the pending flag of the specified interrupt line is not
856856 /// supported.
0 commit comments