cfi_var.h (184251) | cfi_var.h (188156) |
---|---|
1/*- 2 * Copyright (c) 2007, Juniper Networks, Inc. 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 12 unchanged lines hidden (view full) --- 21 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 22 * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 23 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED 24 * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 25 * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 27 * SUCH DAMAGE. 28 * | 1/*- 2 * Copyright (c) 2007, Juniper Networks, Inc. 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 12 unchanged lines hidden (view full) --- 21 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 22 * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 23 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED 24 * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 25 * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 27 * SUCH DAMAGE. 28 * |
29 * $FreeBSD: head/sys/dev/cfi/cfi_var.h 184251 2008-10-25 06:18:12Z marcel $ | 29 * $FreeBSD: head/sys/dev/cfi/cfi_var.h 188156 2009-02-05 18:12:07Z sam $ |
30 */ 31 32#ifndef _DEV_CFI_VAR_H_ 33#define _DEV_CFI_VAR_H_ 34 35struct cfi_region { 36 u_int r_blocks; 37 u_int r_blksz; --- 31 unchanged lines hidden (view full) --- 69int cfi_probe(device_t); 70int cfi_attach(device_t); 71int cfi_detach(device_t); 72 73uint32_t cfi_read(struct cfi_softc *, u_int); 74uint8_t cfi_read_qry(struct cfi_softc *, u_int); 75int cfi_write_block(struct cfi_softc *); 76 | 30 */ 31 32#ifndef _DEV_CFI_VAR_H_ 33#define _DEV_CFI_VAR_H_ 34 35struct cfi_region { 36 u_int r_blocks; 37 u_int r_blksz; --- 31 unchanged lines hidden (view full) --- 69int cfi_probe(device_t); 70int cfi_attach(device_t); 71int cfi_detach(device_t); 72 73uint32_t cfi_read(struct cfi_softc *, u_int); 74uint8_t cfi_read_qry(struct cfi_softc *, u_int); 75int cfi_write_block(struct cfi_softc *); 76 |
77#ifdef CFI_SUPPORT_STRATAFLASH 78int cfi_intel_get_factory_pr(struct cfi_softc *sc, uint64_t *); 79int cfi_intel_get_oem_pr(struct cfi_softc *sc, uint64_t *); 80int cfi_intel_set_oem_pr(struct cfi_softc *sc, uint64_t); 81int cfi_intel_get_plr(struct cfi_softc *sc, uint32_t *); 82int cfi_intel_set_plr(struct cfi_softc *sc); 83#endif /* CFI_SUPPORT_STRATAFLASH */ |
|
77#endif /* _DEV_CFI_VAR_H_ */ | 84#endif /* _DEV_CFI_VAR_H_ */ |