blob: 9b6a4e550b644267a086d96f83085d3450a23a7d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef __DRIVERS_R8168_CHIP_H__
#define __DRIVERS_R8168_CHIP_H__
#include <stdint.h>
#include <acpi/acpi_device.h>
struct drivers_net_config {
uint16_t customized_leds;
unsigned int wake; /* Wake pin for ACPI _PRW */
/* Does the device have a power resource? */
bool has_power_resource;
/* GPIO used to stop operation of device. */
struct acpi_gpio stop_gpio;
/* Delay to be inserted after disabling stop. */
unsigned int stop_delay_ms;
/* Delay to be inserted after enabling stop. */
unsigned int stop_off_delay_ms;
/*
* There maybe many NIC cards in a system.
* This parameter is for driver to identify what
* the device number is and the valid range is [1-10].
*/
uint8_t device_index;
};
#endif /* __DRIVERS_R8168_CHIP_H__ */
|