summaryrefslogtreecommitdiffstats
path: root/sys/pci/if_fxpvar.h
diff options
context:
space:
mode:
authordg <dg@FreeBSD.org>2000-09-17 22:12:12 +0000
committerdg <dg@FreeBSD.org>2000-09-17 22:12:12 +0000
commit6fd9f8fc68d398e4231dd400462cb261b6701c5d (patch)
tree3cb221b7278ec4b39733839f4c419fdaf1c6179b /sys/pci/if_fxpvar.h
parenta1dbfee15805bbe173b7923cd72d9c76d381af20 (diff)
downloadFreeBSD-src-6fd9f8fc68d398e4231dd400462cb261b6701c5d.zip
FreeBSD-src-6fd9f8fc68d398e4231dd400462cb261b6701c5d.tar.gz
Added support for APM suspend/resume.
PR: 18756 Submitted by: mike ryan <msr@elision.org>, with modifications by me.
Diffstat (limited to 'sys/pci/if_fxpvar.h')
-rw-r--r--sys/pci/if_fxpvar.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/pci/if_fxpvar.h b/sys/pci/if_fxpvar.h
index 8a0353b..82b8e80 100644
--- a/sys/pci/if_fxpvar.h
+++ b/sys/pci/if_fxpvar.h
@@ -69,6 +69,12 @@ struct fxp_softc {
int phy_primary_device; /* device type of primary PHY */
int phy_10Mbps_only; /* PHY is 10Mbps-only device */
int eeprom_size; /* size of serial EEPROM */
+ int suspended; /* 0 = normal 1 = suspended (APM) */
+ u_int32_t saved_maps[5]; /* pci data */
+ u_int32_t saved_biosaddr;
+ u_int8_t saved_intline;
+ u_int8_t saved_cachelnsz;
+ u_int8_t saved_lattimer;
};
/* Macros to ease CSR access. */
OpenPOWER on IntegriCloud