diff options
author | iwasaki <iwasaki@FreeBSD.org> | 2002-05-06 10:55:42 +0000 |
---|---|---|
committer | iwasaki <iwasaki@FreeBSD.org> | 2002-05-06 10:55:42 +0000 |
commit | f42381b21e451afd59bae8a0d8456750f5f2131c (patch) | |
tree | 4ed59412ea566f5aa2db0a4f4b2ecd5d7a672d78 /sys/pci/if_dcreg.h | |
parent | 18274834278cef77879f1074640e4b4ce93416ee (diff) | |
download | FreeBSD-src-f42381b21e451afd59bae8a0d8456750f5f2131c.zip FreeBSD-src-f42381b21e451afd59bae8a0d8456750f5f2131c.tar.gz |
Add suspend/resume code mostly merged from fxp/rl driver.
This is temporary hack, better and generalized solution probably
should be implemented at lower layer(MII or PCI?).
Tested by: shoko.araki@soliton.co.jp
MFC after: 1 week
Diffstat (limited to 'sys/pci/if_dcreg.h')
-rw-r--r-- | sys/pci/if_dcreg.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sys/pci/if_dcreg.h b/sys/pci/if_dcreg.h index 46bd3c3..5c0879a 100644 --- a/sys/pci/if_dcreg.h +++ b/sys/pci/if_dcreg.h @@ -726,6 +726,13 @@ struct dc_softc { #ifdef DEVICE_POLLING int rxcycles; /* ... when polling */ #endif + int suspended; /* 0 = normal 1 = suspended */ + + 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; }; |