Deleted Added
full compact
mcdreg.h (104445) mcdreg.h (126891)
1/*
2 * Copyright 1993 by Holger Veit (data part)
3 * Copyright 1993 by Brian Moore (audio part)
4 * Changes Copyright 1993 by Gary Clark II
5 * All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

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

36 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
37 *
38 * This file contains definitions for some cdrom control commands
39 * and status codes. This info was "inherited" from the DOS MTMCDE.SYS
40 * driver, and is thus not complete (and may even be wrong). Some day
41 * the manufacturer or anyone else might provide better documentation,
42 * so this file (and the driver) will then have a better quality.
43 *
1/*
2 * Copyright 1993 by Holger Veit (data part)
3 * Copyright 1993 by Brian Moore (audio part)
4 * Changes Copyright 1993 by Gary Clark II
5 * All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

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

36 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
37 *
38 * This file contains definitions for some cdrom control commands
39 * and status codes. This info was "inherited" from the DOS MTMCDE.SYS
40 * driver, and is thus not complete (and may even be wrong). Some day
41 * the manufacturer or anyone else might provide better documentation,
42 * so this file (and the driver) will then have a better quality.
43 *
44 * $FreeBSD: head/sys/dev/mcd/mcdreg.h 104445 2002-10-04 07:14:19Z mdodd $
44 * $FreeBSD: head/sys/dev/mcd/mcdreg.h 126891 2004-03-12 21:45:33Z trhodes $
45 */
46
47#ifndef MCD_H
48#define MCD_H
49
45 */
46
47#ifndef MCD_H
48#define MCD_H
49
50#ifdef __GNUC__
51#if __GNUC__ >= 2
50#if defined(__GNUC__) || defined(__INTEL_COMPILER)
51#if __GNUC__ >= 2 || defined(__INTEL_COMPILER)
52#pragma pack(1)
53#endif
54#endif
55
56/* toc */
57#define MCD_MAXTOCS 104 /* from the Linux driver */
58#define MCD_LASTPLUS1 170 /* special toc entry */
59

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

217 u_char sync1[12];
218 u_char header[4];
219 u_char subheader1[4];
220 u_char subheader2[4];
221 u_char data[MCDBLK];
222 u_char ecc_bits[280];
223};
224
52#pragma pack(1)
53#endif
54#endif
55
56/* toc */
57#define MCD_MAXTOCS 104 /* from the Linux driver */
58#define MCD_LASTPLUS1 170 /* special toc entry */
59

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

217 u_char sync1[12];
218 u_char header[4];
219 u_char subheader1[4];
220 u_char subheader2[4];
221 u_char data[MCDBLK];
222 u_char ecc_bits[280];
223};
224
225#ifdef __GNUC__
226#if __GNUC__ >= 2
225#if defined(__GNUC__) || defined(__INTEL_COMPILER)
226#if __GNUC__ >= 2 || defined(__INTEL_COMPILER)
227#pragma pack(4)
228#endif
229#endif
230#endif /* MCD_H */
227#pragma pack(4)
228#endif
229#endif
230#endif /* MCD_H */