api_public.h (183599) | api_public.h (235609) |
---|---|
1/* 2 * (C) Copyright 2007-2008 Semihalf 3 * 4 * Written by: Rafal Jaworowski <raj@semihalf.com> 5 * 6 * This file is dual licensed; you can use it under the terms of 7 * either the GPL, or the BSD license, at your option. 8 * --- 34 unchanged lines hidden (view full) --- 43 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 44 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 45 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 46 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 47 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 48 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 49 * SUCH DAMAGE. 50 * | 1/* 2 * (C) Copyright 2007-2008 Semihalf 3 * 4 * Written by: Rafal Jaworowski <raj@semihalf.com> 5 * 6 * This file is dual licensed; you can use it under the terms of 7 * either the GPL, or the BSD license, at your option. 8 * --- 34 unchanged lines hidden (view full) --- 43 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 44 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 45 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 46 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 47 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 48 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 49 * SUCH DAMAGE. 50 * |
51 * $FreeBSD: head/sys/boot/uboot/lib/api_public.h 183599 2008-10-04 13:19:15Z raj $ | 51 * $FreeBSD: head/sys/boot/uboot/lib/api_public.h 235609 2012-05-18 14:41:14Z gber $ |
52 * 53 * This file needs to be kept in sync with U-Boot reference: 54 * http://www.denx.de/cgi-bin/gitweb.cgi?p=u-boot.git;a=blob;f=include/api_public.h 55 */ 56 57#ifndef _API_PUBLIC_H_ 58#define _API_PUBLIC_H_ 59 --- 67 unchanged lines hidden (view full) --- 127#define DEV_TYP_NONE 0x0000 128#define DEV_TYP_NET 0x0001 129 130#define DEV_TYP_STOR 0x0002 131#define DT_STOR_IDE 0x0010 132#define DT_STOR_SCSI 0x0020 133#define DT_STOR_USB 0x0040 134#define DT_STOR_MMC 0x0080 | 52 * 53 * This file needs to be kept in sync with U-Boot reference: 54 * http://www.denx.de/cgi-bin/gitweb.cgi?p=u-boot.git;a=blob;f=include/api_public.h 55 */ 56 57#ifndef _API_PUBLIC_H_ 58#define _API_PUBLIC_H_ 59 --- 67 unchanged lines hidden (view full) --- 127#define DEV_TYP_NONE 0x0000 128#define DEV_TYP_NET 0x0001 129 130#define DEV_TYP_STOR 0x0002 131#define DT_STOR_IDE 0x0010 132#define DT_STOR_SCSI 0x0020 133#define DT_STOR_USB 0x0040 134#define DT_STOR_MMC 0x0080 |
135#define DT_STOR_NAND 0x0100 |
|
135 136#define DEV_STA_CLOSED 0x0000 /* invalid, closed */ 137#define DEV_STA_OPEN 0x0001 /* open i.e. active */ 138 139struct device_info { 140 int type; 141 void *cookie; 142 --- 17 unchanged lines hidden --- | 136 137#define DEV_STA_CLOSED 0x0000 /* invalid, closed */ 138#define DEV_STA_OPEN 0x0001 /* open i.e. active */ 139 140struct device_info { 141 int type; 142 void *cookie; 143 --- 17 unchanged lines hidden --- |