From 1c055e55a242a33e574e48be530e06770a210dcd Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Mon, 19 Feb 2024 03:26:26 +0000 Subject: [PATCH] add r8169 read mac form eeprom --- kernel/Documentation/driver-api/gpio/legacy.rst | 9 ++++----- 1 files changed, 4 insertions(+), 5 deletions(-) diff --git a/kernel/Documentation/driver-api/gpio/legacy.rst b/kernel/Documentation/driver-api/gpio/legacy.rst index 5e9421e..9bc34ba 100644 --- a/kernel/Documentation/driver-api/gpio/legacy.rst +++ b/kernel/Documentation/driver-api/gpio/legacy.rst @@ -690,11 +690,10 @@ and if it has been configured to generate interrupts (see the description of "edge"), you can poll(2) on that file and poll(2) will return whenever the interrupt was triggered. If - you use poll(2), set the events POLLPRI and POLLERR. If you - use select(2), set the file descriptor in exceptfds. After - poll(2) returns, either lseek(2) to the beginning of the sysfs - file and read the new value or close the file and re-open it - to read the value. + you use poll(2), set the events POLLPRI. If you use select(2), + set the file descriptor in exceptfds. After poll(2) returns, + either lseek(2) to the beginning of the sysfs file and read the + new value or close the file and re-open it to read the value. "edge" ... reads as either "none", "rising", "falling", or "both". Write these strings to select the signal edge(s) -- Gitblit v1.6.2