scdreg.h (106449) | scdreg.h (126891) |
---|---|
1/*- 2 * Copyright (c) 1995 Mikael Hybsch 3 * 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 --- 11 unchanged lines hidden (view full) --- 20 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 21 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 22 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 23 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 24 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 26 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 * | 1/*- 2 * Copyright (c) 1995 Mikael Hybsch 3 * 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 --- 11 unchanged lines hidden (view full) --- 20 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 21 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 22 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 23 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 24 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 26 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 * |
28 * $FreeBSD: head/sys/dev/scd/scdreg.h 106449 2002-11-05 09:37:32Z mdodd $ | 28 * $FreeBSD: head/sys/dev/scd/scdreg.h 126891 2004-03-12 21:45:33Z trhodes $ |
29 * 30 */ 31 32#ifndef SCD_H 33#define SCD_H 34 | 29 * 30 */ 31 32#ifndef SCD_H 33#define SCD_H 34 |
35#ifdef __GNUC__ 36#if __GNUC__ >= 2 | 35#if defined(__GNUC__) || defined(__INTEL_COMPILER) 36#if __GNUC__ >= 2 || defined(__INTEL_COMPILER) |
37#pragma pack(1) 38#endif 39#endif 40 41typedef unsigned char bcd_t; 42#define M_msf(msf) msf[0] 43#define S_msf(msf) msf[1] 44#define F_msf(msf) msf[2] --- 101 unchanged lines hidden --- | 37#pragma pack(1) 38#endif 39#endif 40 41typedef unsigned char bcd_t; 42#define M_msf(msf) msf[0] 43#define S_msf(msf) msf[1] 44#define F_msf(msf) msf[2] --- 101 unchanged lines hidden --- |