FreeBSD/sys/dev/bhnd/bhndb/bhnd_bhndb.c
/*
 * bhnd(4) driver mix-in providing a shared common methods for
 * bhnd devices attached via a bhndb bridge.
 */
bhnd(4) driver mix-in providing a shared common methods for
bhnd devices attached via a bhndb bridge.
bhnd ( 4 ) driver mix - in providing a shared common methods for bhnd devices attached via a bhndb bridge .
static int
bhnd_bhndb_read_board_info(device_t dev, device_t child,
    struct bhnd_board_info *info)
{
	int	error;
	if ((error = bhnd_bus_generic_read_board_info(dev, child, info)))
		return (error);
	return (BHNDB_POPULATE_BOARD_INFO(device_get_parent(dev), dev, info));
}
static int bhnd_bhndb_read_board_info ( device_t dev , device_t child , struct bhnd_board_info * info ) { int error ; if ( ( error = bhnd_bus_generic_read_board_info ( dev , child , info ) ) ) return ( error ) ; return ( BHNDB_POPULATE_BOARD_INFO ( device_get_parent ( dev ) , dev , info ) ) ; }
bhnd(4) driver mix-in providing a shared common methods for
 bhnd devices attached via a bhndb bridge.
bhnd ( 4 ) driver mix - in providing a shared common methods for bhnd devices attached via a bhndb bridge .
/* Initialize with NVRAM-derived values */ /* Let the bridge fill in any additional data */