bhnd_erom.c (c2c014f24c10f90d85126ac5fbd4d8524de32b1c) bhnd_erom.c (05ed3f9063415c85e3d15f11904bac28e285e9f9)
1/*-
2 * Copyright (c) 2016 Landon Fuller <landonf@FreeBSD.org>
3 * Copyright (c) 2017 The FreeBSD Foundation
4 * All rights reserved.
5 *
6 * Portions of this software were developed by Landon Fuller
7 * under sponsorship from the FreeBSD Foundation.
8 *

--- 384 unchanged lines hidden (view full) ---

393
394 free(eio, M_BHND);
395}
396
397/**
398 * Initialize an I/O instance that will perform mapping directly from the
399 * given bus space tag and handle.
400 *
1/*-
2 * Copyright (c) 2016 Landon Fuller <landonf@FreeBSD.org>
3 * Copyright (c) 2017 The FreeBSD Foundation
4 * All rights reserved.
5 *
6 * Portions of this software were developed by Landon Fuller
7 * under sponsorship from the FreeBSD Foundation.
8 *

--- 384 unchanged lines hidden (view full) ---

393
394 free(eio, M_BHND);
395}
396
397/**
398 * Initialize an I/O instance that will perform mapping directly from the
399 * given bus space tag and handle.
400 *
401 * @param iobus The I/O instance to be initialized.
401 * @param addr The base address mapped by @p bsh.
402 * @param size The total size mapped by @p bsh.
403 * @param bst Bus space tag for @p bsh.
404 * @param bsh Bus space handle mapping the full bus enumeration space.
405 *
406 * @retval 0 success
407 * @retval non-zero if initializing @p iobus otherwise fails, a regular
408 * unix error code will be returned.

--- 78 unchanged lines hidden ---
402 * @param addr The base address mapped by @p bsh.
403 * @param size The total size mapped by @p bsh.
404 * @param bst Bus space tag for @p bsh.
405 * @param bsh Bus space handle mapping the full bus enumeration space.
406 *
407 * @retval 0 success
408 * @retval non-zero if initializing @p iobus otherwise fails, a regular
409 * unix error code will be returned.

--- 78 unchanged lines hidden ---