mmcbrvar.h (184452) | mmcbrvar.h (234524) |
---|---|
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 184452 2008-10-29 20:01:26Z mav $" | 52 * "$FreeBSD: head/sys/dev/mmc/mmcbrvar.h 234524 2012-04-21 01:51:16Z marius $" |
53 */ 54 55#ifndef DEV_MMC_MMCBRVAR_H 56#define DEV_MMC_MMCBRVAR_H 57 58#include <dev/mmc/bridge.h> | 53 */ 54 55#ifndef DEV_MMC_MMCBRVAR_H 56#define DEV_MMC_MMCBRVAR_H 57 58#include <dev/mmc/bridge.h> |
59#include <dev/mmc/mmcreg.h> |
|
59#include "mmcbr_if.h" 60 61enum mmcbr_device_ivars { 62 MMCBR_IVAR_BUS_MODE, 63 MMCBR_IVAR_BUS_WIDTH, 64 MMCBR_IVAR_CHIP_SELECT, 65 MMCBR_IVAR_CLOCK, 66 MMCBR_IVAR_F_MIN, 67 MMCBR_IVAR_F_MAX, 68 MMCBR_IVAR_HOST_OCR, 69 MMCBR_IVAR_MODE, 70 MMCBR_IVAR_OCR, 71 MMCBR_IVAR_POWER_MODE, 72 MMCBR_IVAR_VDD, 73 MMCBR_IVAR_CAPS, 74 MMCBR_IVAR_TIMING, | 60#include "mmcbr_if.h" 61 62enum mmcbr_device_ivars { 63 MMCBR_IVAR_BUS_MODE, 64 MMCBR_IVAR_BUS_WIDTH, 65 MMCBR_IVAR_CHIP_SELECT, 66 MMCBR_IVAR_CLOCK, 67 MMCBR_IVAR_F_MIN, 68 MMCBR_IVAR_F_MAX, 69 MMCBR_IVAR_HOST_OCR, 70 MMCBR_IVAR_MODE, 71 MMCBR_IVAR_OCR, 72 MMCBR_IVAR_POWER_MODE, 73 MMCBR_IVAR_VDD, 74 MMCBR_IVAR_CAPS, 75 MMCBR_IVAR_TIMING, |
75 MMCBR_IVAR_MAX_DATA, 76// MMCBR_IVAR_, | 76 MMCBR_IVAR_MAX_DATA |
77}; 78 79/* 80 * Simplified accessors for pci devices 81 */ 82#define MMCBR_ACCESSOR(var, ivar, type) \ 83 __BUS_ACCESSOR(mmcbr, var, MMCBR, ivar, type) 84 --- 28 unchanged lines hidden --- | 77}; 78 79/* 80 * Simplified accessors for pci devices 81 */ 82#define MMCBR_ACCESSOR(var, ivar, type) \ 83 __BUS_ACCESSOR(mmcbr, var, MMCBR, ivar, type) 84 --- 28 unchanged lines hidden --- |