Deleted Added
full compact
mmcreg.h (183468) mmcreg.h (183542)
1/*-
2 * Copyright (c) 2006 M. Warner Losh. All rights reserved.
3 *
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions
6 * are met:
7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer.

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

43 * right of the SD Group, SD-3C LLC, the SD Card Association or any third
44 * parties, which may result from its use. No license is granted by
45 * implication, estoppel or otherwise under any patent or other rights of the
46 * SD Group, SD-3C LLC, the SD Card Association or any third party. Nothing
47 * herein shall be construed as an obligation by the SD Group, the SD-3C LLC
48 * or the SD Card Association to disclose or distribute any technical
49 * information, know-how or other confidential information to any third party.
50 *
1/*-
2 * Copyright (c) 2006 M. Warner Losh. All rights reserved.
3 *
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions
6 * are met:
7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer.

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

43 * right of the SD Group, SD-3C LLC, the SD Card Association or any third
44 * parties, which may result from its use. No license is granted by
45 * implication, estoppel or otherwise under any patent or other rights of the
46 * SD Group, SD-3C LLC, the SD Card Association or any third party. Nothing
47 * herein shall be construed as an obligation by the SD Group, the SD-3C LLC
48 * or the SD Card Association to disclose or distribute any technical
49 * information, know-how or other confidential information to any third party.
50 *
51 * $FreeBSD: head/sys/dev/mmc/mmcreg.h 183468 2008-09-29 18:17:23Z imp $
51 * $FreeBSD: head/sys/dev/mmc/mmcreg.h 183542 2008-10-02 07:06:59Z imp $
52 */
53
54#ifndef DEV_MMC_MMCREG_H
55#define DEV_MMC_MMCREG_H
56
57/*
58 * This file contains the register definitions for the mmc and sd busses.
59 * They are taken from publicly available sources.

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

346 read_blk_misalign:1,
347 write_bl_partial:1,
348 write_blk_misalign:1,
349 dsr_imp:1,
350 erase_blk_en:1,
351 wp_grp_enable:1;
352};
353
52 */
53
54#ifndef DEV_MMC_MMCREG_H
55#define DEV_MMC_MMCREG_H
56
57/*
58 * This file contains the register definitions for the mmc and sd busses.
59 * They are taken from publicly available sources.

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

346 read_blk_misalign:1,
347 write_bl_partial:1,
348 write_blk_misalign:1,
349 dsr_imp:1,
350 erase_blk_en:1,
351 wp_grp_enable:1;
352};
353
354/*
355 * Older versions of the MMC standard had a variable sector size. However,
356 * I've been able to find no old MMC or SD cards that have a non 512
357 * byte sector size anywhere, so we assume that such cards are very rare
358 * and only note their existance in passing here...
359 */
360#define MMC_SECTOR_SIZE 512
361
354#endif /* DEV_MMCREG_H */
362#endif /* DEV_MMCREG_H */