summaryrefslogtreecommitdiff
path: root/src/drivers/net/chip.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/net/chip.h')
-rw-r--r--src/drivers/net/chip.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/drivers/net/chip.h b/src/drivers/net/chip.h
index 430bc334a5..249b80f740 100644
--- a/src/drivers/net/chip.h
+++ b/src/drivers/net/chip.h
@@ -15,10 +15,22 @@
#define __DRIVERS_R8168_CHIP_H__
#include <stdint.h>
+#include <arch/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