Deleted Added
full compact
mmcbrvar.h (170002) mmcbrvar.h (183447)
1/*-
2 * Copyright (c) 2006 Bernd Walter. All rights reserved.
3 * Copyright (c) 2006 M. Warner Losh. 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

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

44 * right of the SD Group, SD-3C LLC, the SD Card Association or any third
45 * parties, which may result from its use. No license is granted by
46 * implication, estoppel or otherwise under any patent or other rights of the
47 * SD Group, SD-3C LLC, the SD Card Association or any third party. Nothing
48 * herein shall be construed as an obligation by the SD Group, the SD-3C LLC
49 * or the SD Card Association to disclose or distribute any technical
50 * information, know-how or other confidential information to any third party.
51 *
1/*-
2 * Copyright (c) 2006 Bernd Walter. All rights reserved.
3 * Copyright (c) 2006 M. Warner Losh. 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

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

44 * right of the SD Group, SD-3C LLC, the SD Card Association or any third
45 * parties, which may result from its use. No license is granted by
46 * implication, estoppel or otherwise under any patent or other rights of the
47 * SD Group, SD-3C LLC, the SD Card Association or any third party. Nothing
48 * herein shall be construed as an obligation by the SD Group, the SD-3C LLC
49 * or the SD Card Association to disclose or distribute any technical
50 * information, know-how or other confidential information to any third party.
51 *
52 * "$FreeBSD: head/sys/dev/mmc/mmcbrvar.h 170002 2007-05-26 05:23:36Z imp $"
52 * "$FreeBSD: head/sys/dev/mmc/mmcbrvar.h 183447 2008-09-28 22:40:11Z imp $"
53 */
54
55#ifndef DEV_MMC_MMCBRVAR_H
56#define DEV_MMC_MMCBRVAR_H
57
58#include <dev/mmc/bridge.h>
59#include "mmcbr_if.h"
60

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

92MMCBR_ACCESSOR(vdd, VDD, int)
93
94static int __inline
95mmcbr_update_ios(device_t dev)
96{
97 return (MMCBR_UPDATE_IOS(device_get_parent(dev), dev));
98}
99
53 */
54
55#ifndef DEV_MMC_MMCBRVAR_H
56#define DEV_MMC_MMCBRVAR_H
57
58#include <dev/mmc/bridge.h>
59#include "mmcbr_if.h"
60

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

92MMCBR_ACCESSOR(vdd, VDD, int)
93
94static int __inline
95mmcbr_update_ios(device_t dev)
96{
97 return (MMCBR_UPDATE_IOS(device_get_parent(dev), dev));
98}
99
100static int __inline
101mmcbr_get_ro(device_t dev)
102{
103 return (MMCBR_GET_RO(device_get_parent(dev), dev));
104}
105
100#endif /* DEV_MMC_MMCBRVAR_H */
106#endif /* DEV_MMC_MMCBRVAR_H */