mirror of
https://github.com/RGBCube/serenity
synced 2025-07-24 15:17:45 +00:00
Kernel: Mark E1000NetworkAdapter is_valid_device_id(..) UNMAP_AFTER_INIT
This commit is contained in:
parent
f124affc8e
commit
e9add0bb80
1 changed files with 1 additions and 1 deletions
|
@ -119,7 +119,7 @@ namespace Kernel {
|
||||||
#define INTERRUPT_SRPD (1 << 16)
|
#define INTERRUPT_SRPD (1 << 16)
|
||||||
|
|
||||||
// https://www.intel.com/content/dam/doc/manual/pci-pci-x-family-gbe-controllers-software-dev-manual.pdf Section 5.2
|
// https://www.intel.com/content/dam/doc/manual/pci-pci-x-family-gbe-controllers-software-dev-manual.pdf Section 5.2
|
||||||
static bool is_valid_device_id(u16 device_id)
|
UNMAP_AFTER_INIT static bool is_valid_device_id(u16 device_id)
|
||||||
{
|
{
|
||||||
// FIXME: It would be nice to distinguish which particular device it is.
|
// FIXME: It would be nice to distinguish which particular device it is.
|
||||||
// Especially since it's needed to determine which registers we can access.
|
// Especially since it's needed to determine which registers we can access.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue