coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
onboard.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 
3 #ifndef ONBOARD_H
4 #define ONBOARD_H
5 
7 
8 #ifndef __ACPI__
9 void lan_init(void);
10 #endif
11 
12 /* defines for programming the MAC address */
13 #define NINJA_NIC_VENDOR_ID 0x10EC
14 #define NINJA_NIC_DEVICE_ID 0x8168
15 
16 /* 0x00: White LINK LED and Amber ACTIVE LED */
17 #define NINJA_NIC_LED_MODE 0x00
18 
19 /* PCH wake signal from EC. */
20 #define BOARD_PCH_WAKE_GPIO ACPI_ENABLE_WAKE_SUS_GPIO(0)
21 
22 #define BOARD_CODEC_IRQ GPIO_S5_DED_IRQ(CODEC_IRQ_OFFSET)
23 
24 #endif
void lan_init(void)
Definition: mainboard.c:8