devicename.c (332154) | devicename.c (344377) |
---|---|
1/*- 2 * Copyright (c) 1998 Michael Smith <msmith@freebsd.org> 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 --- 11 unchanged lines hidden (view full) --- 20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 * SUCH DAMAGE. 25 */ 26 27#include <sys/cdefs.h> | 1/*- 2 * Copyright (c) 1998 Michael Smith <msmith@freebsd.org> 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 --- 11 unchanged lines hidden (view full) --- 20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 * SUCH DAMAGE. 25 */ 26 27#include <sys/cdefs.h> |
28__FBSDID("$FreeBSD: stable/11/stand/ofw/libofw/devicename.c 332154 2018-04-06 21:37:25Z kevans $"); | 28__FBSDID("$FreeBSD: stable/11/stand/ofw/libofw/devicename.c 344377 2019-02-20 19:13:09Z kevans $"); |
29 30#include <stand.h> 31 32#include "bootstrap.h" 33#include "libofw.h" | 29 30#include <stand.h> 31 32#include "bootstrap.h" 33#include "libofw.h" |
34#include "../zfs/libzfs.h" | 34#include "libzfs.h" |
35 36static int ofw_parsedev(struct ofw_devdesc **, const char *, const char **); 37 38/* 39 * Point (dev) at an allocated device specifier for the device matching the 40 * path in (devspec). If it contains an explicit device specification, 41 * use that. If not, use the default device. 42 */ --- 104 unchanged lines hidden --- | 35 36static int ofw_parsedev(struct ofw_devdesc **, const char *, const char **); 37 38/* 39 * Point (dev) at an allocated device specifier for the device matching the 40 * path in (devspec). If it contains an explicit device specification, 41 * use that. If not, use the default device. 42 */ --- 104 unchanged lines hidden --- |